aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2007-06-07 05:00:42 +0000
committerVladimir Prus <vladimir@codesourcery.com>2007-06-07 05:00:42 +0000
commit632110b170821f06baf4eec34716b9ad7b1284f7 (patch)
treeb76b69b61b2ec096bba849447c368d7b2db99a68 /gdb/m68k-tdep.c
parentcd8ab8d1bf84dd23985d6f915b71ca4de856825e (diff)
downloadgdb-632110b170821f06baf4eec34716b9ad7b1284f7.zip
gdb-632110b170821f06baf4eec34716b9ad7b1284f7.tar.gz
gdb-632110b170821f06baf4eec34716b9ad7b1284f7.tar.bz2
* remote.c (process_g_packet): Don't check size.
* gdbarch.sh: Remove register_bytes_ok. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. (m68k_register_bytes_ok): Remove. (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index c96d4d5..9d9f334 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -54,10 +54,6 @@
#define P_MOVEL_SP 0x2f00
#define P_MOVEML_SP 0x48e7
-
-#define REGISTER_BYTES_FP (16*4 + 8 + 8*12 + 3*4)
-#define REGISTER_BYTES_NOFP (16*4 + 8)
-
/* Offset from SP to first arg on stack at first instruction of a function */
#define SP_ARG0 (1 * 4)
@@ -73,14 +69,6 @@ m68k_local_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
return break_insn;
}
-
-static int
-m68k_register_bytes_ok (long numbytes)
-{
- return ((numbytes == REGISTER_BYTES_FP)
- || (numbytes == REGISTER_BYTES_NOFP));
-}
-
/* Return the GDB type object for the "standard" data type of data in
register N. This should be int for D0-D7, SR, FPCONTROL and
FPSTATUS, long double for FP0-FP7, and void pointer for all others
@@ -1044,7 +1032,6 @@ m68k_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_register_type (gdbarch, m68k_register_type);
set_gdbarch_register_name (gdbarch, m68k_register_name);
set_gdbarch_num_regs (gdbarch, M68K_NUM_REGS);
- set_gdbarch_register_bytes_ok (gdbarch, m68k_register_bytes_ok);
set_gdbarch_sp_regnum (gdbarch, M68K_SP_REGNUM);
set_gdbarch_pc_regnum (gdbarch, M68K_PC_REGNUM);
set_gdbarch_ps_regnum (gdbarch, M68K_PS_REGNUM);