[RFA] Improvements for sh double register display
Michael Snyder
msnyder@redhat.com
Tue Jul 15 22:35:00 GMT 2003
Andrew Cagney wrote:
>> > + char *raw_buffer;
>> > + double dbl;
>> > + int inv;
>> > > ! /* Allocate space for the float. */
>> > ! raw_buffer = (char *) alloca (2 * REGISTER_RAW_SIZE (FP0_REGNUM));
>>
>> Can you use something other than alloca here? Also, this will collide
>> in mid air with Corinna's revamp. Maybe you can revisit this after she
>> is done? Otherwise it's ok.
>
>
> Something like:
>
> char raw_buffer[MAX_REGISTER_SIZE * 2];
>
> will do the trick.
Wah -- didn't we just go to a bunch of trouble to get rid of those?
By "just", I suppose I mean a year or two ago...
More information about the Gdb-patches
mailing list