unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs devel <emacs-devel@gnu.org>
Subject: Toolbar problems with GDB mode.
Date: Fri, 3 Jan 2003 20:05:15 +0000	[thread overview]
Message-ID: <15893.60667.854973.199903@nick.uklinux.net> (raw)
In-Reply-To: <3E15CD7A.90802@swipnet.se>

Jan D. writes:

 > Hello.
 > 
 > If a break point is reached in a C file, the file is displayed and the toolbar 
 > changes to the GDB toolbar.  When quitting gdb, the toolbar does not change 
 > back.  Not even if gdb-quit is run.
 > 
 > I started GDB with M-x gdb.
 > 
 > If I use M-x gdba it restores the menu bar OK, but gdba has so many other 
 > problems, so I can't use it.
 > 

Hmm. I'm very aware that gdba doesn't auto-display complex data structures
(arrays of structures or structures with arrays in) and plan to solve that
when I can find the stamina. If you are more specific about other problems
then I will try to solve them.

 > I think (kill-local-variable 'tool-bar-map) should be run even if
 > (eq gud-minor-mode 'gdba) is false in this function (gdb-ui.el):

That will restore the toolbar but it will also kill any buffer whose name
starts with `*'. I could replace:

        (if (eq gud-minor-mode 'gdba)
with    (if (memq gud-minor-mode '(gdb gdba))

which would do what you want. However, I wrote gdb-quit for gdba and
I've not analysed what other consequences that might have.

In my opinion, M-x gdb is quite limited. I'm guessing, but I bet most
people on this list use gdb from the command line when they debug emacs.
It has quite some nifty features that make it easier to use: completion
of GDB command names, completion of user-defined procedure names, <RET>
sometimes repeats the previous command (handy for stepping through the
program or looking at a listing), readline interface etc, etc...

Nick

  reply	other threads:[~2003-01-03 20:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 17:50 Toolbar problems with GDB mode Jan D.
2003-01-03 20:05 ` Nick Roberts [this message]
2003-01-03 22:09   ` Jan D.
2003-01-04  0:25     ` Nick Roberts
2003-01-04 13:05       ` Jan D.
2003-01-04 19:54         ` Nick Roberts
2003-01-04 21:44           ` Jan D.
2003-01-06 20:05           ` Kevin Rodgers
2003-01-07 23:21             ` Nick Roberts
2003-01-10 16:23               ` Jan D.
2003-01-10 21:55                 ` Nick Roberts
2003-01-04 23:44     ` Richard Stallman
2003-01-05 23:20       ` Nick Roberts
2003-01-11 19:49         ` Stefan Monnier
2003-01-12  0:05           ` Nick Roberts
2003-01-12 20:13             ` Stefan Monnier
2003-01-04  9:57   ` Eli Zaretskii
2003-01-04 13:36     ` Jan D.

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15893.60667.854973.199903@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).