GNU bug report logs - #13057
BUG: gdb main window corrupt

Previous Next

Package: emacs;

Reported by: Alan Boudreault <boudreault.alan <at> gmail.com>

Date: Sun, 2 Dec 2012 18:26:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13057 in the body.
You can then email your comments to 13057 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Sun, 02 Dec 2012 18:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Boudreault <boudreault.alan <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 02 Dec 2012 18:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: BUG: gdb main window corrupt
Date: Sun, 02 Dec 2012 09:14:47 -0500
I'm currently using emacs 24.2.1 and using it to debug a remote program 
via tramp. Everytime I execute a command, there is a *list* command 
automatically executed, which just spam my main window. Kind of annoying 
when I try to debug. Is there a workaround? (btw, I've also tried emacs 
24.3 but I can't load anymore a remote program in gdb with this version.)


Here's my gud buffer:
-----------*gud-mapserv*-----------------
(gdb) p mapserv
$1 = (mapservObj *) 0x60e6c0
(gdb) list mapserv.c:1     # <------ THIS IS AUTOMATICALLY CALLED AFTER 
EACH COMMAND I TYPE
1 
/******************************************************************************
2	 * $id: mapserv.c 9470 2009-10-16 16:09:31Z sdlime $
3	 *
4	 * Project:  MapServer
5	 * Purpose:  MapServer CGI mainline.
6	 * Author:   Steve Lime and the MapServer team.
7	 *
8	 
******************************************************************************
9	 * Copyright (c) 1996-2005 Regents of the University of Minnesota.
10	 *


Thanks,
Alan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Sun, 02 Dec 2012 18:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Sun, 02 Dec 2012 20:29:28 +0200
> Date: Sun, 02 Dec 2012 09:14:47 -0500
> From: Alan Boudreault <boudreault.alan <at> gmail.com>
> 
> I'm currently using emacs 24.2.1 and using it to debug a remote program 
> via tramp. Everytime I execute a command, there is a *list* command 
> automatically executed, which just spam my main window. Kind of annoying 
> when I try to debug. Is there a workaround? (btw, I've also tried emacs 
> 24.3 but I can't load anymore a remote program in gdb with this version.)
> 
> 
> Here's my gud buffer:
> -----------*gud-mapserv*-----------------
> (gdb) p mapserv
> $1 = (mapservObj *) 0x60e6c0
> (gdb) list mapserv.c:1     # <------ THIS IS AUTOMATICALLY CALLED AFTER 
> EACH COMMAND I TYPE
> 1 
> /******************************************************************************
> 2	 * $id: mapserv.c 9470 2009-10-16 16:09:31Z sdlime $
> 3	 *
> 4	 * Project:  MapServer
> 5	 * Purpose:  MapServer CGI mainline.
> 6	 * Author:   Steve Lime and the MapServer team.
> 7	 *
> 8	 
> ******************************************************************************
> 9	 * Copyright (c) 1996-2005 Regents of the University of Minnesota.
> 10	 *

Thank you for your report.  Please use "M-x report-emacs-bug RET" to
send all the information that might be relevant to the bug.

Also, does this "list" command get sent for every program you try to
debug?  Does it get sent when debugging natively (i.e., not remotely)?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Tue, 04 Dec 2012 14:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 04 Dec 2012 09:47:37 -0500
Hi Eli,

I've tried 2 differents remote programs and got the same bug. However, I 
haven't seen the same behavior debugging remotely. Also, it seems to be 
only the first gdb process I run that has that behavior. If I open a 
first gdb process... I see the bug.... and If I open another gdb process 
there is no more list command executed and I can debug properly.

Alan

On 12-12-02 01:29 PM, Eli Zaretskii wrote:
>> Date: Sun, 02 Dec 2012 09:14:47 -0500
>> From: Alan Boudreault <boudreault.alan <at> gmail.com>
>>
>> I'm currently using emacs 24.2.1 and using it to debug a remote program
>> via tramp. Everytime I execute a command, there is a *list* command
>> automatically executed, which just spam my main window. Kind of annoying
>> when I try to debug. Is there a workaround? (btw, I've also tried emacs
>> 24.3 but I can't load anymore a remote program in gdb with this version.)
>>
>>
>> Here's my gud buffer:
>> -----------*gud-mapserv*-----------------
>> (gdb) p mapserv
>> $1 = (mapservObj *) 0x60e6c0
>> (gdb) list mapserv.c:1     # <------ THIS IS AUTOMATICALLY CALLED AFTER
>> EACH COMMAND I TYPE
>> 1
>> /******************************************************************************
>> 2	 * $id: mapserv.c 9470 2009-10-16 16:09:31Z sdlime $
>> 3	 *
>> 4	 * Project:  MapServer
>> 5	 * Purpose:  MapServer CGI mainline.
>> 6	 * Author:   Steve Lime and the MapServer team.
>> 7	 *
>> 8	
>> ******************************************************************************
>> 9	 * Copyright (c) 1996-2005 Regents of the University of Minnesota.
>> 10	 *
>
> Thank you for your report.  Please use "M-x report-emacs-bug RET" to
> send all the information that might be relevant to the bug.
>
> Also, does this "list" command get sent for every program you try to
> debug?  Does it get sent when debugging natively (i.e., not remotely)?
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Tue, 04 Dec 2012 18:54:02 GMT) Full text and rfc822 format available.

Message #14 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 04 Dec 2012 20:53:01 +0200
> Date: Tue, 04 Dec 2012 09:47:37 -0500
> From: Alan Boudreault <boudreault.alan <at> gmail.com>
> CC: 13057 <at> debbugs.gnu.org
> 
> I've tried 2 differents remote programs and got the same bug. However, I 
> haven't seen the same behavior debugging remotely. Also, it seems to be 
> only the first gdb process I run that has that behavior. If I open a 
> first gdb process... I see the bug.... and If I open another gdb process 
> there is no more list command executed and I can debug properly.

This command comes from the function gdb-place-breakpoints (see
gdb-mi.el).  From cursory reading of that function, it looks like it
issues this command when it cannot glean the file name from what GDB
replies.  Maybe you could try upgrading to a newer GDB, because it
could be a GDB problem that triggers this command.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Wed, 05 Dec 2012 00:38:02 GMT) Full text and rfc822 format available.

Message #17 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 04 Dec 2012 19:37:31 -0500
Hi Eli,

I've upgraded to gdb 7.5-0gnu1~12.04 (from the GNU launchpad ppa for 
Ubuntu, for both local and remote machines) and I'm seeing the same issue.

Regards,
Alan

On 12-12-04 01:53 PM, Eli Zaretskii wrote:
>> Date: Tue, 04 Dec 2012 09:47:37 -0500
>> From: Alan Boudreault <boudreault.alan <at> gmail.com>
>> CC: 13057 <at> debbugs.gnu.org
>>
>> I've tried 2 differents remote programs and got the same bug. However, I
>> haven't seen the same behavior debugging remotely. Also, it seems to be
>> only the first gdb process I run that has that behavior. If I open a
>> first gdb process... I see the bug.... and If I open another gdb process
>> there is no more list command executed and I can debug properly.
>
> This command comes from the function gdb-place-breakpoints (see
> gdb-mi.el).  From cursory reading of that function, it looks like it
> issues this command when it cannot glean the file name from what GDB
> replies.  Maybe you could try upgrading to a newer GDB, because it
> could be a GDB problem that triggers this command.
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Wed, 05 Dec 2012 03:50:01 GMT) Full text and rfc822 format available.

Message #20 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Wed, 05 Dec 2012 05:49:40 +0200
> Date: Tue, 04 Dec 2012 19:37:31 -0500
> From: Alan Boudreault <boudreault.alan <at> gmail.com>
> CC: 13057 <at> debbugs.gnu.org
> 
> I've upgraded to gdb 7.5-0gnu1~12.04 (from the GNU launchpad ppa for 
> Ubuntu, for both local and remote machines) and I'm seeing the same issue.

Thanks.  Does the same happen in native debugging?  If so, can you
show a minimal program that could be used to reproduce the problem?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Tue, 18 Dec 2012 16:33:01 GMT) Full text and rfc822 format available.

Message #23 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 18 Dec 2012 11:31:26 -0500
Eli,

Did you get my private message about this bug? (no rush, just wondering).

Alan

On 12-12-04 10:49 PM, Eli Zaretskii wrote:
>> Date: Tue, 04 Dec 2012 19:37:31 -0500
>> From: Alan Boudreault <boudreault.alan <at> gmail.com>
>> CC: 13057 <at> debbugs.gnu.org
>>
>> I've upgraded to gdb 7.5-0gnu1~12.04 (from the GNU launchpad ppa for
>> Ubuntu, for both local and remote machines) and I'm seeing the same issue.
>
> Thanks.  Does the same happen in native debugging?  If so, can you
> show a minimal program that could be used to reproduce the problem?
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Tue, 18 Dec 2012 17:52:02 GMT) Full text and rfc822 format available.

Message #26 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 18 Dec 2012 19:49:19 +0200
> Date: Tue, 18 Dec 2012 11:31:26 -0500
> From: Alan Boudreault <boudreault.alan <at> gmail.com>
> CC: 13057 <at> debbugs.gnu.org
> 
> Eli,
> 
> Did you get my private message about this bug? (no rush, just wondering).

Yes, I did.  Didn't have time to do anything about it yet, though.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Fri, 04 Jan 2013 15:36:03 GMT) Full text and rfc822 format available.

Message #29 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Fri, 04 Jan 2013 10:34:51 -0500
Hi devs, if anyone is interested to take a look, I have a environment 
ready so you can reproduce the issue in a minute. Ping me privately for 
the info.

Thanks,
Alan

On 12-12-18 12:49 PM, Eli Zaretskii wrote:
>> Date: Tue, 18 Dec 2012 11:31:26 -0500
>> From: Alan Boudreault <boudreault.alan <at> gmail.com>
>> CC: 13057 <at> debbugs.gnu.org
>>
>> Eli,
>>
>> Did you get my private message about this bug? (no rush, just wondering).
>
> Yes, I did.  Didn't have time to do anything about it yet, though.
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Mon, 28 Jan 2013 20:12:01 GMT) Full text and rfc822 format available.

Message #32 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Mon, 28 Jan 2013 15:11:15 -0500
Any new investigation about this one? Or a hack/workaround available?

Best Regards,
Alan

On 12-12-18 12:49 PM, Eli Zaretskii wrote:
>> Date: Tue, 18 Dec 2012 11:31:26 -0500
>> From: Alan Boudreault <boudreault.alan <at> gmail.com>
>> CC: 13057 <at> debbugs.gnu.org
>>
>> Eli,
>>
>> Did you get my private message about this bug? (no rush, just wondering).
>
> Yes, I did.  Didn't have time to do anything about it yet, though.
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Tue, 29 Jan 2013 06:48:01 GMT) Full text and rfc822 format available.

Message #35 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 29 Jan 2013 08:47:08 +0200
> Date: Mon, 28 Jan 2013 15:11:15 -0500
> From: Alan Boudreault <boudreault.alan <at> gmail.com>
> CC: 13057 <at> debbugs.gnu.org
> 
> Any new investigation about this one?

Not from me, sorry.

> Or a hack/workaround available?

A workaround would be to use "M-x gud-gdb" instead.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Tue, 29 Jan 2013 14:02:01 GMT) Full text and rfc822 format available.

Message #38 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Alan Boudreault <boudreault.alan <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Tue, 29 Jan 2013 09:00:35 -0500
This workaround effectively works.

Thanks Eli!

Alan

On 13-01-29 01:47 AM, Eli Zaretskii wrote:
>> Date: Mon, 28 Jan 2013 15:11:15 -0500
>> From: Alan Boudreault <boudreault.alan <at> gmail.com>
>> CC: 13057 <at> debbugs.gnu.org
>>
>> Any new investigation about this one?
>
> Not from me, sorry.
>
>> Or a hack/workaround available?
>
> A workaround would be to use "M-x gud-gdb" instead.
>





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Sun, 13 Feb 2022 09:29:02 GMT) Full text and rfc822 format available.

Message #41 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Sun, 13 Feb 2022 10:28:29 +0100
Alan Boudreault <boudreault.alan <at> gmail.com> writes:

> I'm currently using emacs 24.2.1 and using it to debug a remote
> program via tramp. Everytime I execute a command, there is a *list*
> command automatically executed, which just spam my main window. Kind
> of annoying when I try to debug. Is there a workaround? (btw, I've
> also tried emacs 24.3 but I can't load anymore a remote program in gdb
> with this version.)

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Are you still seeing this issue in recent versions of Emacs/gdb?  (When
not using gud-gdb.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 13 Feb 2022 09:29:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13057; Package emacs. (Mon, 14 Mar 2022 10:34:02 GMT) Full text and rfc822 format available.

Message #46 received at 13057 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alan Boudreault <boudreault.alan <at> gmail.com>
Cc: 13057 <at> debbugs.gnu.org
Subject: Re: bug#13057: BUG: gdb main window corrupt
Date: Mon, 14 Mar 2022 11:33:19 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Are you still seeing this issue in recent versions of Emacs/gdb?  (When
> not using gud-gdb.)

More information was requested, but no response was given within a
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 13057 <at> debbugs.gnu.org and Alan Boudreault <boudreault.alan <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 14 Mar 2022 10:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Apr 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.