This is the mail archive of the gdb-patches@sources.redhat.com 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] Generic register_virtual_size function.


> Argh -- this is what I meant to say...
> 
> Michael Snyder wrote:
> 
>> 
>> This idea occurred to me after looking at Andrew's
>> generic version of register_raw_size:
>> 
>> 2001-12-10  Michael Snyder  <msnyder@redhat.com>
>> 
>> * arch-utils.c (generic_register_virtual_size): New function.
>> * arch-utils.h: Export generic version of register_virtual_size.
>> * gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default.
>> * gdbarch.c: Regenerate.


Yes! register_virtual_size() is, on paper, completly redundant.

	Andrew


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