This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Add vector type flag to stabsread.c
Jim Blandy wrote:
>
> Elena Zannoni <ezannoni@redhat.com> writes:
> > OK.
> > Should the stabs doc be updated? Who controls that?
>
> Yes. Us. :)
OK, how's this?
2002-05-08 Michael Snyder <msnyder@redhat.com>
* stabs.texinfo (Attributes): Document new "vector" attribute.
Index: stabs.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/stabs.texinfo,v
retrieving revision 1.5
diff -p -r1.5 stabs.texinfo
*** stabs.texinfo 30 Dec 2001 06:25:16 -0000 1.5
--- stabs.texinfo 8 May 2002 20:36:35 -0000
*************** Indicate that this type is a string inst
*** 287,292 ****
--- 287,298 ----
or a bitstring instead of a set. It doesn't change the layout of the
data being represented, but does enable the debugger to know which type
it is.
+
+ @item V
+ Indicate that this type is a vector instead of an array. The only
+ major difference between vectors and arrays is that vectors are
+ passed by value instead of by reference (vector coprocessor extension).
+
@end table
All of this can make the string field quite long. All versions of GDB,