* rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
authorDaniel Jacobowitz <drow@false.org>
Tue, 13 Mar 2007 17:34:23 +0000 (17:34 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 13 Mar 2007 17:34:23 +0000 (17:34 +0000)
commit4e463ff5459d8c72eb1c5c1a7859e8556dbd69e2
tree53db7049f2fd0de140d1c84c26136fbde1e65141
parent35d9dd2fb8ba23282114af75003ff0c2bee9661a
* rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
(rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
(refine_prologue_limit): Delete.
(skip_prologue): Don't call it.  Use extract_unsigned_integer.
Assume lim_pc is set.  Correct check for incomplete prologues.
Do not skip clobbers of the frame pointer.
* symtab.c (skip_prologue_using_sal): Fail if there is only one
sal.

* gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
(optimized_1): New.
(main): Call optimized_1.
(gdb2029): Correct typos.  Call gdb2029_marker.
* gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
for gdb2029.
gdb/ChangeLog
gdb/rs6000-tdep.c
gdb/symtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/powerpc-prologue.c
gdb/testsuite/gdb.arch/powerpc-prologue.exp