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: preserve line number when skipping prologue


> On the one hand, the line number you asked for is used if the
> breakpoint ever needs to be reset.  So, it is relevant.

Yes, that's true too.

> (gdb) b 3
> Breakpoint 1 at 0x80483c5: file m.c, line 3.
> (Line 3 is not executable; actually set at line 7.)

I suppose we could. But we've used the current behavior for years,
and I don't feel sufficiently strongly about it that I want to
improve it (yep, i'm lazy :).

-- 
Joel


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