aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2014-05-20 15:22:53 +0200
committerMarkus Metzger <markus.t.metzger@intel.com>2014-06-25 09:57:16 +0200
commit5fff78c4e0d938bb4fc1375792ffae02a134943c (patch)
tree21331de5e48cb6494002c76afa174a00051ea1ed /binutils
parent1d1f1ccb331f1fe9825c3bb6f6231a3aeb560d6f (diff)
downloadgdb-5fff78c4e0d938bb4fc1375792ffae02a134943c.zip
gdb-5fff78c4e0d938bb4fc1375792ffae02a134943c.tar.gz
gdb-5fff78c4e0d938bb4fc1375792ffae02a134943c.tar.bz2
gcore, target: allow target to prepare/cleanup for/after core file generation
Add new target functions to_prepare_to_generate_core and to_done_generating_core that are called before and after generating a core file, respectively. This allows targets to prepare for core file generation and to clean up afterwards. gdb/ * target.h (target_ops) <to_prepare_to_generate_core> <to_done_generating_core>: New. (target_prepare_to_generate_core, target_done_generating_core): New. * target.c (target_prepare_to_generate_core) (target_done_generating_core): New. * target-delegates.c: Regenerate. * gcore.c: (write_gcore_file): Rename to ... (write_gcore_file_1): ...this. (write_gcore_file): Call target_prepare_to_generate_core and target_done_generating_core.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions