This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA/i386] pb reading insns if breakpoints still inserted
> I don't completely disagree with you here, but, a different way to
> view the problem is putting the blame with the fact that we (ab)use
> the prologue analyzer for skipping the prologue when trying to place a
> breakpoint at the start of a function, where we really should be able
> to use the debug info for doing this.
It would be nice to live in a world when prologue information was always
available, but this is not the case, and I think we're very far from it
on certain platforms. So I disagree that we abuse the prologue analyzer.
Sometimes, we don't have the choice.
--
Joel