This is the mail archive of the gdb-patches@sources.redhat.com 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 for avr_skip_prologue()


Hi,

Before I commit this, I wanted to know if this is the correct fix or just
an evil hack side-stepping the some other problem.

The problem shows up when I set a break point on a simple function as
such:

  (gdb) b foo_simple

If foo_simple() has no prologue, the break point is set at the _end_ of
the function (effectively the return insn).

If this fix is acceptable, is it too late to make it into the 5.2 branch?

Ted Roth
I think so :-( By the time someone has figured out if it is right or wrong, I'll have finished rolling 5.2.1.

Andrew



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