diff options
author | Pedro Alves <palves@redhat.com> | 2015-11-24 18:11:22 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-11-24 18:37:26 +0000 |
commit | 2f341b6e28e27fadd8160d95337c3aa854bcba3b (patch) | |
tree | 2b7e0d566bf015e2db673b33f4c19298499f9137 /gdb/printcmd.c | |
parent | 7e0aa6aa9983c745aedc203db0cc360a0ad47cac (diff) | |
download | gdb-2f341b6e28e27fadd8160d95337c3aa854bcba3b.zip gdb-2f341b6e28e27fadd8160d95337c3aa854bcba3b.tar.gz gdb-2f341b6e28e27fadd8160d95337c3aa854bcba3b.tar.bz2 |
List checkpoints in ascending order
Before:
(gdb) info checkpoints
3 process 29132 at 0x4008ad, file foo.c, line 81
2 process 29131 at 0x4008ad, file foo.c, line 81
1 process 29130 at 0x4008ad, file foo.c, line 81
* 0 Thread 0x7ffff7fc5740 (LWP 29128) (main process) at 0x4008ad, file foo.c, line 81
After:
(gdb) info checkpoints
* 0 Thread 0x7ffff7fc5740 (LWP 29128) (main process) at 0x4008ad, file foo.c, line 81
1 process 29130 at 0x4008ad, file foo.c, line 81
2 process 29131 at 0x4008ad, file foo.c, line 81
3 process 29132 at 0x4008ad, file foo.c, line 81
gdb/ChangeLog:
2015-11-24 Pedro Alves <palves@redhat.com>
PR 17539
* printcmd.c (display_command): Append new display at the end of
the list.
gdb/testsuite/ChangeLog:
2015-11-24 Pedro Alves <palves@redhat.com>
PR 17539
* gdb.base/display.exp: Expect displays to be sorted in ascending
order. Use multi_line.
* gdb.base/solib-display.exp: Likewise.
Diffstat (limited to 'gdb/printcmd.c')
0 files changed, 0 insertions, 0 deletions