diff options
author | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:44:50 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:44:50 +0000 |
commit | c85419665bcce175400fe8b7534a37368ca604a9 (patch) | |
tree | 16a33157e66a1bcfa3026e58c628fc2a96001c05 | |
parent | 8fe9ea88f1c1a9466af1a78a3219b9e4d15a2e26 (diff) | |
download | gdb-c85419665bcce175400fe8b7534a37368ca604a9.zip gdb-c85419665bcce175400fe8b7534a37368ca604a9.tar.gz gdb-c85419665bcce175400fe8b7534a37368ca604a9.tar.bz2 |
2007-11-07 Markus Deuling <deuling@de.ibm.com>
* xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/xtensa-tdep.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dc3d669..63fe583 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2007-11-07 Markus Deuling <deuling@de.ibm.com> + * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove. + +2007-11-07 Markus Deuling <deuling@de.ibm.com> + * s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to get at the current architecture by regcache. (SUBOFF): Add gdbarch to macro definition. diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h index 3f8b8cb..81de7cd 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. */ |