From: Markus Deuling Date: Wed, 7 Nov 2007 06:44:50 +0000 (+0000) Subject: 2007-11-07 Markus Deuling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c85419665bcce175400fe8b7534a37368ca604a9;p=binutils-gdb.git 2007-11-07 Markus Deuling * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dc3d669923e..63fe58332eb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-11-07 Markus Deuling + + * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove. + 2007-11-07 Markus Deuling * s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h index 3f8b8cb5417..81de7cd0ba2 100644 --- a/gdb/xtensa-tdep.h +++ b/gdb/xtensa-tdep.h @@ -105,9 +105,6 @@ typedef struct xtensa_elf_greg_t ar[0]; /* variable size (per config). */ } xtensa_elf_gregset_t; -#define SIZEOF_GREGSET (sizeof (xtensa_elf_gregset_t) + gdbarch_tdep (current_gdbarch)->num_aregs * 4) -#define XTENSA_ELF_NGREG (SIZEOF_GREGSET / sizeof(xtensa_elf_greg_t)) - /* Mask. */