[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: |
06 Sep 2001 19:56:37 -0700 |
User-agent: |
Gnus/5.090003 (Oort Gnus v0.03) XEmacs/21.4 (Academic Rigor) |
Tom Tromey <tromey@redhat.com> writes:
> I think it would be reasonable for gdb to do path canonicalization on
> file names. I think that would let the proposed Emacs change work
> correctly.
The way it used to be was that Gcc would emit two top-level filename
stabs: One for the filename as specified on the command line, and one
for the current working directory. That lets gdb match the intended
file somewhat intelligently. It is possible this is broken, in
either gcc or gdb. Its is also possible that this logic may be
unsupported for some debugging formats.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/