aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-11-24 18:11:20 +0000
committerPedro Alves <palves@redhat.com>2015-11-24 18:36:09 +0000
commit050c224b67b0cb62a5620d294997254d5b6675f9 (patch)
treebda88fb03a8200420e8378fd23de716396eae23a /gdb/ChangeLog
parent2cc57ad8d14499775e4b9de4a3ffaf73ac728781 (diff)
downloadgdb-050c224b67b0cb62a5620d294997254d5b6675f9.zip
gdb-050c224b67b0cb62a5620d294997254d5b6675f9.tar.gz
gdb-050c224b67b0cb62a5620d294997254d5b6675f9.tar.bz2
Linux: dump the signalled thread first
... like the kernel does. gcore-thread.exp has a check to make sure the signalled thread is the current thread after loading the core back, but that just works by accident, because the signalled thread happened to be the last thread on the thread list, and gdb currently iterates over threads in reverse order. So this fixes gcore-thread.exp once we start walking threads in ascending number. gdb/ChangeLog: 2015-11-24 Pedro Alves <palves@redhat.com> * linux-tdep.c (find_stop_signal): Delete. (struct linux_corefile_thread_data) <pid>: Remove field. (linux_corefile_thread_callback): Rename to ... (linux_corefile_thread): ... this. Now takes a struct linux_corefile_thread_data pointer rather than a void pointer. Remove thread state and thread pid checks. (linux_make_corefile_notes): Prefer dumping the signalled thread first. Use ALL_NON_EXITED_THREADS instead of iterate_over_threads.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bc1a29e..9a79b05 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,15 @@
+2015-11-24 Pedro Alves <palves@redhat.com>
+
+ * linux-tdep.c (find_stop_signal): Delete.
+ (struct linux_corefile_thread_data) <pid>: Remove field.
+ (linux_corefile_thread_callback): Rename to ...
+ (linux_corefile_thread): ... this. Now takes a struct
+ linux_corefile_thread_data pointer rather than a void pointer.
+ Remove thread state and thread pid checks.
+ (linux_make_corefile_notes): Prefer dumping the signalled thread
+ first. Use ALL_NON_EXITED_THREADS instead of
+ iterate_over_threads.
+
2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
* breakpoint.c (tracepoint_print_recreate): Fix logic error