all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs devel <emacs-devel@gnu.org>
Subject: Re: Toolbar problems with GDB mode.
Date: Sat, 4 Jan 2003 19:54:07 +0000	[thread overview]
Message-ID: <15895.15327.116822.876751@nick.uklinux.net> (raw)
In-Reply-To: <200301041432.h04EWjeA032078@stubby.bodenonline.com>


 > Okay, but it is also the one thing i dislike with DDD for example.
 > In embedded development, one does not even have a main.  DDD then
 > loads a random file, which is annoying as it takes time.

Do you use emacs for embedded development ? If so, could you please tell me
what gdba does ?

 > I frequently do like this:
 > Go to line in file where I would like to break
 > C-x 2
 > start gdb in the upper window.
 > C-x 0 C-x C-v C-a
 >
 > The last line is like one gesture, and gdba breaks that for me.  

I guess you mean C-x 0 C-x C-a C-b, but I get what you're saying. I had not
thought about that approach.

 > I don't think it is a good idea to switch and hide file buffer a user
 > is looking at. 

Yes but sometimes, as they say, it best to start at the beginning.

 > Isn't that the reason why for example compile
 > splits the frame in two windows, to keep the file the user is editing
 > in sight?

And presumably it would be a good idea for M-x gdb to do this also. Then
you wouldn't have to split the window. I will make this change if others
think it is a good idea.

 > The GDB default is 24 lines, and I had no terminfo entry for dumb,
 > hence GDB uses 24.  Adding a terminfo solves that.  But if gdba
 > requires a specific height, can it not do that as the first command
 > to GDB by itself?  Just a thought.

I will do this. I hadn't realised there was a problem before.

 > Another thing you should look at is starting gdba, stopping GDB
 > and killing the buffer, then starting gdba again.  It does funny
 > things, ...

Please don't simply kill the buffer. Always type gdb-quit before starting a new
session. I'm writing documentation to say things like that and I will try to
make it more robust with time.

Nick

  reply	other threads:[~2003-01-04 19:54 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
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 [this message]
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

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

  git send-email \
    --in-reply-to=15895.15327.116822.876751@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 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.