From 3a642a828ff55510a24bfbc106109a4ea5fcee95 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Thu, 12 Aug 1993 20:17:33 +0000 Subject: [PATCH] * stabs.texinfo: Point to mangling info in gcc's gpcompare.texi. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/stabs.texinfo | 21 ++++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 8914851a25e..adee6ec6ce4 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 12 15:11:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabs.texinfo: Point to mangling info in gcc's gpcompare.texi. + Tue Aug 10 16:57:49 1993 Stan Shebs (shebs@rtl.cygnus.com) * gdbint.texinfo: Removed many nonsensical machine-collected diff --git a/gdb/doc/stabs.texinfo b/gdb/doc/stabs.texinfo index d0db48d4e0e..3af5643652a 100644 --- a/gdb/doc/stabs.texinfo +++ b/gdb/doc/stabs.texinfo @@ -2324,13 +2324,20 @@ baseA::Ameth(int in, char other) This method definition yields three stabs following the code of the -method. One stab describes the method itself and following two -describe its parameters. Although there is only one formal argument -all methods have an implicit argument which is the `this' pointer. -The `this' pointer is a pointer to the object on which the method was -called. Note that the method name is mangled to encode the class name -and argument types. << Name mangling is not described by this -document - Is there already such a doc? >> +method. One stab describes the method itself and following two describe +its parameters. Although there is only one formal argument all methods +have an implicit argument which is the `this' pointer. The `this' +pointer is a pointer to the object on which the method was called. Note +that the method name is mangled to encode the class name and argument +types. Name mangling is described in the @sc{arm} (@cite{The Annotated +C++ Reference Manual}, by Ellis and Stroustrup, @sc{isbn} +0-201-51459-1); @file{gpcompare.texi} in Cygnus GCC distributions +describes the differences between @sc{gnu} mangling and @sc{arm} +mangling. +@c FIXME: Use @xref, especially if this is generally installed in the +@c info tree. +@c FIXME: This information should be in a net release, either of GCC or +@c GDB. But gpcompare.texi doesn't seem to be in the FSF GCC. @example .stabs "name:symbol_desriptor(global function)return_type(int)", -- 2.30.2