diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-12-03 15:38:46 +0100 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-12-03 15:38:46 +0100 |
commit | ff1eb2b544c8500f48eff3418ac1e005acd5e3fe (patch) | |
tree | ded3bf7baa2645ebab06b44173d15cb308993855 /gdb/ChangeLog | |
parent | 75783939d7bd00c4e0086e5b7e536fb88f4e9d27 (diff) | |
download | gdb-ff1eb2b544c8500f48eff3418ac1e005acd5e3fe.zip gdb-ff1eb2b544c8500f48eff3418ac1e005acd5e3fe.tar.gz gdb-ff1eb2b544c8500f48eff3418ac1e005acd5e3fe.tar.bz2 |
Use core regset iterators on Sparc Solaris
Remove native-only core file handling on Sparc Solaris. Instead,
enable the sparc target generic core regset logic on Solaris by
providing appropriate register offset maps.
Thanks to Joel Brobecker for testing!
gdb/
* config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o.
* sparc-sol2-tdep.c: Include "regset.h".
(sparc32_sol2_supply_core_gregset): New function.
(sparc32_sol2_collect_core_gregset): Likewise.
(sparc32_sol2_supply_core_fpregset): Likewise.
(sparc32_sol2_collect_core_fpregset): Likewise.
(sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables.
(sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
tdep->fpregset/sizeof_fpregset.
* sparc64-sol2-tdep.c: Include "regset.h".
(sparc64_sol2_supply_core_gregset): New function.
(sparc64_sol2_collect_core_gregset): Likewise.
(sparc64_sol2_supply_core_fpregset): Likewise.
(sparc64_sol2_collect_core_fpregset): Likewise.
(sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables.
(sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and
tdep->fpregset/sizeof_fpregset.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5e1e43f..ebb36b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,23 @@ +2014-12-03 Ulrich Weigand <uweigand@de.ibm.com> + + * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o. + * sparc-sol2-tdep.c: Include "regset.h". + (sparc32_sol2_supply_core_gregset): New function. + (sparc32_sol2_collect_core_gregset): Likewise. + (sparc32_sol2_supply_core_fpregset): Likewise. + (sparc32_sol2_collect_core_fpregset): Likewise. + (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables. + (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and + tdep->fpregset/sizeof_fpregset. + * sparc64-sol2-tdep.c: Include "regset.h". + (sparc64_sol2_supply_core_gregset): New function. + (sparc64_sol2_collect_core_gregset): Likewise. + (sparc64_sol2_supply_core_fpregset): Likewise. + (sparc64_sol2_collect_core_fpregset): Likewise. + (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables. + (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and + tdep->fpregset/sizeof_fpregset. + 2014-12-03 Simon Marchi <simon.marchi@ericsson.com> * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor |