From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: gdb-ui and Mac OS X
Date: 30 Mar 2004 18:40:25 -0500 [thread overview]
Message-ID: <m11xn9c3ju.fsf-monnier+emacs@empanada.iro.umontreal.ca> (raw)
In-Reply-To: <16489.47367.693423.315665@nick.uklinux.net>
>> 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.
I'm not sure what is the current behavior in Emacs and what is "standard".
Does it simply always open a new dinwo showing the file that contains
`main'? If so, I find it inconvenient.
Maybe it's OK in other GUI debuggers because their environment is different:
they probably always have one source-code-view window, so they may as well
show the `main' function rather than keep the window empty.
> 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.
The splitting for *gud* is another independent issue. I'd rather focus on
the issue at hand which is the fact that the file holding the `main'
function is displayed.
> 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).
Also this is another independent issue: how to turn on gud-minor-mode in
the right buffers. It's a difficult question, but I'd rather avoid it for
now, lest we get lost in endless arguments.
Stefan
next prev parent reply other threads:[~2004-03-30 23:40 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 ` gdb-ui and Mac OS X Nick Roberts
2004-03-30 23:40 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m11xn9c3ju.fsf-monnier+emacs@empanada.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
--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.