]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/gdb.base/display.exp
2011-08-09 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Tue, 9 Aug 2011 16:21:18 +0000 (16:21 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 9 Aug 2011 16:21:18 +0000 (16:21 +0000)
commit9d8fa392330553fe114ae4137d15415aee2c547c
treea251e1e85a474b5acd1b00845f79d38480ca1a6a
parentb5503c7b66594da3ea6036c2a76aa42ee1c930c6
2011-08-09  Pedro Alves  <pedro@codesourcery.com>

gdb/
* printcmd.c (current_display_number): Update comment.
(disable_current_display_cleanup): Delete.
(do_one_display): Use make_cleanup_restore_integer.  Gracefully
catch errors thrown while evaluating and printing the display.

gdb/testsuite/
* gdb.base/display.c (do_loops): New `p_i' local.
* gdb.base/display.exp: Test displaying a variable that is
temporarily at a bad address.
gdb/ChangeLog
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/display.c
gdb/testsuite/gdb.base/display.exp