Message248671
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. |
|
Date |
User |
Action |
Args |
2015-08-16 00:32:37 | chaselton | set | recipients:
+ chaselton, r.david.murray, freakboy3742, ethan.furman, refi64, mpaolini, tritium |
2015-08-16 00:32:36 | chaselton | set | messageid: <1439685156.91.0.485018289756.issue23496@psf.upfronthosting.co.za> |
2015-08-16 00:32:36 | chaselton | link | issue23496 messages |
2015-08-16 00:32:34 | chaselton | create | |
|