This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Fix a bug in source file searching


On 04/08/2010 04:52 AM, Tom Tromey wrote:
"Jie" == Jie Zhang<jie@codesourcery.com> writes:
Jie>  And I don't know why GCC adds those dir commands in its .gdbinit. I
Jie>  will ask on GCC mailing list.

I think adding "dir $cdir" at the end of the list of dir commands would
also get the behavior you want.

I have sent a patch to GCC:

http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01468.html


Jie



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]