From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4282: marked as done (23.1.50; gdb-mi.el: (wrong-type-argument stringp nil) when using watchpoints) Date: Mon, 31 Aug 2009 14:00:07 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1251727207-4966-0" X-Trace: ger.gmane.org 1251727666 28981 80.91.229.12 (31 Aug 2009 14:07:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 14:07:46 +0000 (UTC) To: Matthieu Moy Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 31 16:07:38 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 1Mi7XW-0001gT-Sl for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 16:07:23 +0200 Original-Received: from localhost ([127.0.0.1]:41826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi7XV-00032K-1x for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Aug 2009 10:07:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mi7XF-0002q7-65 for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:07:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mi7X9-0002l4-0x for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:07:03 -0400 Original-Received: from [199.232.76.173] (port=59931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mi7X8-0002kd-MW for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:06:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47521) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mi7X7-0002je-RM for bug-gnu-emacs@gnu.org; Mon, 31 Aug 2009 10:06:58 -0400 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 n7VE6taC007066; Mon, 31 Aug 2009 07:06:55 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7VE07NT005001; Mon, 31 Aug 2009 07:00:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4282 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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 Xref: news.gmane.org gmane.emacs.bugs:30680 Archived-At: This is a multi-part message in MIME format... ------------=_1251727207-4966-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 31 Aug 2009 15:53:22 +0200 with message-id and subject line Re: bug#4282: 23.1.50; gdb-mi.el: (wrong-type-argument str= ingp nil) when using watchpoints has caused the Emacs bug report #4282, regarding 23.1.50; gdb-mi.el: (wrong-type-argument stringp nil) when using = watchpoints to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4282: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4282 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1251727207-4966-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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\",ena bled=\"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=\"ke ep\",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 ------------=_1251727207-4966-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4282-done) by emacsbugs.donarmstrong.com; 31 Aug 2009 13:53:34 +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.2 required=4.0 tests=AWL,HAS_BUG_NUMBER, IMPRONONCABLE_2 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from rominette.imag.fr (mx2.imag.fr [129.88.30.17]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7VDrVhp003841 for <4282-done@emacsbugs.donarmstrong.com>; Mon, 31 Aug 2009 06:53:34 -0700 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@emacsbugs.donarmstrong.com, 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 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 ------------=_1251727207-4966-0--