Author chaselton
Recipients chaselton, ethan.furman, freakboy3742, mpaolini, r.david.murray, refi64, tritium
Date 2015-08-16.00:32:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439685156.91.0.485018289756.issue23496@psf.upfronthosting.co.za>
In-reply-to
Content
I thought porting gdb would be the difficult part of getting debug info. I was so wrong.

Here is what I have so far, after lengthy consultation of the gdb manual.  Bear with me...it's basically a copy & paste of gdb session output:

(gdb) run
Starting program: /bld/pyt/cpython-android/python
setpgrp failed in child: No such process
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

Program received signal SIGILL, Illegal instruction.
0xb6a63cc8 in ?? ()
(gdb) f
#0  0xb6a63cc8 in ?? ()
(gdb) info f
Stack level 0, frame at 0xbefff618:
 pc = 0xb6a63cc8; saved pc = 0xb6a5feb0
 called by frame at 0xbefff618
 Arglist at 0xbefff618, args:
 Locals at 0xbefff618, Previous frame's sp is 0xbefff618
(gdb) info args
No symbol table info available.
(gdb) info local
No symbol table info available.
(gdb) info source
Current source file is ./Modules/python.c
Compilation directory is /bld/pyt/cpython-android
Located in /bld/pyt/cpython-android/Modules/python.c
Contains 80 lines.
Source language is c.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
History
Date User Action Args
2015-08-16 00:32:37chaseltonsetrecipients: + chaselton, r.david.murray, freakboy3742, ethan.furman, refi64, mpaolini, tritium
2015-08-16 00:32:36chaseltonsetmessageid: <1439685156.91.0.485018289756.issue23496@psf.upfronthosting.co.za>
2015-08-16 00:32:36chaseltonlinkissue23496 messages
2015-08-16 00:32:34chaseltoncreate