aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-10-21 18:46:06 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-10-21 18:46:06 +0000
commit6cda5a20820e95cf01d510f2478cd4b992cf416b (patch)
tree1f86f3e9188b87abc598192682cc9c4d394c1e9f /gdb/testsuite/ChangeLog
parent5ed9db04f86f3eb360956052f6beea3aefd585aa (diff)
downloadgdb-6cda5a20820e95cf01d510f2478cd4b992cf416b.zip
gdb-6cda5a20820e95cf01d510f2478cd4b992cf416b.tar.gz
gdb-6cda5a20820e95cf01d510f2478cd4b992cf416b.tar.bz2
[Ada] Fix number of lines in -ada-task-info output
When using the new -ada-task-info command with an argument, the output would say that there are N entries in the returned table, (where N is the total number of tasks present in the inferior). But, in fact, the table would only contain at most 1 entry. This patch fixes this by properly computing the number of tasks being displayed before giving it to the uiout. gdb/ChangeLog: * ada-tasks.c (print_ada_task_info): Fix computation of number of tasks displayed in command output. gdb/testsuite/ChangeLog: * gdb.ada/mi_task_info/task_switch.adb: New file. * gdb.ada/mi_task_info.exp: New file.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r--gdb/testsuite/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f027791..3b71f14 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-21 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.ada/mi_task_info/task_switch.adb: New file.
+ * gdb.ada/mi_task_info.exp: New file.
+
2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.cp/expand-psymtabs-cxx.exp: New file.