/* Target-dependent code for Motorola 68000 BSD's.
- Copyright 2004 Free Software Foundation, Inc.
+ Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
struct regcache *regcache,
int regnum, const void *fpregs, size_t len)
{
- const char *regs = fpregs;
+ const gdb_byte *regs = fpregs;
int i;
gdb_assert (len >= M68KBSD_SIZEOF_FPREGS);
struct regcache *regcache,
int regnum, const void *gregs, size_t len)
{
- const char *regs = gregs;
+ const gdb_byte *regs = gregs;
int i;
gdb_assert (len >= M68KBSD_SIZEOF_GREGS);
return NULL;
}
-\f
-
-/* Support for shared libraries. */
-
-/* Return non-zero if we are in a shared library trampoline code stub. */
-
-int
-m68kbsd_aout_in_solib_call_trampoline (CORE_ADDR pc, char *name)
-{
- return (name && !strcmp (name, "_DYNAMIC"));
-}
-\f
static void
m68kbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
m68kbsd_init_abi (info, gdbarch);
tdep->struct_return = reg_struct_return;
-
- /* Assume SunOS-style shared libraries. */
- set_gdbarch_in_solib_call_trampoline
- (gdbarch, m68kbsd_aout_in_solib_call_trampoline);
}
/* NetBSD ELF. */