aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-10-04 12:44:01 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2017-10-04 12:44:01 -0400
commit4c71c1059f876fcca9809f7b6372b721ddb83635 (patch)
tree36a46dcff03672071dff54be9542c47f35e7660e /gdb/ChangeLog
parent73dcd72d4eeec176f769660ddcdefd1f25d0a2ec (diff)
downloadgdb-4c71c1059f876fcca9809f7b6372b721ddb83635.zip
gdb-4c71c1059f876fcca9809f7b6372b721ddb83635.tar.gz
gdb-4c71c1059f876fcca9809f7b6372b721ddb83635.tar.bz2
Fix -list-thread-groups --available logic and add test
New in v3: - Replace use_gdb_stub with can_spawn_for_attach. - Call kill_wait_spawned_process on spawn_ids. Commit Use std::set in mi-main.c 52f9abe4c739f42cc5f80b2629276493ac6306f9 changed the logic of the "-list-thread-groups --available" by mistake when a pid is passed. It prints all the processes except the one specified by the given pid. The correct behavior is to only print the process corresponding to that pid. this patch fixes that and adds a test. gdb/ChangeLog: * mi/mi-main.c (list_available_thread_groups): Reverse filter logic. gdb/testsuite/ChangeLog: * gdb.mi/list-thread-groups-available.exp: New file. * gdb.mi/list-thread-groups-available.c: New file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 87f84ca..37d86ae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
+
+ * mi/mi-main.c (list_available_thread_groups): Reverse filter logic.
+
2017-10-04 Pedro Alves <palves@redhat.com>
* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Move code