bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Using gdb with emacs


From: Per Bothner
Subject: Re: Using gdb with emacs
Date: 09 Sep 2001 10:15:02 -0700
User-agent: Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor)

"Eli Zaretskii" <address@hidden> writes:

>   - A modification of the set breakpoint commands whereby it will
>     first try to use file names relative to the project directory if
>     that directory is set, and if that fails, fall back on the
>     basename, like it does today.  This probably calls for a new
>     %something specifier, which will trigger this modified behavior,
>     since you probably don't want to change the semantics of %f.

The concept of a "project directory" may be useful, but it is not
appropriate for setting a breakpoint on a known file in an Emacs
window.  Emacs knows the full absolute pathname of the file you are
setting a breakpoint on.  It should pass that to gdb, period.  If I
set a breakpoint using a fully qualified absolute filename, gdb should
be able to figure out which file I mean, period.
-- 
        --Per Bothner
address@hidden   http://www.bothner.com/per/



reply via email to

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