diff options
author | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2004-01-26 19:11:55 +0000 |
commit | 02f7156281e8b99504f335f55b29aa6ae307488b (patch) | |
tree | 83f502bee114165d0ca14a4ac612c2d8ae172e13 /gdb/m68k-tdep.c | |
parent | fcc929ef86456cb1cda90b1391209eed2446943d (diff) | |
download | gdb-02f7156281e8b99504f335f55b29aa6ae307488b.tar.gz |
2004-01-26 David Carlton <carlton@kealia.com>cvs/carlton_dictionary-branchcarlton_dictionary-branch
* Merge with mainline; tag is carlton_dictionary-20040126-merge.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r-- | gdb/m68k-tdep.c | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index e5b41a9a32e..7938426d985 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -1,7 +1,7 @@ /* Target dependent code for the Motorola 68000 series. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001, - 2002, 2003 - Free Software Foundation, Inc. + + Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -69,17 +69,6 @@ #endif -/* gdbarch_breakpoint_from_pc is set to m68k_local_breakpoint_from_pc - so m68k_remote_breakpoint_from_pc is currently not used. */ - -static const unsigned char * -m68k_remote_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) -{ - static unsigned char break_insn[] = {0x4e, (0x40 | REMOTE_BPT_VECTOR)}; - *lenptr = sizeof (break_insn); - return break_insn; -} - static const unsigned char * m68k_local_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) { @@ -144,20 +133,6 @@ m68k_register_name (int regnum) else return register_names[regnum]; } - -/* Index within `registers' of the first byte of the space for - register regnum. */ - -static int -m68k_register_byte (int regnum) -{ - if (regnum >= M68K_FPC_REGNUM) - return (((regnum - M68K_FPC_REGNUM) * 4) + 168); - else if (regnum >= FP0_REGNUM) - return (((regnum - FP0_REGNUM) * 12) + 72); - else - return (regnum * 4); -} /* Extract from an array REGBUF containing the (raw) register state, a function return value of TYPE, and copy that, in virtual format, @@ -1103,8 +1078,6 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_long_double_format (gdbarch, &floatformat_m68881_ext); set_gdbarch_long_double_bit (gdbarch, 96); - set_gdbarch_function_start_offset (gdbarch, 0); - set_gdbarch_skip_prologue (gdbarch, m68k_skip_prologue); #ifdef SYSCALL_TRAP set_gdbarch_deprecated_saved_pc_after_call (gdbarch, m68k_saved_pc_after_call); |