[patch/rfc] Add functions to construct struct/union builtin_types.

Andrew Cagney ac131313@cygnus.com
Sat Mar 16 17:45:00 GMT 2002


Hello,

The attached adds two functions:

init_composite_type()

	Creates an empty struc/union type.

append_composite_type_field()

	Appends an extra field to a struct/union type

to gdbtypes.[hc].  I got anoyed at the (I think is) cumbersom way that 
composite types are created in builtin types (Look for v4si et.al.).

I've two bits of code pending that will use it:

	-	$gdbframe

	-	code for the MMX registers
		(the original was written by either JimB or FernandoN)

thoughts?

If no one says ``boo'' I'll check it in in a few days.

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020316/626dad97/attachment.ksh>


More information about the Gdb-patches mailing list