List displays in ascending order
authorPedro Alves <palves@redhat.com>
Tue, 24 Nov 2015 18:11:22 +0000 (18:11 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 24 Nov 2015 18:38:07 +0000 (18:38 +0000)
commit62147a2265e322c758743edf13a1377fdcb62479
treed4334a278d93c27446b07f93319a86a235f919ba
parent2f341b6e28e27fadd8160d95337c3aa854bcba3b
List displays in ascending order

Before:
      (gdb) info display
      Auto-display expressions now in effect:
      Num Enb Expression
      3:   y  1
      2:   y  1
      1:   y  1

After:
      (gdb) info display
      Auto-display expressions now in effect:
      Num Enb Expression
      1:   y  1
      2:   y  1
      3:   y  1

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.
gdb/ChangeLog
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/display.exp
gdb/testsuite/gdb.base/solib-display.exp
This page took 0.024481 seconds and 4 git commands to generate.