aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-07-21 15:33:45 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2014-08-07 17:31:50 +0200
commitc5741217d390041fc43ca83ad00b07355d40e9ad (patch)
tree5a2edaadbeb286bf6c1ff5fcb86d4fc6d78f5a5f /gdb/ChangeLog
parent81580573ba47d0047d76d4fddabe150b49ee3b54 (diff)
downloadgdb-c5741217d390041fc43ca83ad00b07355d40e9ad.zip
gdb-c5741217d390041fc43ca83ad00b07355d40e9ad.tar.gz
gdb-c5741217d390041fc43ca83ad00b07355d40e9ad.tar.bz2
SCORE: Fill 'collect_regset' in regset structure.
Also rewrite the 'supply_regset' method, making it platform independent. To avoid code duplication, move the logic for both to a register map in regcache_map_entry format.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog15
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc0cee5..808887e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,20 @@
2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
+ * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
+ that calls regcache_supply_regset and handles the EPC register
+ separately. Move main logic to...
+ (score7_linux_gregmap): ... this new register map.
+ (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
+ (score7_linux_gregset): Refer to register map. Add collect method.
+ (score7_linux_regset_from_core_section): Replace
+ sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
+ * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
+ (struct regset): Delete unused forward declaraction.
+ (struct pt_regs): Delete structure definition.
+ (elf_gregset_t): Delete typedef.
+
+2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
* nios2-linux-tdep.c (nios2_collect_gregset): New function.
(nios2_core_regset): Add collect method.