* gdb.texinfo (Configuring the current ABI): Document "set cp-abi"

and "show cp-abi".
This commit is contained in:
Daniel Jacobowitz 2003-03-05 18:01:35 +00:00
parent e4adbba915
commit f12122454e
2 changed files with 32 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2003-03-05 James Ingham <jingham@apple.com>
Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo (Configuring the current ABI): Document "set cp-abi"
and "show cp-abi".
2003-03-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document

View File

@ -12846,6 +12846,32 @@ Arguments of type @code{float} will be passed directly to unprototyped
functions.
@end table
@kindex set cp-abi
@kindex show cp-abi
@value{GDBN} needs to know the ABI used for your program's C@t{++}
objects. The correct C@t{++} ABI depends on which C@t{++} compiler was
used to build your application. @value{GDBN} only fully supports
programs with a single C@t{++} ABI; if your program contains code using
multiple C@t{++} ABI's or if @value{GDBN} can not identify your
program's ABI correctly, you can tell @value{GDBN} which ABI to use.
Currently supported ABI's include ``gnu-v2'', for @code{g++} versions
before 3.0, ``gnu-v3'', for @code{g++} versions 3.0 and later, and
``hpaCC'' for the HP ANSI C@t{++} compiler. Other C@t{++} compilers may
use the ``gnu-v2'' or ``gnu-v3'' ABI's as well. The default setting is
``auto''.
@table @code
@item show cp-abi
Show the C@t{++} ABI currently in use.
@item set cp-abi
With no argument, show the list of supported C@t{++} ABI's.
@item set cp-abi @var{abi}
@itemx set cp-abi auto
Set the current C@t{++} ABI to @var{abi}, or return to automatic detection.
@end table
@node Messages/Warnings
@section Optional warnings and messages