From Matthieu.Moy@imag.fr Fri Aug 28 04:56:24 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Aug 2009 11:56:24 +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.3 required=4.0 tests=AWL,FOURLA,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 n7SBuM8I011575 for ; Fri, 28 Aug 2009 04:56:24 -0700 Received: from mail.gnu.org ([199.232.76.166]:54382 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mh045-0004vX-Pe for emacs-pretest-bug@gnu.org; Fri, 28 Aug 2009 07:56:21 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mh044-0001Yv-Bc for emacs-pretest-bug@gnu.org; Fri, 28 Aug 2009 07:56:21 -0400 Received: from mx2.imag.fr ([129.88.30.17]:35079 helo=rominette.imag.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mh03z-0001VG-Jw; Fri, 28 Aug 2009 07:56:16 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id n7SBs31x009376 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 28 Aug 2009 13:54:03 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Mh03f-0007Im-AI; Fri, 28 Aug 2009 13:55:55 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1Mh03f-0008NP-7z; Fri, 28 Aug 2009 13:55:55 +0200 From: Matthieu Moy To: emacs-pretest-bug@gnu.org Cc: Nick Roberts Subject: 23.1.50; gdb-mi.el: (wrong-type-argument stringp nil) when using watchpoints Date: Fri, 28 Aug 2009 13:55:55 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Fri, 28 Aug 2009 13:54:03 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n7SBs31x009376 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1252065243.29954@7QmKzDRtbG4dhDVBueLj4w X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Hi, I'm having trouble with gdb-mi and watchpoints (i.e. "watch" command at the gdb prompt). Steps to reproduce (I'm posting from an Emacs instance where I just reproduced this): $ cat main.c int main () { int i; i++; i++; } $ gcc main.c -g $ emacs -Q main.c Then, within Emacs: * Launch M-x gdb RET once. * Quit this first *gud* buffer (C-x k) * Launch M-x gdb RET once more (yes, that's strange, but it doesn't crash in the first instance, only in the next one!) * M-x toggle-debug-on-error RET * In the *gud-a.out* buffer: (gdb) b main Breakpoint 1 at 0x8048335: file main.c, line 3. (gdb) r Starting program: /tmp/a.out Breakpoint 1, main () at main.c:3 3 i++; (gdb) watch i Hardware watchpoint 2: i Then, I get this backtrace (and it keeps giving the same error for anything done in this *gud* buffer afterwards): Debugger entered--Lisp error: (wrong-type-argument stringp nil) propertize(nil font-lock-face font-lock-function-name-face) gdb-breakpoints-list-handler-custom() gdb-breakpoints-list-handler() apply(gdb-breakpoints-list-handler nil) (save-current-buffer (set-buffer #) (apply (quote gdb-breakpoints-list-handler) args)) (with-current-buffer # (apply (quote gdb-breakpoints-list-handler) args)) (lambda (&rest args) (with-current-buffer # (apply ... args)))() gdb-done-or-error("BreakpointTable={nr_rows=\"2\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\",times=\"1\"},bkpt={number=\"2\",type=\"hw watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"i\",times=\"0\"}]}" "18" done) gud-gdbmi-marker-filter("17^error,msg=\"Undefined mi command: thread-info (missing implementation)\"\n(gdb) \n18^done,BreakpointTable={nr_rows=\"2\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\",times=\"1\"},bkpt={number=\"2\",type=\"hw watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"i\",times=\"0\"}]}\n(gdb) \n19^done,frame={level=\"0\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\"}\n(gdb) \n") apply(gud-gdbmi-marker-filter "17^error,msg=\"Undefined mi command: thread-info (missing implementation)\"\n(gdb) \n18^done,BreakpointTable={nr_rows=\"2\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\",times=\"1\"},bkpt={number=\"2\",type=\"hw watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"i\",times=\"0\"}]}\n(gdb) \n19^done,frame={level=\"0\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\"}\n(gdb) \n") gud-marker-filter("17^error,msg=\"Undefined mi command: thread-info (missing implementation)\"\n(gdb) \n18^done,BreakpointTable={nr_rows=\"2\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\",times=\"1\"},bkpt={number=\"2\",type=\"hw watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"i\",times=\"0\"}]}\n(gdb) \n19^done,frame={level=\"0\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\"}\n(gdb) \n") gud-filter(# "17^error,msg=\"Undefined mi command: thread-info (missing implementation)\"\n(gdb) \n18^done,BreakpointTable={nr_rows=\"2\",nr_cols=\"6\",hdr=[{width=\"7\",alignment=\"-1\",col_name=\"number\",colhdr=\"Num\"},{width=\"14\",alignment=\"-1\",col_name=\"type\",colhdr=\"Type\"},{width=\"4\",alignment=\"-1\",col_name=\"disp\",colhdr=\"Disp\"},{width=\"3\",alignment=\"-1\",col_name=\"enabled\",colhdr=\"Enb\"},{width=\"10\",alignment=\"-1\",col_name=\"addr\",colhdr=\"Address\"},{width=\"40\",alignment=\"2\",col_name=\"what\",colhdr=\"What\"}],body=[bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\",times=\"1\"},bkpt={number=\"2\",type=\"hw watchpoint\",disp=\"keep\",enabled=\"y\",addr=\"\",what=\"i\",times=\"0\"}]}\n(gdb) \n19^done,frame={level=\"0\",addr=\"0x08048335\",func=\"main\",file=\"main.c\",fullname=\"/tmp/main.c\",line=\"3\"}\n(gdb) \n") In GNU Emacs 23.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2009-08-28 on bauges Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--prefix=/home/moy/local/usr/'' 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: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Debugger Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent input: M-x g d b C-x k y e s M-x g d b M-x t o g d e e b SPC m a i n r w a t c h SPC i M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-git...done Debug on Error enabled globally Entering debugger... Making completion list... call-interactively: Buffer is read-only: # Load-path shadows: None found. -- Matthieu From nickrob@snap.net.nz Sat Aug 29 16:29:46 2009 Received: (at 4282) by emacsbugs.donarmstrong.com; 29 Aug 2009 23:29:46 +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=-4.5 required=4.0 tests=AWL,HAS_BUG_NUMBER 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 n7TNTi2g025127 for <4282@emacsbugs.donarmstrong.com>; Sat, 29 Aug 2009 16:29:46 -0700 Received: from totara (5.29.255.123.dynamic.snap.net.nz [123.255.29.5]) by viper.snap.net.nz (Postfix) with ESMTP id 214783DAB69; Sun, 30 Aug 2009 11:29:39 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 202FBC164; Sun, 30 Aug 2009 11:29:37 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19097.47585.105990.224022@totara.tehura.co.nz> Date: Sun, 30 Aug 2009 11:29:37 +1200 To: Matthieu Moy , 4282@debbugs.gnu.org Cc: emacs-pretest-bug@gnu.org Subject: bug#4282: 23.1.50; gdb-mi.el: (wrong-type-argument stringp nil) when using watchpoints In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) > I'm having trouble with gdb-mi and watchpoints (i.e. "watch" command at > the gdb prompt). It looks like the breakpoint handler doesn't currently handle the watch command. For the moment, I'm just confirming that this is a bug with Emacs. -- Nick http://www.inet.net.nz/~nickrob From nickrob@snap.net.nz Mon Aug 31 05:41:55 2009 Received: (at 4282) by emacsbugs.donarmstrong.com; 31 Aug 2009 12:41:55 +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=-4.5 required=4.0 tests=AWL,HAS_BUG_NUMBER 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 n7VCfr0P021530 for <4282@emacsbugs.donarmstrong.com>; Mon, 31 Aug 2009 05:41:54 -0700 Received: from totara (68.27.255.123.static.snap.net.nz [123.255.27.68]) by viper.snap.net.nz (Postfix) with ESMTP id E63CE3DA78C; Tue, 1 Sep 2009 00:41:46 +1200 (NZST) Received: by totara (Postfix, from userid 1000) id 84C39C168; Tue, 1 Sep 2009 00:41:44 +1200 (NZST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19099.50440.474643.588537@totara.tehura.co.nz> Date: Tue, 1 Sep 2009 00:41:44 +1200 To: Matthieu Moy , 4282@debbugs.gnu.org Cc: emacs-pretest-bug@gnu.org Subject: bug#4282: 23.1.50; gdb-mi.el: (wrong-type-argument stringp nil) when using watchpoints In-Reply-To: References: X-Mailer: VM 7.19 under Emacs 22.2.1 From: nickrob@snap.net.nz (Nick Roberts) > I'm having trouble with gdb-mi and watchpoints (i.e. "watch" command at > the gdb prompt). I think I've fixed this now. If it works for you can you please close the bug report. Thanks, Nick http://www.inet.net.nz/~nickrob From Matthieu.Moy@imag.fr Mon Aug 31 06:53:45 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 31 Aug 2009 13:53:45 +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.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=unavailable 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 n7VDrhoA003855 for ; Mon, 31 Aug 2009 06:53:44 -0700 Received: from mail.gnu.org ([199.232.76.166]:51484 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mi7KJ-0001TU-07 for emacs-pretest-bug@gnu.org; Mon, 31 Aug 2009 09:53:43 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mi7KG-0000Jx-BC for emacs-pretest-bug@gnu.org; Mon, 31 Aug 2009 09:53:42 -0400 Received: from mx2.imag.fr ([129.88.30.17]:45517 helo=rominette.imag.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mi7KF-0000Ir-C9 for emacs-pretest-bug@gnu.org; Mon, 31 Aug 2009 09:53:39 -0400 Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by rominette.imag.fr (8.13.8/8.13.8) with ESMTP id n7VDpKXv023656 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 31 Aug 2009 15:51:23 +0200 Received: from bauges.imag.fr ([129.88.43.5]) by mail-veri.imag.fr with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1Mi7Jy-0004zg-4N; Mon, 31 Aug 2009 15:53:22 +0200 Received: from moy by bauges.imag.fr with local (Exim 4.63) (envelope-from ) id 1Mi7Jy-0001Ez-2x; Mon, 31 Aug 2009 15:53:22 +0200 To: nickrob@snap.net.nz (Nick Roberts) Cc: 4282-done@debbugs.gnu.org, emacs-pretest-bug@gnu.org Subject: Re: bug#4282: 23.1.50; gdb-mi.el: (wrong-type-argument stringp nil) when using watchpoints References: <19099.50440.474643.588537@totara.tehura.co.nz> From: Matthieu Moy Date: Mon, 31 Aug 2009 15:53:22 +0200 In-Reply-To: <19099.50440.474643.588537@totara.tehura.co.nz> (Nick Roberts's message of "Tue\, 1 Sep 2009 00\:41\:44 +1200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Matthieu Moy X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (rominette.imag.fr [129.88.30.17]); Mon, 31 Aug 2009 15:51:23 +0200 (CEST) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: n7VDpKXv023656 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: moy@imag.fr MailScanner-NULL-Check: 1252331485.04631@mnVdsPI5MRzBWVxzDOjhUg X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) nickrob@snap.net.nz (Nick Roberts) writes: > > I'm having trouble with gdb-mi and watchpoints (i.e. "watch" command at > > the gdb prompt). > > I think I've fixed this now. If it works for you can you please close the bug report. Yes, this is fixed by: commit cfab2770ddd843963622e80cfacccbb9083b262c Author: Nick Roberts Date: Mon Aug 31 12:35:55 2009 +0000 Thanks, -- Matthieu From unknown Fri Jun 20 07:11:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Sep 2009 14:24:18 +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