From mwd@cert.org Tue Sep 22 07:38:28 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 22 Sep 2009 14:38:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2, OBSCURED_EMAIL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8MEcQfP028325 for ; Tue, 22 Sep 2009 07:38:27 -0700 Received: from mail.gnu.org ([199.232.76.166]:43614 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mq6Vd-0005Nr-85 for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 10:38:26 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mq6VZ-00007e-7K for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 10:38:25 -0400 Received: from euclid.red.cert.org ([192.88.209.48]:65471) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mq6VY-00006s-Iv for emacs-pretest-bug@gnu.org; Tue, 22 Sep 2009 10:38:21 -0400 Received: from villemus.indigo.cert.org (villemus.indigo.cert.org [10.60.10.5]) by euclid.red.cert.org (8.13.8/8.13.8) with ESMTP id n8MEcGXH008365 for ; Tue, 22 Sep 2009 10:38:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cert.org; s=jthatj15xw2j; t=1253630296; bh=uWjyw5fB0dMl859JBimp2bN7mSfVP/VG3mRIgcNLtls=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:Sender:Reply-To:Cc:In-Reply-To: References; b=c2Pqr47fQH5EQwXS/EEi5RzcLitjHjhHDVu7KpOK4buIh2UuYkA+U8FOyIff9YGoZ I2rUDOUkJ1vwSk2kzYPiDC/Zx+CvSonT2JY2D2X0/CTo0M1QRmJfYTYOnV4K8pMOH5 Ew+vPPhCIvGDM3m2LQ+gLzAA6KgjHxFhNaVPHhAU= Received: from maru.green.cert.org (maru.green.cert.org [10.21.10.16]) by villemus.indigo.cert.org (8.12.11.20060308/8.12.11/2.73) with ESMTP id n8MEcGlp020908 for ; Tue, 22 Sep 2009 10:38:16 -0400 Received: (from mwd@localhost) by maru.green.cert.org (8.13.8/8.13.8/Submit/1.6) id n8MEcFOU005691; Tue, 22 Sep 2009 10:38:15 -0400 X-Authentication-Warning: maru.green.cert.org: mwd set sender to mwd@cert.org using -f From: Michael Welsh Duggan To: emacs-pretest-bug@gnu.org Subject: 23.1.50; GDB MI problems: mi_cmd_stack_info_frame: No arguments required Date: Tue, 22 Sep 2009 10:38:15 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: When running gdb via M-x gdb on some code of mine, I end up in a state where it becomes no longer responsive to 'C-c C-s' or 'C-c C-n' commands. More specifically, I started running gdb by typing M-x gdb. Arguments were: gdb -i=3Dmi /home/mwd/bin/rwcut=20 >From here I typed "start --python-file /tmp/foo.py --help", and then stepped through my code using 'C-c C-s' and 'C-c C-n'. At one point, after 'C-c C-n', where a library was being dynamically loaded, I get the following output in my *gdb-rwcut* buffer: [Thread debugging using libthread_db enabled] [New Thread 0xb7f786c0 (LWP 5633)] (gdb) mi_cmd_stack_info_frame: No arguments required At this point, gud no longer syncs with gdb (does not follow along in source files).=20=20 The debug log below contains information up to this point, plus typing 'C-c C-n' once beyond the point where the above erroneous condition begins. gdb information: GNU gdb Fedora (6.8-37.el5) Here is the debug log for gdb-mi: ((recv . "&\"mi_cmd_stack_info_frame: No arguments required\\n\"\n69^error,= msg=3D\"mi_cmd_stack_info_frame: No arguments required\"\n(gdb) \n70^done,B= reakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",ali= gnment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",ali= gnment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",align= ment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignme= nt=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignm= ent=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\",alig= nment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gdb) \n") (send-item "70-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "69-stack-info-frame --thread 1" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"1\",frame= =3D{addr=3D\"0x0804a1a5\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"351\"}\n(gdb) \n68^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "68-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-step 1\n") (recv . "&\"mi_cmd_stack_info_frame: No arguments required\\n\"\n66^error,= msg=3D\"mi_cmd_stack_info_frame: No arguments required\"\n(gdb) \n67^done,B= reakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",ali= gnment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",ali= gnment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",align= ment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignme= nt=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignm= ent=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\",alig= nment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gdb) \n") (send-item "67-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "66-stack-info-frame --thread 1" gdb-frame-handler) (recv . "~\"[New Thread 0xb7fa06c0 (LWP 5570)]\\n\"\n*stopped,reason=3D\"e= nd-stepping-range\",thread-id=3D\"1\",frame=3D{addr=3D\"0x0804a193\",func= =3D\"appSetup\",args=3D[{name=3D\"argc\",value=3D\"4\"},{name=3D\"argv\",va= lue=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/u= sr/mwd/projects/svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"346\= "}\n(gdb) \n65^error,msg=3D\"Undefined mi command: thread-info (missing imp= lementation)\"\n(gdb) \n") (recv . "~\"[Thread debugging using libthread_db enabled]\\n\"\n") (send-item "65-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "63^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a171\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n64^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "64-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "63-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a171\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n62^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "62-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "60^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a193\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n61^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "61-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "60-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a193\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n59^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "59-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "57^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a171\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n58^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "58-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "57-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a171\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n56^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "56-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "54^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a193\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n55^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "55-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "54-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a193\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n53^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "53-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "51^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a171\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n52^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "52-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "51-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a171\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n50^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "50-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "48^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a193\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n49^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "49-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "48-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a193\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n47^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "47-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "45^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a171\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n46^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "46-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "45-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a171\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"347\"}\n(gdb) \n44^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "44-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "42^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a168\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n43^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "43-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "42-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a168\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"346\"}\n(gdb) \n41^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "41-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "39^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a110\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"337\"}\n(gdb) \n40^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "40-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "39-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a110\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"337\"}\n(gdb) \n38^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "38-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "36^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a0e9\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"334\"}\n(gdb) \n37^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "37-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "36-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a0e9\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"334\"}\n(gdb) \n35^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "35-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "33^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a0d5\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"331\"}\n(gdb) \n34^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "34-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "33-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a0d5\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"331\"}\n(gdb) \n32^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "32-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "(gdb) \n29^error,msg=3D\"Undefined mi command: thread-info (missi= ng implementation)\"\n(gdb) \n30^done,frame=3D{level=3D\"0\",addr=3D\"0x080= 4a0cb\",func=3D\"appSetup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.= org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\= "328\"}\n(gdb) \n31^done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\"= ,hdr=3D[{width=3D\"7\",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"= Num\"},{width=3D\"14\",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Ty= pe\"},{width=3D\"4\",alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp= \"},{width=3D\"3\",alignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb= \"},{width=3D\"10\",alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Addre= ss\"},{width=3D\"40\",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What= \"}],body=3D[]}\n(gdb) \n") (send-item "31-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "30-stack-info-frame" gdb-frame-handler) (send-item "29-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n*stopped,reason=3D\"end-stepping-range\",thread= -id=3D\"0\",frame=3D{addr=3D\"0x0804a0cb\",func=3D\"appSetup\",args=3D[{nam= e=3D\"argc\",value=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file= =3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/t= runk/silk/src/rwcut/rwcutsetup.c\",line=3D\"328\"}\n") (mi-send . "-exec-next 1\n") (recv . "27^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a0c4\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"327\"}\n(gdb) \n28^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "28-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "27-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a0c4\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"327\"}\n(gdb) \n26^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "26-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "24^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a0ba\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"326\"}\n(gdb) \n25^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "25-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "24-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a0ba\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"326\"}\n(gdb) \n23^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "23-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "21^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a0ae\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"323\"}\n(gdb) \n22^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "22-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "21-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a0ae\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"323\"}\n(gdb) \n20^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "20-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-next 1\n") (recv . "18^done,frame=3D{level=3D\"0\",addr=3D\"0x0804a0a1\",func=3D\"app= Setup\",file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects= /svn/netsa/trunk/silk/src/rwcut/rwcutsetup.c\",line=3D\"322\"}\n(gdb) \n19^= done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7= \",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14= \",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\"= ,alignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",a= lignment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",= alignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\= ",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gd= b) \n") (send-item "19-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "18-stack-info-frame" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x0804a0a1\",func=3D\"appSetup\",args=3D[{name=3D\"argc\",valu= e=3D\"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcutsetup.c\= ",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcu= t/rwcutsetup.c\",line=3D\"322\"}\n(gdb) \n17^error,msg=3D\"Undefined mi com= mand: thread-info (missing implementation)\"\n(gdb) \n") (send-item "17-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-step 1\n") (recv . "14^done,register-names=3D[\"eax\",\"eax\"]\n(gdb) \n15^done,frame= =3D{level=3D\"0\",addr=3D\"0x08049d7c\",func=3D\"main\",file=3D\"rwcut.c\",= fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcut/= rwcut.c\",line=3D\"243\"}\n(gdb) \n16^done,BreakpointTable=3D{nr_rows=3D\"0= \",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",col_name=3D\"nu= mber\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",col_name=3D\"ty= pe\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_name=3D\"disp= \",colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_name=3D\"enable= d\",colhdr=3D\"Enb\"},{width=3D\"10\",alignment=3D\"-1\",col_name=3D\"addr\= ",colhdr=3D\"Address\"},{width=3D\"40\",alignment=3D\"2\",col_name=3D\"what= \",colhdr=3D\"What\"}],body=3D[]}\n(gdb) \n") (send-item "16-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "15-stack-info-frame" gdb-frame-handler) (send-item "14-data-list-register-names --thread 0" gdb-register-names-han= dler) (recv . "*stopped,reason=3D\"end-stepping-range\",thread-id=3D\"0\",frame= =3D{addr=3D\"0x08049d7c\",func=3D\"main\",args=3D[{name=3D\"argc\",value=3D= \"4\"},{name=3D\"argv\",value=3D\"0xbf91c624\"}],file=3D\"rwcut.c\",fullnam= e=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcut/rwcut.c= \",line=3D\"243\"}\n(gdb) \n13^error,msg=3D\"Undefined mi command: thread-i= nfo (missing implementation)\"\n(gdb) \n") (send-item "13-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n(gdb) \n") (mi-send . "-exec-step 1\n") (recv . "10^done,frame=3D{level=3D\"0\",addr=3D\"0x08049d75\",func=3D\"mai= n\",file=3D\"rwcut.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/nets= a/trunk/silk/src/rwcut/rwcut.c\",line=3D\"240\"}\n(gdb) \n11^error,msg=3D\"= Undefined mi command: thread-info (missing implementation)\"\n(gdb) \n12^do= ne,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\"= ,alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\"= ,alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",a= lignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",ali= gnment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",al= ignment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\",= alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gdb)= \n") (send-item "12-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "11-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (send-item "10-stack-info-frame" gdb-frame-handler) (recv . "~\"240\\t int rv =3D 0;\\n\"\n^done\n(gdb) \n") (recv . "~\"main (argc=3D4, argv=3D0xbf91c624) at rwcut.c:240\\n\"\n") (recv . "~\"Breakpoint 1 at 0x8049d75: file rwcut.c, line 240.\\n\"\n~\"St= arting program: /home/mwd/bin/rwcut --python-file /tmp/foo.py --help\\n\"\n= ") (mi-send . #("start --python-file /tmp/foo.py --help\n" 0 38 (fontified t))) (recv . "~\"GNU gdb Fedora (6.8-37.el5)\\n\"\n~\"Copyright (C) 2008 Free S= oftware Foundation, Inc.\\n\"\n~\"License GPLv3+: GNU GPL version 3 or late= r \\n\"\n~\"This is free software: you ar= e free to change and redistribute it.\\n\"\n~\"There is NO WARRANTY, to the= extent permitted by law. Type \\\"show copying\\\"\\n\"\n~\"and \\\"show = warranty\\\" for details.\\n\"\n~\"This GDB was configured as \\\"i386-redh= at-linux-gnu\\\"...\\n\"\n(gdb) \n1^done\n(gdb) \n2^done\n(gdb) \n&\"No sym= bol \\\"non\\\" in current context.\\n\"\n3^error,msg=3D\"No symbol \\\"non= \\\" in current context.\"\n(gdb) \n4^done,files=3D[{file=3D\"rwcutsetup.c\= "},{file=3D\"rwcutsetup.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn= /netsa/trunk/silk/src/rwcut/rwcutsetup.c\"},{file=3D\"rwcut.c\"},{file=3D\"= rwcut.c\",fullname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/= src/rwcut/rwcut.c\"}]\n(gdb) \n5^done,line=3D\"231\",file=3D\"rwcut.c\",ful= lname=3D\"/afs/cert.org/usr/mwd/projects/svn/netsa/trunk/silk/src/rwcut/rwc= ut.c\",macro-info=3D\"0\"\n(gdb) \n6^done,value=3D\"(gdb) \"\n(gdb) \n&\"No= registers.\\n\"\n7^error,msg=3D\"No registers.\"\n(gdb) \n8^error,msg=3D\"= Undefined mi command: thread-info (missing implementation)\"\n(gdb) \n9^don= e,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",= alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",= alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",al= ignment=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alig= nment=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",ali= gnment=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\",a= lignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gdb) = \n") (send-item "9-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler arg= s)))) (send-item "8-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (send-item "7-stack-info-frame" gdb-frame-handler) (send-item "6-gdb-show prompt" gdb-get-prompt) (send-item "5-file-list-exec-source-file" gdb-get-source-file) (send-item "4-file-list-exec-source-files" gdb-get-source-file-list) (send-item "3-gdb-set non-stop 1" gdb-non-stop-handler) (send-item "2-gdb-set height 0" ignore) (send-item "1-inferior-tty-set /dev/pts/2" ignore)) In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4) of 2009-09-22 on maru.green.cert.org Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--without-toolkit-scroll-bars' '--prefix=3D/h= ome/mwd' '--without-gif'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dnone locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Outline Minor modes in effect: goto-address-mode: t flyspell-mode: t shell-dirtrack-mode: t display-time-mode: t diff-auto-refine-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t view-mode: t Recent input: C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p=20 C-p C-p C-p < C-s d e b u g - l o C-n C-n=20 C-n C-n C-h v g d b - d e b =20 C-s g d b - d e b u g - l o=20 g C-s C-s C-a M-x s e t - v a g d b=20 - d e b =20 e n t C-x o=20 C-x k y e s M-x g d b s=20 t a r t SPC / - - p y t h o n - f i l e=20 SPC / h o m e / m w d / s b i n =20 t m p / p y t h o n . p y =20 f o o . p y SPC - - h e l p =20 C-c C-s C-c C-s C-c C-n C-c C-n C-c C-n C-c C-n C-c=20 C-n C-c C-n C-c C-n C-c C-n C-c C-n C-c C-n C-c C-n=20 C-c C-n C-c C-n C-c C-n C-c C-n C-c C-n =20 C-h v g d b - d e b C-n C-n C-n C-n=20 C-n C-x o C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-v=20 C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v C-v=20 C-v C-v C-v C-v C-x o C-p C-x o C-n C-n C-n C-n C-n=20 C-n C-n C-M-b C-x C-f C-g C-g C-h P=20 q C-h C-p C-x 1 C-s g d b C-s C-s C-s C-a M-x r e p=20 o r t - e m a Recent messages: Switched to thread 0 Command: -exec-next 1 Switched to thread 0 Command: -exec-next 1 Switched to thread 1 Type C-x 1 to delete the help window, C-M-v to scroll help. Don't touch it! It's the History Eraser Button, you fool! [2 times] RET =3D select, =3D select, d =3D to finder directory, q =3D quit= , ? =3D help View mode: type C-h for help, h for commands, M-x View-quit to quit. Mark saved where search started Load-path shadows: /afs/cert.org/usr/mwd/src/elisp/nnir hides /home/mwd/share/emacs/23.1.50/li= sp/gnus/nnir --=20 Michael Welsh Duggan (mwd@cert.org) From nickrob@snap.net.nz Wed Sep 23 03:54:37 2009 Received: (at 4519) by emacsbugs.donarmstrong.com; 23 Sep 2009 10:54:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,FVGT_m_MULTI_ODD, HAS_BUG_NUMBER,IMPRONONCABLE_2,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.25]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8NAsZek008124 for <4519@emacsbugs.donarmstrong.com>; Wed, 23 Sep 2009 03:54:36 -0700 Received: from totara (136.60.255.123.dynamic.snap.net.nz [123.255.60.136]) by viper.snap.net.nz (Postfix) with ESMTP id 738113DA90A; Wed, 23 Sep 2009 22:54:29 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 484D2C167; Wed, 23 Sep 2009 22:54:27 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19129.65123.262702.16487@totara.tehura.co.nz> Date: Wed, 23 Sep 2009 22:54:27 +1200 To: Michael Welsh Duggan , 4519@debbugs.gnu.org Cc: emacs-pretest-bug@gnu.org Subject: bug#4519: 23.1.50; GDB MI problems: mi_cmd_stack_info_frame: No arguments required In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) Michael Welsh Duggan writes: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > When running gdb via M-x gdb on some code of mine, I end up in a state > where it becomes no longer responsive to 'C-c C-s' or 'C-c C-n' > commands. > > More specifically, I started running gdb by typing M-x gdb. Arguments > were: > gdb -i=mi /home/mwd/bin/rwcut > > >From here I typed "start --python-file /tmp/foo.py --help", and then > stepped through my code using 'C-c C-s' and 'C-c C-n'. At one point, > after 'C-c C-n', where a library was being dynamically loaded, I get the > following output in my *gdb-rwcut* buffer: > > [Thread debugging using libthread_db enabled] > [New Thread 0xb7f786c0 (LWP 5633)] > (gdb) mi_cmd_stack_info_frame: No arguments required Does the patch below fix the immediate problem? You appear to be debugging a multi-threaded program with GDB 6.8. The thread buffer won't work in this case as it uses the MI -thread-info command which is part of GDB 7.0. This is due to be released in the next week or so. Emacs 23.1 probably works better with GDB 6.8, at least for multi-threaded applications. -- Nick http://users.snap.net.nz/~nickrob *** gdb-mi.el.~1.49~ 2009-09-18 15:10:58.000000000 +1200 --- gdb-mi.el 2009-09-23 22:53:36.000000000 +1200 *************** Emacs can't find.") *** 218,223 **** --- 218,224 ---- (defvar gdb-source-window nil) (defvar gdb-inferior-status nil) (defvar gdb-continuation nil) + (defvar gdb-version nil) (defvar gdb-filter-output nil "Message to be shown in GUD console. *************** If NOALL is t, always add --thread optio *** 571,579 **** When `gdb-non-stop' is nil, return COMMAND unchanged." (if gdb-non-stop (if (and gdb-gud-control-all-threads ! (not noall)) (concat command " --all ") ! (gdb-current-context-command command t)) command)) (defmacro gdb-gud-context-call (cmd1 &optional cmd2 noall noarg) --- 572,581 ---- When `gdb-non-stop' is nil, return COMMAND unchanged." (if gdb-non-stop (if (and gdb-gud-control-all-threads ! (not noall) ! (string-equal gdb-version "7.0+")) (concat command " --all ") ! (gdb-current-context-command command)) command)) (defmacro gdb-gud-context-call (cmd1 &optional cmd2 noall noarg) *************** detailed description of this mode. *** 820,826 **** (if (re-search-forward "No symbol" nil t) (progn (message "This version of GDB doesn't support non-stop mode. Turning it off.") ! (setq gdb-non-stop nil)) (gdb-input (list "-gdb-set target-async 1" 'ignore)) (gdb-input (list "-enable-pretty-printing" 'ignore)))) --- 822,830 ---- (if (re-search-forward "No symbol" nil t) (progn (message "This version of GDB doesn't support non-stop mode. Turning it off.") ! (setq gdb-non-stop nil) ! (setq gdb-version "pre-7.0")) ! (setq gdb-version "7.0+") (gdb-input (list "-gdb-set target-async 1" 'ignore)) (gdb-input (list "-enable-pretty-printing" 'ignore)))) *************** static char *magick[] = { *** 1629,1644 **** (concat (car item) "\n"))) ;; NOFRAME is used for gud execution control commands ! (defun gdb-current-context-command (command &optional noframe) ! "Add --thread and --frame options to gdb COMMAND. ! ! Option values are taken from `gdb-thread-number' and ! `gdb-frame-number'. If `gdb-thread-number' is nil, COMMAND is ! returned unchanged. If `gdb-frame-number' is nil of NOFRAME is t, ! then no --frame option is added." ! ;; gdb-frame-number may be nil while gdb-thread-number is non-nil ! ;; (when current thread is running) ! (if gdb-thread-number (concat command " --thread " gdb-thread-number) command)) --- 1633,1642 ---- (concat (car item) "\n"))) ;; NOFRAME is used for gud execution control commands ! (defun gdb-current-context-command (command) ! "Add --thread to gdb COMMAND when needed." ! (if (and gdb-thread-number ! (string-equal gdb-version "7.0+")) (concat command " --thread " gdb-thread-number) command)) *************** current thread and update GDB buffers." *** 1920,1926 **** ;; thread (when (not gdb-register-names) (gdb-input ! (list (concat "-data-list-register-names --thread " thread-id) 'gdb-register-names-handler))) ;;; Don't set gud-last-frame here as it's currently done in gdb-frame-handler --- 1918,1926 ---- ;; thread (when (not gdb-register-names) (gdb-input ! (list (concat "-data-list-register-names" ! (if (string-equal gdb-version "7.0+") ! (concat" --thread " thread-id))) 'gdb-register-names-handler))) ;;; Don't set gud-last-frame here as it's currently done in gdb-frame-handler *************** corresponding to the mode line clicked." *** 2565,2571 **** "Display GDB threads in a new frame.") (def-gdb-trigger-and-handler ! gdb-invalidate-threads (gdb-current-context-command "-thread-info" gud-running) gdb-thread-list-handler gdb-thread-list-handler-custom '(start update update-threads)) --- 2565,2571 ---- "Display GDB threads in a new frame.") (def-gdb-trigger-and-handler ! gdb-invalidate-threads (gdb-current-context-command "-thread-info") gdb-thread-list-handler gdb-thread-list-handler-custom '(start update update-threads)) From mwd@cert.org Wed Sep 23 09:45:14 2009 Received: (at 4519) by emacsbugs.donarmstrong.com; 23 Sep 2009 16:45:15 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from upton.red.cert.org (upton.red.cert.org [192.88.209.60]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8NGjCQi000877 for <4519@emacsbugs.donarmstrong.com>; Wed, 23 Sep 2009 09:45:14 -0700 Received: from villemus.indigo.cert.org (villemus.indigo.cert.org [10.60.10.5]) by upton.red.cert.org (8.13.8/8.13.8) with ESMTP id n8NGj6hs027680; Wed, 23 Sep 2009 12:45:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cert.org; s=jthatj15xw2j; t=1253724307; bh=XZeCpqgNapY/XjC0RtNjFFRK+GEqPStvmK2sR5PmPjM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type:Sender:Reply-To; b=I84++gxKI5rvcEeigqldjqH6ClwCR2WxWakkcKSBST6m8pptk1KHIQQo/IJFRQP0l UBAzQzKZp98q2fpMepQw3YEcAlYmFGIWHDavTsYEZJ24kLFj+V3LAJa8nkiznbOFsF 8q+TqCLzdNgF7ExQQCZnLu6SBvNzPJ0Y8dA/LYgM= Received: from maru.green.cert.org (maru.green.cert.org [10.21.10.16]) by villemus.indigo.cert.org (8.12.11.20060308/8.12.11/2.74) with ESMTP id n8NGj6Wu003603; Wed, 23 Sep 2009 12:45:06 -0400 Received: (from mwd@localhost) by maru.green.cert.org (8.13.8/8.13.8/Submit/1.6) id n8NGj6Se024883; Wed, 23 Sep 2009 12:45:06 -0400 X-Authentication-Warning: maru.green.cert.org: mwd set sender to mwd@cert.org using -f From: Michael Welsh Duggan To: Nick Roberts Cc: "4519\@debbugs.gnu.org" <4519@debbugs.gnu.org> Subject: Re: bug#4519: 23.1.50; GDB MI problems: mi_cmd_stack_info_frame: No arguments required References: <19129.65123.262702.16487@totara.tehura.co.nz> Date: Wed, 23 Sep 2009 12:45:06 -0400 In-Reply-To: <19129.65123.262702.16487@totara.tehura.co.nz> (Nick Roberts's message of "Wed, 23 Sep 2009 06:54:27 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Nick Roberts writes: [...] > Does the patch below fix the immediate problem? It does. Thank you. -- Michael Welsh Duggan (mwd@cert.org) From nickrob@snap.net.nz Wed Sep 23 16:25:27 2009 Received: (at 4519) by emacsbugs.donarmstrong.com; 23 Sep 2009 23:25:28 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from viper.snap.net.nz (viper.snap.net.nz [202.37.101.25]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8NNPPX6007077 for <4519@emacsbugs.donarmstrong.com>; Wed, 23 Sep 2009 16:25:27 -0700 Received: from totara (134.62.255.123.dynamic.snap.net.nz [123.255.62.134]) by viper.snap.net.nz (Postfix) with ESMTP id 15F603DA8BA; Thu, 24 Sep 2009 11:25:25 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id EE39EC167; Thu, 24 Sep 2009 11:25:23 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19130.44643.845617.81682@totara.tehura.co.nz> Date: Thu, 24 Sep 2009 11:25:23 +1200 To: Michael Welsh Duggan Cc: "4519-done@debbugs.gnu.org" <4519@debbugs.gnu.org> Subject: Re: bug#4519: 23.1.50; GDB MI problems: mi_cmd_stack_info_frame: No arguments required In-Reply-To: References: <19129.65123.262702.16487@totara.tehura.co.nz> X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) > > Does the patch below fix the immediate problem? > > It does. Thank you. OK, I've committed this change and closed the report. Please do report any further bugs you see. That way this mode will become much better than the previous one. Thanks, Nick From rgm@gnu.org Fri Oct 2 17:15:07 2009 Received: (at control) by emacsbugs.donarmstrong.com; 3 Oct 2009 00:15:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n930F5Nc028519 for ; Fri, 2 Oct 2009 17:15:06 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MtsHB-0002df-2y; Fri, 02 Oct 2009 20:15:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19142.38793.26660.496725@fencepost.gnu.org> Date: Fri, 2 Oct 2009 20:15:05 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: yellow X-Ran: `1HVlPAe]oX58p&Mww>"vcHF148BX1RE=klf?{tlYoKADa1BE*zv Subject: Internal Control Message-Id: bug archived. Date: Sat, 31 Oct 2009 14:24:12 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator