[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb-ui and Mac OS X

From: Stefan Monnier
Subject: Re: gdb-ui and Mac OS X
Date: 30 Mar 2004 18:40:25 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]