testsuite/ChangeLog

2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.base/default.exp: Fix "show convenience".

doc/ChangeLog
2009-09-17  Paul Pluzhnikov  <ppluzhnikov@google.com>

	* gdb.texinfo (convenince variables): Mention
	$_siginfo could be empty.
This commit is contained in:
Paul Pluzhnikov 2009-09-17 17:49:46 +00:00
parent a413384257
commit ec7e75e760
4 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.texinfo (convenince variables): Mention
$_siginfo could be empty.
2009-09-15 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (GDB/MI Variable Objects): Document

View File

@ -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

View File

@ -1,3 +1,7 @@
2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/default.exp: Fix "show convenience".
2009-09-15 Tom Tromey <tromey@redhat.com>
* lib/mi-support.exp (mi_create_varobj): Update.

View File

@ -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