From ec7e75e76075c3d35c8abfa58acbb6abac2c9932 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 17 Sep 2009 17:49:46 +0000 Subject: [PATCH] testsuite/ChangeLog 2009-09-17 Paul Pluzhnikov * gdb.base/default.exp: Fix "show convenience". doc/ChangeLog 2009-09-17 Paul Pluzhnikov * gdb.texinfo (convenince variables): Mention $_siginfo could be empty. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 6 ++++-- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/default.exp | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 5d297b62b5e..d4d12758a42 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-09-17 Paul Pluzhnikov + + * gdb.texinfo (convenince variables): Mention + $_siginfo could be empty. + 2009-09-15 Tom Tromey * gdb.texinfo (GDB/MI Variable Objects): Document diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 5a5f542eb08..10640f98f53 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -7819,8 +7819,10 @@ the program being debugged terminates. @item $_siginfo @vindex $_siginfo@r{, convenience variable} -The variable @code{$_siginfo} is bound to extra signal information -inspection (@pxref{extra signal information}). +The variable @code{$_siginfo} contains extra signal information +(@pxref{extra signal information}). Note that @code{$_siginfo} +could be empty, if the application has not yet received any signals. +For example, it will be empty before you execute the @code{run} command. @end table On HP-UX systems, if you refer to a function or variable name that diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b9039dfd6b3..d4b706e4801 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-09-17 Paul Pluzhnikov + + * gdb.base/default.exp: Fix "show convenience". + 2009-09-15 Tom Tromey * lib/mi-support.exp (mi_create_varobj): Update. diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index a223982be01..a0cb11e758a 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -598,7 +598,7 @@ gdb_test "show complaints" "Max number of complaints about incorrect symbols is #test show confirm gdb_test "show confirm" "Whether to confirm potentially dangerous operations is o\[a-z\]*." "show confirm" #test show convenience -gdb_test "show convenience" "No debugger convenience variables now defined.(\[^\r\n\]*\[\r\n\])+Convenience variables have names starting with \".\";(\[^\r\n\]*\[\r\n\])+use \"set\" as in \"set .foo = 5\" to define them." "show convenience" +gdb_test "show convenience" "\\\$_siginfo = void" "show convenience" #test show directories gdb_test "show directories" "Source directories searched: .cdir\[:;\].cwd" "show directories" #test show editing -- 2.30.2