From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs,gmane.spam.detected Subject: bug#5076: 23.1.50; gdb weird breakpoint problem Date: Sun, 29 Nov 2009 23:16:31 -0500 Message-ID: <87k4x81wbk.fsf@maru.md5i.com> Reply-To: Michael Welsh Duggan , 5076@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1259555277 32664 80.91.229.12 (30 Nov 2009 04:27:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 04:27:57 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 30 05:27:50 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NExrQ-0000D6-6I for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Nov 2009 05:27:50 +0100 Original-Received: from localhost ([127.0.0.1]:48584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NExrP-0002Ea-Dt for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2009 23:27:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NExrI-0002E5-Ru for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 23:27:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NExrE-0002Dc-5Q for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 23:27:32 -0500 Original-Received: from [199.232.76.173] (port=35491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NExrD-0002DZ-V6 for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 23:27:28 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60727) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NExrC-0004sg-44 for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 23:27:27 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAU4RNmv023789; Sun, 29 Nov 2009 20:27:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAU4KEOG023099; Sun, 29 Nov 2009 20:20:14 -0800 Resent-Date: Sun, 29 Nov 2009 20:20:14 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Welsh Duggan Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 30 Nov 2009 04:20:12 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5076 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125955460822931 (code B ref -1); Mon, 30 Nov 2009 04:20:12 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2009 04:16:48 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 nAU4Gj2G022928 for ; Sun, 29 Nov 2009 20:16:46 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:46716) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NExgq-0005aJ-C0 for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:16:44 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NExgm-0003bG-Nr for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:16:44 -0500 Original-Received: from md5i.com ([75.151.244.229]:56015 helo=maru.md5i.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NExgk-0003aw-0S for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:16:40 -0500 Original-Received: from md5i by maru.md5i.com with local (Exim 4.69) (envelope-from ) id 1NExgd-0005nh-8K for emacs-pretest-bug@gnu.org; Sun, 29 Nov 2009 23:16:31 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 29 Nov 2009 23:27:32 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-Spam-Report: 5.5 points; * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -0.0 SPF_PASS SPF: sender matches SPF record * 3.2 OBSCURED_EMAIL BODY: Message seems to contain rot13ed address * 2.3 LONGWORDS Long string of long words Xref: news.gmane.org gmane.emacs.bugs:33051 gmane.spam.detected:4496915 Archived-At: --=-=-= Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Compile the following program using gcc -g -o bar bar.c --=-=-= Content-Type: text/x-csrc Content-Disposition: inline; filename=bar.c int main() { int a = 4; int b = 5; int c = a++ * b; int d = ++a * b; return d; } --=-=-= Start gdb on the resulting progam bar. An example (modify to suit location): M-x gdb RET C-a C-k gdb -i=mi bar RET Use the following gdb session: start n n n n n n n n start Here is what the output is for me: --=-=-= Content-Disposition: inline Current directory is /usr/local/home/md5i/ GNU gdb (GDB) 7.0-debian 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 "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/home/md5i/bar...done. (gdb) start Temporary breakpoint 1 at 0x80483a5: file bar.c, line 2. Starting program: /usr/local/home/md5i/bar (gdb) n (gdb) n (gdb) n (gdb) n (gdb) n (gdb) n (gdb) n (gdb) n The program is not being run. (gdb) start Temporary breakpoint 2 at 0x80483a5: file bar.c, line 2. Starting program: /usr/local/home/md5i/bar Error in re-setting breakpoint 2: Warning: Cannot insert breakpoint -44. Error accessing memory address 0xb7ea56c0: Input/output error. Warning: Cannot insert breakpoint -44. Error accessing memory address 0xb7ea56c0: Input/output error. --=-=-= Here is the gdb-debug-log for this session: --=-=-= Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ((recv . "40^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22176\",fram= e=3D{level=3D\"0\",addr=3D\"0xb7fe2850\",func=3D\"_start\",args=3D[],from= =3D\"/lib/ld-linux.so.2\"},state=3D\"stopped\"}],current-thread-id=3D\"1\"\= n(gdb) \n41^done,frame=3D{level=3D\"0\",addr=3D\"0xb7fe2850\",func=3D\"_sta= rt\",from=3D\"/lib/ld-linux.so.2\"}\n(gdb) \n42^done,BreakpointTable=3D{nr_= rows=3D\"1\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",col_n= ame=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",col_n= ame=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_nam= e=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_nam= e=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\",alignment=3D\"2\",col_na= me=3D\"what\",colhdr=3D\"What\"}],body=3D[bkpt=3D{number=3D\"2\",type=3D\"b= reakpoint\",disp=3D\"del\",enabled=3D\"y\",addr=3D\"0x080483a5\",func=3D\"m= ain\",file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"2= \",times=3D\"0\",original-location=3D\"main\"}]}\n(gdb) \n") (send-item "42-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "41-stack-info-frame" gdb-frame-handler) (recv . "&\"Error in re-setting breakpoint 2: Warning:\\n\"\n&\"Cannot ins= ert breakpoint -44.\\n\"\n&\"Error accessing memory address 0xb7ea56c0: Inp= ut/output error.\\n\"\n&\"\\n\"\n&\"Warning:\\n\"\n&\"Cannot insert breakpo= int -44.\\n\"\n&\"Error accessing memory address 0xb7ea56c0: Input/output e= rror.\\n\"\n&\"\\n\"\n^error,msg=3D\"Warning:\\nCannot insert breakpoint -4= 4.\\nError accessing memory address 0xb7ea56c0: Input/output error.\\n\"\n(= gdb) \n") (send-item "40-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "=3Dlibrary-unloaded,id=3D\"/lib/ld-linux.so.2\",target-name=3D\"/= lib/ld-linux.so.2\",host-name=3D\"/lib/ld-linux.so.2\"\n=3Dlibrary-unloaded= ,id=3D\"/lib/i686/cmov/libc.so.6\",target-name=3D\"/lib/i686/cmov/libc.so.6= \",host-name=3D\"/lib/i686/cmov/libc.so.6\"\n~\"Temporary breakpoint 2 at 0= x80483a5: file bar.c, line 2.\\n\"\n~\"Starting program: /usr/local/home/md= 5i/bar \\n\"\n=3Dthread-group-created,id=3D\"22176\"\n=3Dthread-created,id= =3D\"1\",group-id=3D\"22176\"\n^running\n*running,thread-id=3D\"all\"\n=3Dl= ibrary-loaded,id=3D\"/lib/ld-linux.so.2\",target-name=3D\"/lib/ld-linux.so.= 2\",host-name=3D\"/lib/ld-linux.so.2\",symbols-loaded=3D\"0\"\n") (mi-send . #("start\n" 0 5 (fontified t))) (recv . "37^error,msg=3D\"No registers.\"\n(gdb) \n38^done,threads=3D[]\n(= gdb) \n39^done,BreakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{w= idth=3D\"7\",alignment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{wi= dth=3D\"14\",alignment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{wid= th=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\"Address\"},{wid= th=3D\"40\",alignment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body= =3D[]}\n(gdb) \n") (send-item "39-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "38-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (send-item "37-stack-info-frame" gdb-frame-handler) (recv . "&\"The program is not being run.\\n\"\n^error,msg=3D\"The program= is not being run.\"\n(gdb) \n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "34^error,msg=3D\"Thread id: 1 has terminated\"\n(gdb) \n35^error,= msg=3D\"No registers.\"\n(gdb) \n36^done,BreakpointTable=3D{nr_rows=3D\"0\"= ,nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",col_name=3D\"numb= er\",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\",alignment=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(gdb) \n") (send-item "36-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "35-stack-info-frame" gdb-frame-handler) (send-item "34-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n=3Dthread-exited,id= =3D\"1\",group-id=3D\"22163\"\n=3Dthread-group-exited,id=3D\"22163\"\n*stop= ped,reason=3D\"exited\",exit-code=3D\"036\"\n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "32^done,frame=3D{level=3D\"0\",addr=3D\"0xb7e91b55\",func=3D\"__l= ibc_start_main\",file=3D\"libc-start.c\",line=3D\"254\"}\n(gdb) \n33^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 "33-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "32-stack-info-frame --thread 1" gdb-frame-handler) (recv . "*stopped,reason=3D\"end-stepping-range\",frame=3D{addr=3D\"0xb7e9= 1b55\",func=3D\"__libc_start_main\",args=3D[{name=3D\"main\",value=3D\"0x80= 48394
\"},{name=3D\"argc\",value=3D\"1\"},{name=3D\"ubp_av\",value=3D= \"0xbffff434\"},{name=3D\"init\",value=3D\"0x80483f0 <__libc_csu_init>\"},{= name=3D\"fini\",value=3D\"0x80483e0 <__libc_csu_fini>\"},{name=3D\"rtld_fin= i\",value=3D\"0xb7ff0980 <_dl_fini>\"},{name=3D\"stack_end\",value=3D\"0xbf= fff42c\"}],file=3D\"libc-start.c\",line=3D\"254\"},thread-id=3D\"1\",stoppe= d-threads=3D[\"1\"]\n31^done,threads=3D[{id=3D\"1\",target-id=3D\"process 2= 2163\",frame=3D{level=3D\"0\",addr=3D\"0xb7e91b55\",func=3D\"__libc_start_m= ain\",args=3D[{name=3D\"main\",value=3D\"0x8048394
\"},{name=3D\"argc= \",value=3D\"1\"},{name=3D\"ubp_av\",value=3D\"0xbffff434\"},{name=3D\"init= \",value=3D\"0x80483f0 <__libc_csu_init>\"},{name=3D\"fini\",value=3D\"0x80= 483e0 <__libc_csu_fini>\"},{name=3D\"rtld_fini\",value=3D\"0xb7ff0980 <_dl_= fini>\"},{name=3D\"stack_end\",value=3D\"0xbffff42c\"}],file=3D\"libc-start= .c\",line=3D\"254\"},state=3D\"stopped\"}],current-thread-id=3D\"1\"\n(gdb)= \n") (send-item "31-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "28^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22163\",fram= e=3D{level=3D\"0\",addr=3D\"0x080483d2\",func=3D\"main\",args=3D[],file=3D\= "bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"9\"},state=3D\"= stopped\"}],current-thread-id=3D\"1\"\n(gdb) \n29^done,frame=3D{level=3D\"0= \",addr=3D\"0x080483d2\",func=3D\"main\",file=3D\"bar.c\",fullname=3D\"/usr= /local/home/md5i/bar.c\",line=3D\"9\"}\n(gdb) \n30^done,BreakpointTable=3D{= nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",co= l_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",co= l_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_= name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_na= me=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignment=3D\"-1\",col_n= ame=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 "30-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "29-stack-info-frame --thread 1" gdb-frame-handler) (send-item "28-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n*stopped,reason=3D\= "end-stepping-range\",frame=3D{addr=3D\"0x080483d2\",func=3D\"main\",args= =3D[],file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"9= \"},thread-id=3D\"1\",stopped-threads=3D[\"1\"]\n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "25^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22163\",fram= e=3D{level=3D\"0\",addr=3D\"0x080483cf\",func=3D\"main\",args=3D[],file=3D\= "bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"8\"},state=3D\"= stopped\"}],current-thread-id=3D\"1\"\n(gdb) \n26^done,frame=3D{level=3D\"0= \",addr=3D\"0x080483cf\",func=3D\"main\",file=3D\"bar.c\",fullname=3D\"/usr= /local/home/md5i/bar.c\",line=3D\"8\"}\n(gdb) \n27^done,BreakpointTable=3D{= nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",co= l_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",co= l_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_= name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_na= me=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignment=3D\"-1\",col_n= ame=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 "27-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "26-stack-info-frame --thread 1" gdb-frame-handler) (send-item "25-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n*stopped,reason=3D\= "end-stepping-range\",frame=3D{addr=3D\"0x080483cf\",func=3D\"main\",args= =3D[],file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"8= \"},thread-id=3D\"1\",stopped-threads=3D[\"1\"]\n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "22^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22163\",fram= e=3D{level=3D\"0\",addr=3D\"0x080483c1\",func=3D\"main\",args=3D[],file=3D\= "bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"6\"},state=3D\"= stopped\"}],current-thread-id=3D\"1\"\n(gdb) \n23^done,frame=3D{level=3D\"0= \",addr=3D\"0x080483c1\",func=3D\"main\",file=3D\"bar.c\",fullname=3D\"/usr= /local/home/md5i/bar.c\",line=3D\"6\"}\n(gdb) \n24^done,BreakpointTable=3D{= nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",co= l_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",co= l_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_= name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_na= me=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignment=3D\"-1\",col_n= ame=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 "24-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "23-stack-info-frame --thread 1" gdb-frame-handler) (send-item "22-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n*stopped,reason=3D\= "end-stepping-range\",frame=3D{addr=3D\"0x080483c1\",func=3D\"main\",args= =3D[],file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"6= \"},thread-id=3D\"1\",stopped-threads=3D[\"1\"]\n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "19^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22163\",fram= e=3D{level=3D\"0\",addr=3D\"0x080483b3\",func=3D\"main\",args=3D[],file=3D\= "bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"5\"},state=3D\"= stopped\"}],current-thread-id=3D\"1\"\n(gdb) \n20^done,frame=3D{level=3D\"0= \",addr=3D\"0x080483b3\",func=3D\"main\",file=3D\"bar.c\",fullname=3D\"/usr= /local/home/md5i/bar.c\",line=3D\"5\"}\n(gdb) \n21^done,BreakpointTable=3D{= nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",co= l_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",co= l_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_= name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_na= me=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignment=3D\"-1\",col_n= ame=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 "21-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "20-stack-info-frame --thread 1" gdb-frame-handler) (send-item "19-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n*stopped,reason=3D\= "end-stepping-range\",frame=3D{addr=3D\"0x080483b3\",func=3D\"main\",args= =3D[],file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"5= \"},thread-id=3D\"1\",stopped-threads=3D[\"1\"]\n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "16^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22163\",fram= e=3D{level=3D\"0\",addr=3D\"0x080483ac\",func=3D\"main\",args=3D[],file=3D\= "bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"3\"},state=3D\"= stopped\"}],current-thread-id=3D\"1\"\n(gdb) \n17^done,frame=3D{level=3D\"0= \",addr=3D\"0x080483ac\",func=3D\"main\",file=3D\"bar.c\",fullname=3D\"/usr= /local/home/md5i/bar.c\",line=3D\"3\"}\n(gdb) \n18^done,BreakpointTable=3D{= nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alignment=3D\"-1\",co= l_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alignment=3D\"-1\",co= l_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignment=3D\"-1\",col_= name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignment=3D\"-1\",col_na= me=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignment=3D\"-1\",col_n= ame=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 "18-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "17-stack-info-frame --thread 1" gdb-frame-handler) (send-item "16-thread-info --thread 1" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "^running\n*running,thread-id=3D\"1\"\n(gdb) \n*stopped,reason=3D\= "end-stepping-range\",frame=3D{addr=3D\"0x080483ac\",func=3D\"main\",args= =3D[],file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"3= \"},thread-id=3D\"1\",stopped-threads=3D[\"1\"]\n") (mi-send . #("n\n" 0 1 (fontified t))) (recv . "13^done,register-names=3D[\"eax\",\"ecx\",\"edx\",\"ebx\",\"esp\"= ,\"ebp\",\"esi\",\"edi\",\"eip\",\"eflags\",\"cs\",\"ss\",\"ds\",\"es\",\"f= s\",\"gs\",\"st0\",\"st1\",\"st2\",\"st3\",\"st4\",\"st5\",\"st6\",\"st7\",= \"fctrl\",\"fstat\",\"ftag\",\"fiseg\",\"fioff\",\"foseg\",\"fooff\",\"fop\= ",\"xmm0\",\"xmm1\",\"xmm2\",\"xmm3\",\"xmm4\",\"xmm5\",\"xmm6\",\"xmm7\",\= "mxcsr\",\"orig_eax\",\"mm0\",\"mm1\",\"mm2\",\"mm3\",\"mm4\",\"mm5\",\"mm6= \",\"mm7\"]\n(gdb) \n14^done,frame=3D{level=3D\"0\",addr=3D\"0x080483a5\",f= unc=3D\"main\",file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",l= ine=3D\"2\"}\n(gdb) \n15^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\",alignment=3D\"-1\",col_name=3D\"enabled\",colhd= r=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\",colhd= r=3D\"What\"}],body=3D[]}\n(gdb) \n") (recv . "12^done,threads=3D[{id=3D\"1\",target-id=3D\"process 22163\",fram= e=3D{level=3D\"0\",addr=3D\"0x080483a5\",func=3D\"main\",args=3D[],file=3D\= "bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"2\"},state=3D\"= stopped\"}],current-thread-id=3D\"1\"\n(gdb) \n") (send-item "15-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (send-item "14-stack-info-frame --thread 1" gdb-frame-handler) (send-item "13-data-list-register-names --thread 1" gdb-register-names-han= dler) (recv . "*stopped,reason=3D\"breakpoint-hit\",disp=3D\"del\",bkptno=3D\"1\= ",frame=3D{addr=3D\"0x080483a5\",func=3D\"main\",args=3D[],file=3D\"bar.c\"= ,fullname=3D\"/usr/local/home/md5i/bar.c\",line=3D\"2\"},thread-id=3D\"1\",= stopped-threads=3D[\"1\"]\n") (recv . "(gdb) \n=3Dlibrary-loaded,id=3D\"/lib/i686/cmov/libc.so.6\",targe= t-name=3D\"/lib/i686/cmov/libc.so.6\",host-name=3D\"/lib/i686/cmov/libc.so.= 6\",symbols-loaded=3D\"0\"\n") (recv . "=3Dlibrary-loaded,id=3D\"/lib/ld-linux.so.2\",target-name=3D\"/li= b/ld-linux.so.2\",host-name=3D\"/lib/ld-linux.so.2\",symbols-loaded=3D\"0\"= \n") (send-item "12-thread-info" (lambda (&rest args) (with-current-buffer # (apply 'gdb-thread-list-handler args)))) (recv . "~\"Temporary breakpoint 1 at 0x80483a5: file bar.c, line 2.\\n\"\= n~\"Starting program: /usr/local/home/md5i/bar \\n\"\n=3Dthread-group-creat= ed,id=3D\"22163\"\n=3Dthread-created,id=3D\"1\",group-id=3D\"22163\"\n^runn= ing\n*running,thread-id=3D\"all\"\n") (mi-send . #("start\n" 0 5 (fontified t))) (recv . "10^done\n(gdb) \n11^done\n(gdb) \n") (send-item "11-enable-pretty-printing" ignore) (send-item "10-gdb-set target-async 1" ignore) (recv . "~\"done.\\n\"\n(gdb) \n1^done\n(gdb) \n2^done\n(gdb) \n3^done\n(g= db) \n4^done,files=3D[{file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/b= ar.c\"},{file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/bar.c\"}]\n(gdb= ) \n5^done,line=3D\"1\",file=3D\"bar.c\",fullname=3D\"/usr/local/home/md5i/= bar.c\",macro-info=3D\"0\"\n(gdb) \n6^done,value=3D\"(gdb) \"\n(gdb) \n7^er= ror,msg=3D\"No registers.\"\n(gdb) \n8^done,threads=3D[]\n(gdb) \n9^done,Br= eakpointTable=3D{nr_rows=3D\"0\",nr_cols=3D\"6\",hdr=3D[{width=3D\"7\",alig= nment=3D\"-1\",col_name=3D\"number\",colhdr=3D\"Num\"},{width=3D\"14\",alig= nment=3D\"-1\",col_name=3D\"type\",colhdr=3D\"Type\"},{width=3D\"4\",alignm= ent=3D\"-1\",col_name=3D\"disp\",colhdr=3D\"Disp\"},{width=3D\"3\",alignmen= t=3D\"-1\",col_name=3D\"enabled\",colhdr=3D\"Enb\"},{width=3D\"10\",alignme= nt=3D\"-1\",col_name=3D\"addr\",colhdr=3D\"Address\"},{width=3D\"40\",align= ment=3D\"2\",col_name=3D\"what\",colhdr=3D\"What\"}],body=3D[]}\n(gdb) \n") (recv . "~\"GNU gdb (GDB) 7.0-debian\\n\"\n~\"Copyright (C) 2009 Free Soft= ware Foundation, Inc.\\n\"\n~\"License GPLv3+: GNU GPL version 3 or later <= http://gnu.org/licenses/gpl.html>\\n\"\n~\"This is free software: you are f= ree to change and redistribute it.\\n\"\n~\"There is NO WARRANTY, to the ex= tent permitted by law. Type \\\"show copying\\\"\\n\"\n~\"and \\\"show war= ranty\\\" for details.\\n\"\n~\"This GDB was configured as \\\"i486-linux-g= nu\\\".\\n\"\n~\"For bug reporting instructions, please see:\\n\"\n~\"...\\n\"\n~\"Reading symbols from /usr/lo= cal/home/md5i/bar...\"\n") (send-item "9-break-list" (lambda (&rest args) (with-current-buffer # (apply 'gdb-breakpoints-list-handler args)))) (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/14" ignore)) --=-=-= In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-27 on maru Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--without-toolkit-scroll-bars'' 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.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Summary Minor modes in effect: display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-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 Recent input: C-n C-n C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f C-f M-b M-b M-f C-f M-d C-d C-M-f C-k C-k ) C-n M-b M-f g d b - s e l M-/ M-/ C-e C-M-b C-M-f C-n C-a C-k C-k C-x C-s C-x 1 C-M-x M-x g d b / u s l o c M-p M-n C-e b i l i l y p o n d b SPC m a i n _ w i C-_ C-x 4 b C-r ( w i t h - c u t r r r t r r e t C-s C-s C-s C-s C-s C-a C-x C-f g u d C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-M-x C-x o C-e r u n SPC C-c C-n C-c C-n C-c C-n C-c C-n C-c C-n C-c C-s C-c C-n f C-c C-y C-x 1 > C-p C-p C-p C-p C-p C-p M-q C-n C-n C-n C-p I t SPC d o e s SPC w o r k . SPC SPC I SPC w i l l SPC b e SPC s u b m i t t i n g SPC a SPC f o l l o w u p SPC m i s f e a t u r e b u g m i s f e a t u r e SPC a SPC s SPC a SPC s e p a r a t e SPC b u g . SPC C-c C-c M-x r e p o r t Recent messages: Command: -exec-next --thread 1 1 Mark set [2 times] Auto-saving...done Sending... Sending via mail... nnimap: Updating info for nnimap+localimap:archive.mail...done Sending...done Starting new Ispell process [default] ... Checking spelling of DISAPPEARS... DISAPPEARS is correct Load-path shadows: /usr/local/share/emacs/site-lisp/lilypond-words hides /usr/share/emacs/site-lisp/lilypond-words /usr/local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent /usr/local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode /home/md5i/src/elisp/psvn hides /usr/share/emacs/site-lisp/psvn /usr/local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song /usr/local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat /usr/local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock /usr/local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init Features: (shadow ispell emacsbug newcomment speedbar sb-image ezimage dframe gdb-mi warnings bindat json gud dabbrev jka-compr find-func grep lilypond-mode scheme etags vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs multi-isearch mule-util vc-dispatcher vc-svn gnus-cite ansi-color flow-fill gnus-async gnus-bcklg parse-time sort byte-opt bytecomp byte-compile gnus-ml disp-table gnus-topic nnfolder utf-7 utf7 rfc2104 nnimap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime dig gnus-cache edmacro kmacro gnus-demon nntp nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems server uptimes pp uniquify descr-text help-mode view tramp-imap epa epg epg-config imap-hash imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source format-spec tramp-compat trampver time rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util sgml-mode psvn log-edit pcvs-util add-log diff-mode easy-mmode inf-caml camldebug thingatpt derived shell caml-types caml-emacs caml-font caml advice help-fns advice-preload compile imenu message sendmail ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils generic-x debian-el debian-el-loaddefs dired-x dired-aux dired bbdb-autoloads bbdb timezone ange-ftp regexp-opt comint ring cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=--