This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]