aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2017-12-13 22:36:42 -0500
committerJoel Brobecker <brobecker@adacore.com>2017-12-13 23:00:03 -0500
commite05fa6f9df82886043e1f1df30e0b9be3fee2d55 (patch)
tree448b0849c1e54c331c8d8f37993cbd0363662f4c /gdb/ChangeLog
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-e05fa6f9df82886043e1f1df30e0b9be3fee2d55.tar.gz
binutils-gdb-e05fa6f9df82886043e1f1df30e0b9be3fee2d55.tar.bz2
binutils-gdb-e05fa6f9df82886043e1f1df30e0b9be3fee2d55.zip
(Ada) Add support for task switching when debugging core files
The reasons for not supporting task switching when debugging core files appear to now mostly be OBE. In particular, on GNU/Linux, the thread layer is now able to retrieve the same thread info as in the live process. So, this patch is mostly about just removing the guard that limited the use of task switching to live processes. gdb/ChangeLog: * ada-tasks.c (read_atcb): Properly set task_info->ptid when !target_has_execution as well. (task_command): Remove error when !target_has_execution. gdb/testsuite/ChangeLog: * gdb.ada/task_switch_in_core: New testcase.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3a730c83bd9..cca1af9fc58 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-14 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-tasks.c (read_atcb): Properly set task_info->ptid
+ when !target_has_execution as well.
+ (task_command): Remove error when !target_has_execution.
+
2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
* location.h (string_to_event_location): Add match_type