This is the mail archive of the gdb@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: gdb changes the path


On Fri, Sep 07, 2007 at 05:32:01AM -0700, Pawel K wrote:
> --- Daniel Jacobowitz <drow@false.org> wrote:
> > On Fri, Sep 07, 2007 at 02:14:45AM -0700, Pawel K
> > wrote:
> > > 2. How to force gdb to use the relative path as in
> > > breakpoint nr 3 above ?
> > 
> > Why?  It's a different name for the same file, and
> > GDB knows its full
> > name.
> 
> Since when I specify the breakpoint like:
> (gdb) bre functions.h:100
> 
> I cannot "list" the source lines.

You may want to try a GDB 6.7 snapshot.  I hope this has been
improved.

> Do You have any idea what can be wrong ?

No, sorry.

-- 
Daniel Jacobowitz
CodeSourcery


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