summaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-05 11:44:24 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-05 11:44:24 +0000
commit6ba384252317623eac67489bfb810b158615fe5b (patch)
tree435b5a5f962845b90813919c57f47d2609ce759f /gdb/m68k-tdep.h
parent35488783c1f8b2732b9f8c1583d3056299eb6190 (diff)
* 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68k-tdep.h b/gdb/m68k-tdep.h
index 1696d47d86..68e36f2b29 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 */