[PATCH] Fix jit.exp on most 32-bit targets.

Tom Tromey tromey@redhat.com
Tue Oct 11 19:20:00 GMT 2011


>>>>> "David" == David Miller <davem@davemloft.net> writes:

David> We're going to have to, at some point, have gdb be able to properly
David> lay out structures, unions, and other data structures, as well as do
David> the work of passing arguments and receiving return values,
David> generically.  And this is a sort-of micro-step in that direction.

Yeah, it would be useful to be able to create structure types at
runtime.

Actually, we do have a bit of this, see e.g.,
append_composite_type_field_aligned in gdbtypes.c.  I don't think it is
fully generic yet, but rather just enough for a few arch-specific
types to work.

Tom



More information about the Gdb-patches mailing list