diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:44:24 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 11:44:24 +0000 |
commit | 6ba384252317623eac67489bfb810b158615fe5b (patch) | |
tree | 435b5a5f962845b90813919c57f47d2609ce759f /gdb/m68k-tdep.h | |
parent | 35488783c1f8b2732b9f8c1583d3056299eb6190 (diff) | |
download | gdb-6ba384252317623eac67489bfb810b158615fe5b.zip gdb-6ba384252317623eac67489bfb810b158615fe5b.tar.gz gdb-6ba384252317623eac67489bfb810b158615fe5b.tar.bz2 |
* m68k-tdep.h (m68kbsd_fpreg_offset): Add gdbarch parameter.
* m68kbsd-tdep.c (m68kbsd_fpreg_offset): Add gdbarch paramter.
Use it instead of current_gdbarch.
(m68kbsd_supply_fpregset): Update call.
* m68kbsd-nat.c (m68kbsd_supply_fpregset): Likewise.
(m68kbsd_collect_fpregset): Likewise.
Diffstat (limited to 'gdb/m68k-tdep.h')
-rw-r--r-- | gdb/m68k-tdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-tdep.h b/gdb/m68k-tdep.h index 1696d47..68e36f2 100644 --- a/gdb/m68k-tdep.h +++ b/gdb/m68k-tdep.h @@ -100,6 +100,6 @@ extern void m68k_svr4_init_abi (struct gdbarch_info, struct gdbarch *); /* Functions exported from m68kbsd-tdep.c. */ -extern int m68kbsd_fpreg_offset (int regnum); +extern int m68kbsd_fpreg_offset (struct gdbarch *gdbarch, int regnum); #endif /* m68k-tdep.h */ |