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.


From: Tom Tromey <tromey@redhat.com>
Date: Tue, 11 Oct 2011 10:17:11 -0600

>>>>>> "David" == David Miller <davem@davemloft.net> writes:
> 
> David> 2011-10-10  David S. Miller  <davem@davemloft.net>
> David> 	* gdbarch.sh: New field 'long_long_align_bit'.
> David> 	* gdbarch.c, gdbarch.h: Regenerate.
> David> 	* i386-tdep.c (i386_gdbarch_init): Set long_long_align_bit to 32.
> David> 	* jit.c (jit_read_code_entry): Use it to determine correct size offset.
> 
> Ok.  Thanks.

Thanks for reviewing.

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

And once we have such generic facilities, bugs like this JIT thing
won't even be possible. :-)



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