Python GDB Wrapper

Daniel Bonekeeper thehazard at gmail.com
Fri Mar 7 02:22:56 EST 2008


On Fri, Mar 7, 2008 at 4:01 AM, Raja <rokkamraja at gmail.com> wrote:
> Hi,
>     I am trying to develop a  a GDB wrapper script in python which is
>  able to extract a stack trace and all relevant data.
>
>  Has anyone does this before ? Even some basic idea or code as to how
>  to proceed would be great.
>
>  Thanks,
>  Raja.
>  --
>  http://mail.python.org/mailman/listinfo/python-list
>

You mean extract the information from core dump files that gdb interprets ?
Check out stuff like ELF, Dwarf 3 (http://dwarf.freestandards.org/)
and gdb sources.

-- 
What this world needs is a good five-dollar plasma weapon.



More information about the Python-list mailing list