[PATCH]: Fix 68hc11 prologue analyzer for new frame support
Stephane Carrez
stcarrez@nerim.fr
Sun Jul 27 20:58:00 GMT 2003
Hi!
This patch changes the 68hc11 prologue analyzer to be able to unwind correctly at
every instruction in the prologue. This way the stack offset computed by the analyzer
can be found for each instruction until the frame is setup and we can then compute
the saved pc and previous sp using the current sp.
Committed in mainline and 6_0.
Stephane
2003-07-27 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.
(m68hc11_guess_from_prologue): Advance the pc and frame size only
when we are beyond the current pc.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m68hc11-tdep.c.diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030727/f64c15f5/attachment.ksh>
More information about the Gdb-patches
mailing list