aboutsummaryrefslogtreecommitdiff
path: root/gdb/sentinel-frame.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2008-02-18 16:37:17 +0000
committerMarkus Deuling <deuling@de.ibm.com>2008-02-18 16:37:17 +0000
commitcaaa79ad8928c84d7fa86da4307c58b38e33ff48 (patch)
treef7eb3975b5174a47e37031c3362762d45d67fd28 /gdb/sentinel-frame.c
parente38c262f357690271e9fa3a5d94909d17ee80865 (diff)
downloadbinutils-caaa79ad8928c84d7fa86da4307c58b38e33ff48.zip
binutils-caaa79ad8928c84d7fa86da4307c58b38e33ff48.tar.gz
binutils-caaa79ad8928c84d7fa86da4307c58b38e33ff48.tar.bz2
* sentinel-frame.c (sentinel_frame_prev_register): Do not call
register_offset_hack anymore. * regcache.{c,h} (register_offset_hack): Remove.
Diffstat (limited to 'gdb/sentinel-frame.c')
-rw-r--r--gdb/sentinel-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c
index bf199f5..ccf0359 100644
--- a/gdb/sentinel-frame.c
+++ b/gdb/sentinel-frame.c
@@ -54,7 +54,7 @@ sentinel_frame_prev_register (struct frame_info *next_frame,
onto the corresponding hardware register. */
*optimized = 0;
*lvalp = lval_register;
- *addrp = register_offset_hack (current_gdbarch, regnum);
+ *addrp = 0;
*realnum = regnum;
/* If needed, find and return the value of the register. */