OSDN Git Service

* gdb.texinfo (Remote Protocol): Don't mention vCont;T.
authorPedro Alves <pedro@codesourcery.com>
Sun, 4 Oct 2009 17:37:57 +0000 (17:37 +0000)
committerPedro Alves <pedro@codesourcery.com>
Sun, 4 Oct 2009 17:37:57 +0000 (17:37 +0000)
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 79ace1e..12cd7e5 100644 (file)
@@ -1,12 +1,31 @@
-2009-09-30  Pierre Muller  <muller@ics.u-strasbg.fr>
+2009-10-04  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.texinfo (Remote Protocol): Don't mention vCont;T.
+
+2009-09-26  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK.
 
+2009-09-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * observer.texi (solib_unloaded): Document explicitly the fact that
+       this observer is called before the associated symbols are unloaded.
+
+2009-09-19  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * gdb.texinfo (GDB/MI Stack Manipulation): Document
+       -stack-list-variables.
+
 2009-09-18  Tom Tromey  <tromey@redhat.com>
 
        * gdb.texinfo (GDB/MI Variable Objects): -enable-pretty-printing
        is experimental.
 
+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
@@ -7041,7 +7060,7 @@ Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
 
        * Makefile.in, configure.in: removed traces of namesubdir,
          -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
-         copyrights to '92, '09, changed some from Cygnus to FSF.
+         copyrights to '92, changed some from Cygnus to FSF.
 
 Fri Dec 13 09:47:31 1991  John Gilmore  (gnu at cygnus.com)
 
index 29d6a7c..a659b65 100644 (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
@@ -23138,6 +23140,9 @@ The @var{show-values} argument must have a value of 0 or 1.  A value of
 0 means that only the names of the arguments are listed, a value of 1
 means that both names and values of the arguments are printed.
 
+Use of this command to obtain arguments in a single frame is
+deprecated in favor of the @samp{-stack-list-variables} command.
+
 @subsubheading @value{GDBN} Command
 
 @value{GDBN} does not have an equivalent command.  @code{gdbtk} has a
@@ -23322,6 +23327,9 @@ display the value of simple data types and create variable objects for
 other data types when the user wishes to explore their values in
 more detail.
 
+This command is deprecated in favor of the
+@samp{-stack-list-variables} command.
+
 @subsubheading @value{GDBN} Command
 
 @samp{info locals} in @value{GDBN}, @samp{gdb_get_locals} in @code{gdbtk}.
@@ -23342,6 +23350,31 @@ more detail.
 (gdb)
 @end smallexample
 
+@subheading The @code{-stack-list-variables} Command
+@findex -stack-list-variables
+
+@subsubheading Synopsis
+
+@smallexample
+ -stack-list-variables @var{print-values}
+@end smallexample
+
+Display the names of local variables and function arguments for the selected frame.  If
+@var{print-values} is 0 or @code{--no-values}, print only the names of
+the variables; if it is 1 or @code{--all-values}, print also their
+values; and if it is 2 or @code{--simple-values}, print the name,
+type and value for simple data types and the name and type for arrays,
+structures and unions.  
+
+@subsubheading Example
+
+@smallexample
+(gdb)
+-stack-list-variables --thread 1 --frame 0 --all-values
+^done,variables=[@{name="x",value="11"@},@{name="s",value="@{a = 1, b = 2@}"@}]
+(gdb)
+@end smallexample
+
 
 @subheading The @code{-stack-select-frame} Command
 @findex -stack-select-frame
@@ -28187,16 +28220,14 @@ Step.
 Step with signal @var{sig}.  The signal @var{sig} should be two hex digits.
 @item t
 Stop.
-@item T @var{sig}
-Stop with signal @var{sig}.  The signal @var{sig} should be two hex digits.
 @end table
 
 The optional argument @var{addr} normally associated with the 
 @samp{c}, @samp{C}, @samp{s}, and @samp{S} packets is
 not supported in @samp{vCont}.
 
-The @samp{t} and @samp{T} actions are only relevant in non-stop mode
-(@pxref{Remote Non-Stop}) and may be ignored by the stub otherwise.  
+The @samp{t} action is only relevant in non-stop mode
+(@pxref{Remote Non-Stop}) and may be ignored by the stub otherwise.
 A stop reply should be generated for any affected thread not already stopped.
 When a thread is stopped by means of a @samp{t} action,
 the corresponding stop reply should indicate that the thread has stopped with