From: Daniel Jacobowitz Date: Wed, 5 Mar 2003 18:01:35 +0000 (+0000) Subject: * gdb.texinfo (Configuring the current ABI): Document "set cp-abi" X-Git-Tag: binutils-2_14-branchpoint~588 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f12122454eb21598da0cdebbeabfd2c076dc0641;p=platform%2Fupstream%2Fbinutils.git * gdb.texinfo (Configuring the current ABI): Document "set cp-abi" and "show cp-abi". --- 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 + Daniel Jacobowitz + + * gdb.texinfo (Configuring the current ABI): Document "set cp-abi" + and "show cp-abi". + 2003-03-03 Andrew Cagney * 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