diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-03-05 18:01:35 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-03-05 18:01:35 +0000 |
commit | f12122454eb21598da0cdebbeabfd2c076dc0641 (patch) | |
tree | 8f2c60bdb691e7c879bbb429dbaa4db9edcb7e3c | |
parent | e4adbba915b3e74f7c60b33febde7994dbb83e17 (diff) | |
download | gdb-f12122454eb21598da0cdebbeabfd2c076dc0641.zip gdb-f12122454eb21598da0cdebbeabfd2c076dc0641.tar.gz gdb-f12122454eb21598da0cdebbeabfd2c076dc0641.tar.bz2 |
* gdb.texinfo (Configuring the current ABI): Document "set cp-abi"
and "show cp-abi".
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 26 |
2 files changed, 32 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 7772b3e..dbdd1ba 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -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 diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0bad40b..25c0a93 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 |