Re: gdb changes the path

Daniel Jacobowitz
2007-09-07T12:35:40Z

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