unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: Re: gdb-ui and Mac OS X
Date: Tue, 30 Mar 2004 19:14:31 +0100	[thread overview]
Message-ID: <16489.47367.693423.315665@nick.uklinux.net> (raw)
In-Reply-To: <m14qs7e4v1.fsf-monnier+emacs@empanada.iro.umontreal.ca>


Stefan Monnier writes:

 > BTW, I still like the --fullname behavior of not opening any file
 > at startup.  More specifically, when I start gdb --ann=3 emacs, GUD opens
 > up a new window showing the src/emacs.c file, which I will never need/want
 > to look at in 99.9% of the cases.  Can this be changed?

Sure. I was just copying standard behaviour. A while back, Jan D said
something similar so maybe its not such a good idea. He added:

Jan D> I frequently do like this:
Jan D> Go to line in file where I would like to break
Jan D> C-x 2
Jan D> start gdb in the upper window.

It could work like --fullname currently does (as you and Jan describe). Or if
"\\*gud-.*\\*\\(\\|<[0-9]+>\\)" is removed from same-window-regexps,  you don't
need to split the buffer as the GUD buffer will appear in a new window.

In either case the source buffer woouldn't have gud-minor-mode set so
breakpoints could only be set with a global binding (e.g C-x SPC). Setting
gud-minor-mode could be done but it might be a bit messy as in some cases the
user might not want it set.

Are there any other ideas?

Nick

       reply	other threads:[~2004-03-30 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <F718CB44-6643-11D8-91EB-000393AC75B0@sbcglobal.net>
     [not found] ` <16443.41112.562861.807240@nick.uklinux.net>
     [not found]   ` <m1d66zr42v.fsf-monnier+emacs@empanada.iro.umontreal.ca>
     [not found]     ` <16484.37889.513615.569590@nick.uklinux.net>
     [not found]       ` <m165coon1r.fsf-monnier+emacs@empanada.iro.umontreal.ca>
     [not found]         ` <16488.30520.806866.359566@nick.uklinux.net>
     [not found]           ` <m1fzbre8re.fsf-monnier+emacs@empanada.iro.umontreal.ca>
     [not found]             ` <16488.34751.332997.749611@nick.uklinux.net>
     [not found]               ` <m14qs7e4v1.fsf-monnier+emacs@empanada.iro.umontreal.ca>
2004-03-30 18:14                 ` Nick Roberts [this message]
2004-03-30 23:40                   ` gdb-ui and Mac OS X Stefan Monnier
2004-03-31  6:38                     ` Jan D.
2004-03-31 23:50                       ` gdb-ui at startup Nick Roberts

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=16489.47367.693423.315665@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).