This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC][0/5] Python event handling


Hi,
This patch series adds inferior event handling support to GDB Python
scripting. The work is based on archer-tromey-python branch.

An example gdb session:

gsoc-gdb/install/bin/gdb ./simple
GNU gdb (GDB) 6.8.50.20090717-cvs
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) require command check_segfault
(gdb) start
Temporary breakpoint 1 at 0x80483a5: file simple.c, line 7.
Starting program: /home/oguz/simple

Temporary breakpoint 1, main () at simple.c:7
7	    *p = simple();
(gdb) check_segfault
SIGSEGV handler registered.
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x080483af in main () at simple.c:7
7	    *p = simple();
event type : stop
stop reason: signal
stop signal: SIGSEGV
#0  0x080483af in main () at simple.c:7


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]