* gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines.

This commit is contained in:
Bob Wilson
2007-03-26 21:28:20 +00:00
parent 3f94c0676f
commit ae21e95527
2 changed files with 26 additions and 20 deletions

View File

@ -1,3 +1,7 @@
2007-03-26 Bob Wilson <bob.wilson@acm.org>
* gdb.texinfo (Omissions from Ada, Additions to Ada): Wrap long lines.
2007-03-26 Bob Wilson <bob.wilson@acm.org> 2007-03-26 Bob Wilson <bob.wilson@acm.org>
* gdb.texinfo (Invoking GDB): Use @value{GDBP}. * gdb.texinfo (Invoking GDB): Use @value{GDBP}.

View File

@ -10462,10 +10462,11 @@ Calls to dispatching subprograms are not implemented.
@item @item
The overloading algorithm is much more limited (i.e., less selective) The overloading algorithm is much more limited (i.e., less selective)
than that of real Ada. It makes only limited use of the context in which a subexpression than that of real Ada. It makes only limited use of the context in
appears to resolve its meaning, and it is much looser in its rules for allowing which a subexpression appears to resolve its meaning, and it is much
type matches. As a result, some function calls will be ambiguous, and the user looser in its rules for allowing type matches. As a result, some
will be asked to choose the proper resolution. function calls will be ambiguous, and the user will be asked to choose
the proper resolution.
@item @item
The @code{new} operator is not implemented. The @code{new} operator is not implemented.
@ -10490,19 +10491,19 @@ extensions to Ada (@pxref{Expressions}):
@itemize @bullet @itemize @bullet
@item @item
If the expression @var{E} is a variable residing in memory If the expression @var{E} is a variable residing in memory (typically
(typically a local variable or array element) and @var{N} is a local variable or array element) and @var{N} is a positive integer,
a positive integer, then @code{@var{E}@@@var{N}} displays the values of then @code{@var{E}@@@var{N}} displays the values of @var{E} and the
@var{E} and the @var{N}-1 adjacent variables following it in memory as an array. @var{N}-1 adjacent variables following it in memory as an array. In
In Ada, this operator is generally not necessary, since its prime use Ada, this operator is generally not necessary, since its prime use is
is in displaying parts of an array, and slicing will usually do this in Ada. in displaying parts of an array, and slicing will usually do this in
However, there are occasional uses when debugging programs Ada. However, there are occasional uses when debugging programs in
in which certain debugging information has been optimized away. which certain debugging information has been optimized away.
@item @item
@code{@var{B}::@var{var}} means ``the variable named @var{var} that appears @code{@var{B}::@var{var}} means ``the variable named @var{var} that
in function or file @var{B}.'' When @var{B} is a file name, you must typically appears in function or file @var{B}.'' When @var{B} is a file name,
surround it in single quotes. you must typically surround it in single quotes.
@item @item
The expression @code{@{@var{type}@} @var{addr}} means ``the variable of type The expression @code{@{@var{type}@} @var{addr}} means ``the variable of type
@ -10513,8 +10514,8 @@ A name starting with @samp{$} is a convenience variable
(@pxref{Convenience Vars}) or a machine register (@pxref{Registers}). (@pxref{Convenience Vars}) or a machine register (@pxref{Registers}).
@end itemize @end itemize
In addition, @value{GDBN} provides a few other shortcuts and outright additions specific In addition, @value{GDBN} provides a few other shortcuts and outright
to Ada: additions specific to Ada:
@itemize @bullet @itemize @bullet
@item @item
@ -10549,8 +10550,8 @@ in strings. For example,
"One line.["0a"]Next line.["0a"]" "One line.["0a"]Next line.["0a"]"
@end smallexample @end smallexample
@noindent @noindent
contains an ASCII newline character (@code{Ada.Characters.Latin_1.LF}) after each contains an ASCII newline character (@code{Ada.Characters.Latin_1.LF})
period. after each period.
@item @item
The subtype used as a prefix for the attributes @t{'Pos}, @t{'Min}, and The subtype used as a prefix for the attributes @t{'Pos}, @t{'Min}, and
@ -10564,7 +10565,8 @@ print 'max(x, y)
@item @item
When printing arrays, @value{GDBN} uses positional notation when the When printing arrays, @value{GDBN} uses positional notation when the
array has a lower bound of 1, and uses a modified named notation otherwise. array has a lower bound of 1, and uses a modified named notation otherwise.
For example, a one-dimensional array of three integers with a lower bound of 3 might print as For example, a one-dimensional array of three integers with a lower bound
of 3 might print as
@smallexample @smallexample
(3 => 10, 17, 1) (3 => 10, 17, 1)