diff options
author | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:53:41 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:53:41 +0000 |
commit | 9970f04b039f5b71319c17f15231b15d23bed38a (patch) | |
tree | d9cf8fee68535f94ed017e366fb13c8be7224726 /gdb/xstormy16-tdep.c | |
parent | 0b9dfe2bb3153eaac5ecff3044251183fa6abaa7 (diff) | |
download | gdb-9970f04b039f5b71319c17f15231b15d23bed38a.zip gdb-9970f04b039f5b71319c17f15231b15d23bed38a.tar.gz gdb-9970f04b039f5b71319c17f15231b15d23bed38a.tar.bz2 |
2007-11-07 Markus Deuling <deuling@de.ibm.com>
* shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use
get_regcache_arch to get at the current architecture by regcache.
* xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch
to get at the current architecture by frame_info.
* fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get
at the current architecture by regcache.
* gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at
the current architecture by frame_info.
(build_gdb_vtable_type): Replace current_gdbarch by gdbarch.
* aix-thread.c (special_register_p): Add gdbarch as parameter.
(fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to
caller of special_register_p.
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r-- | gdb/xstormy16-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index 42d8546..21d9cc3 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -706,7 +706,7 @@ xstormy16_frame_prev_register (struct frame_info *next_frame, { /* Read the value in from memory. */ read_memory (*addrp, valuep, - register_size (current_gdbarch, regnum)); + register_size (get_frame_arch (next_frame), regnum)); } return; } |