From: Zach Kost-Smith <zachkostsmith@gmail.com>
To: Barry OReilly <gundaetiapo@gmail.com>
Cc: 17162@debbugs.gnu.org
Subject: bug#17162: 24.3; GDB interface stops working in some circumstances
Date: Tue, 1 Apr 2014 14:00:05 -0600 [thread overview]
Message-ID: <CAD9OXyQc=bfXsgYEgAwC4GLO9y7X27A67Cjok-M3jj2y9cOXzw@mail.gmail.com> (raw)
In-Reply-To: <CAFM41H00d9p+z_7ym=M+-3PNBGmGsD-udg+ywX2eAfOGtyjYMw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1647 bytes --]
Hi Barry,
Perhaps there is some kind of misunderstanding? M-x gud-gdb seems to
produce a prompt for gdb (have to remember not to use -i=mi for that one),
and it provides some simple support for setting breakpoints and printing
variables via the C-x C-a C-b / M-x gud-break sort of commands, but this
seems to be barely better than simpling running in a terminal. There seems
to be no graphical representation of the point of execution, the location
of breakpoints either within the buffer or in a special breakpoint buffer,
nor a backtrace buffer, or the list of local variables (which is the only
one that I never really found very useful).
But, yes, using gud-gdb does not show the same behavior where a C-c C-c
will make the M-x gud-<something> commands stop working. In some sense it
does indeed work better, but I have fond memories of a time where I think
that the GDB interface in Emacs was working. Is there at least of
confirmation that others are seeing the same issue with things like M-x
gud-print stop working with M-x gdb? I was troubleshooting with someone on
Reddit and they never saw this issue.
Zach
On Tue, Apr 1, 2014 at 1:39 PM, Barry OReilly <gundaetiapo@gmail.com> wrote:
> > we just stopped using GDB in Emacs long ago but I haven't given up
> > hope
>
> Does
>
> M-x gud-gdb
>
> work better for you? The interface to GDB accessed via gdb command is
> dreadful.
>
> > As an aside, when troubleshooting this there seems to be more severe
> > but harder to reproduce issues where C-c C-c doesn't actually
> > interrupt the execution.
>
> Possibly related: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16745
>
>
[-- Attachment #2: Type: text/html, Size: 2203 bytes --]
next prev parent reply other threads:[~2014-04-01 20:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 14:45 bug#17162: 24.3; GDB interface stops working in some circumstances Zach Kost-Smith
2014-04-01 19:39 ` Barry OReilly
2014-04-01 20:00 ` Zach Kost-Smith [this message]
2021-07-14 15:27 ` Lars Ingebrigtsen
2021-07-15 13:18 ` Zach Kost-Smith
2021-07-15 15:00 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAD9OXyQc=bfXsgYEgAwC4GLO9y7X27A67Cjok-M3jj2y9cOXzw@mail.gmail.com' \
--to=zachkostsmith@gmail.com \
--cc=17162@debbugs.gnu.org \
--cc=gundaetiapo@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.