From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26743 invoked by alias); 23 Aug 2009 15:34:35 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 26727 invoked by uid 22791); 23 Aug 2009 15:34:34 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sun, 23 Aug 2009 15:34:00 -0000 Message-ID: <36a35d480908230834y46a44e08od4645db444bb5e7a@mail.gmail.com> Subject: [RFC][0/5] Python event handling From: Oguz Kayral To: archer@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2009-q3/txt/msg00148.txt.bz2 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 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: ... (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