aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-07-15 18:32:06 +0000
committerDaniel Jacobowitz <drow@false.org>2008-07-15 18:32:06 +0000
commitef02daa9e63e24a670a7d30166c33eb979ecf580 (patch)
tree77b9ea563521b8d37ae42af57f5863794a867a18 /gdb/hppa-tdep.c
parent96e32df874f88b174fde0c5c7133a4ee50fe2154 (diff)
downloadfsf-binutils-gdb-ef02daa9e63e24a670a7d30166c33eb979ecf580.zip
fsf-binutils-gdb-ef02daa9e63e24a670a7d30166c33eb979ecf580.tar.gz
fsf-binutils-gdb-ef02daa9e63e24a670a7d30166c33eb979ecf580.tar.bz2
* frame.c (frame_func_unwind): Delete.
(get_frame_func): Do not use it. * frame.h (frame_func_unwind): Delete prototype. * hppa-tdep.c (hppa_frame_cache): Update comment. * rs6000-tdep.c (rs6000_frame_cache): Update comment.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 4c097a0..8e9b507 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -1894,9 +1894,9 @@ hppa_frame_cache (struct frame_info *this_frame, void **this_cache)
in hppa_skip_prologue will return a prologue end that is too early
for us to notice any potential frame adjustments. */
- /* We used to use frame_func_unwind () to locate the beginning of the
- function to pass to skip_prologue (). However, when objects are
- compiled without debug symbols, frame_func_unwind can return the wrong
+ /* We used to use get_frame_func to locate the beginning of the
+ function to pass to skip_prologue. However, when objects are
+ compiled without debug symbols, get_frame_func can return the wrong
function (or 0). We can do better than that by using unwind records.
This only works if the Region_description of the unwind record
indicates that it includes the entry point of the function.