2003-01-30 Andrew Cagney <ac131313@redhat.com>
* stabs.texinfo (Member Type Descriptor): Clarify description of `@'. Suggested by Ben Hutchings.
This commit is contained in:
parent
7f6104a94d
commit
6b894e4992
|
@ -1,3 +1,8 @@
|
||||||
|
2003-01-30 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
* stabs.texinfo (Member Type Descriptor): Clarify description of
|
||||||
|
`@'. Suggested by Ben Hutchings.
|
||||||
|
|
||||||
2003-01-29 Andrew Cagney <ac131313@redhat.com>
|
2003-01-29 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* gdb.texinfo (Maintenance Commands): Document `maint print
|
* gdb.texinfo (Maintenance Commands): Document `maint print
|
||||||
|
|
|
@ -2724,11 +2724,22 @@ compiler it can also be used in other contexts.
|
||||||
@node Member Type Descriptor
|
@node Member Type Descriptor
|
||||||
@section The @samp{@@} Type Descriptor
|
@section The @samp{@@} Type Descriptor
|
||||||
|
|
||||||
The @samp{@@} type descriptor is for a member (class and variable) type.
|
The @samp{@@} type descriptor is used together with the @samp{*} type
|
||||||
It is followed by type information for the offset basetype, a comma, and
|
descriptor for a pointer-to-non-static-member-data type. It is followed
|
||||||
type information for the type of the field being pointed to. (FIXME:
|
by type information for the class (or union), a comma, and type
|
||||||
this is acknowledged to be gibberish. Can anyone say what really goes
|
information for the member data.
|
||||||
here?).
|
|
||||||
|
The following C++ source:
|
||||||
|
|
||||||
|
@smallexample
|
||||||
|
typedef int A::*int_in_a;
|
||||||
|
@end smallexample
|
||||||
|
|
||||||
|
generates the following stab:
|
||||||
|
|
||||||
|
@smallexample
|
||||||
|
.stabs "int_in_a:t20=*21=@@19,1",128,0,0,0
|
||||||
|
@end smallexample
|
||||||
|
|
||||||
Note that there is a conflict between this and type attributes
|
Note that there is a conflict between this and type attributes
|
||||||
(@pxref{String Field}); both use type descriptor @samp{@@}.
|
(@pxref{String Field}); both use type descriptor @samp{@@}.
|
||||||
|
|
Loading…
Reference in New Issue