* [RFA]: fix for sizeof operator for ia64
@ 2003-06-10 21:40 J. Johnston
2003-06-11 19:05 ` Mark Kettenis
2003-06-11 21:30 ` Kevin Buettner
0 siblings, 2 replies; 4+ messages in thread
From: J. Johnston @ 2003-06-10 21:40 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 270 bytes --]
The attached patch fixes the number of bits for a ia64 long double.
This fixes the sizeof.exp testcase in gdb.base.
Ok to commit?
-- Jeff J.
2003-06-10 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128.
[-- Attachment #2: ia64-tdep.patch --]
[-- Type: text/plain, Size: 644 bytes --]
Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.83
diff -u -p -r1.83 ia64-tdep.c
--- ia64-tdep.c 9 Jun 2003 17:35:57 -0000 1.83
+++ ia64-tdep.c 10 Jun 2003 21:19:07 -0000
@@ -2243,7 +2243,7 @@ ia64_gdbarch_init (struct gdbarch_info i
set_gdbarch_long_long_bit (gdbarch, 64);
set_gdbarch_float_bit (gdbarch, 32);
set_gdbarch_double_bit (gdbarch, 64);
- set_gdbarch_long_double_bit (gdbarch, 64);
+ set_gdbarch_long_double_bit (gdbarch, 128);
set_gdbarch_ptr_bit (gdbarch, 64);
set_gdbarch_num_regs (gdbarch, ia64_num_regs);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFA]: fix for sizeof operator for ia64
2003-06-10 21:40 [RFA]: fix for sizeof operator for ia64 J. Johnston
@ 2003-06-11 19:05 ` Mark Kettenis
2003-06-11 21:30 ` Kevin Buettner
1 sibling, 0 replies; 4+ messages in thread
From: Mark Kettenis @ 2003-06-11 19:05 UTC (permalink / raw)
To: J. Johnston; +Cc: gdb-patches
"J. Johnston" <jjohnstn@redhat.com> writes:
> The attached patch fixes the number of bits for a ia64 long double.
> This fixes the sizeof.exp testcase in gdb.base.
>
> Ok to commit?
GCC has #define LONG_DOUBLE_TYPE_SIZE 128, so go for it if you don't
hear from Kevin soon.
Mark
> -- Jeff J.
>
> 2003-06-10 Jeff Johnston <jjohnstn@redhat.com>
>
> * ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFA]: fix for sizeof operator for ia64
2003-06-10 21:40 [RFA]: fix for sizeof operator for ia64 J. Johnston
2003-06-11 19:05 ` Mark Kettenis
@ 2003-06-11 21:30 ` Kevin Buettner
2003-06-11 22:05 ` J. Johnston
1 sibling, 1 reply; 4+ messages in thread
From: Kevin Buettner @ 2003-06-11 21:30 UTC (permalink / raw)
To: J. Johnston, gdb-patches
On Jun 10, 5:40pm, J. Johnston wrote:
> The attached patch fixes the number of bits for a ia64 long double.
> This fixes the sizeof.exp testcase in gdb.base.
>
> Ok to commit?
>
> -- Jeff J.
>
> 2003-06-10 Jeff Johnston <jjohnstn@redhat.com>
>
> * ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128.
Okay. (I verified that your patch is correct by checking the ABI document.)
Make sure that your ChangeLog entry doesn't exceed 80 characters per line
though.
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFA]: fix for sizeof operator for ia64
2003-06-11 21:30 ` Kevin Buettner
@ 2003-06-11 22:05 ` J. Johnston
0 siblings, 0 replies; 4+ messages in thread
From: J. Johnston @ 2003-06-11 22:05 UTC (permalink / raw)
To: Kevin Buettner; +Cc: gdb-patches
Patch committed. ChangeLog entry trimmed as asked. I always do this
when I copy the ChangeLog entry.
Thanks,
-- Jeff J.
Kevin Buettner wrote:
> On Jun 10, 5:40pm, J. Johnston wrote:
>
>
>>The attached patch fixes the number of bits for a ia64 long double.
>>This fixes the sizeof.exp testcase in gdb.base.
>>
>>Ok to commit?
>>
>>-- Jeff J.
>>
>>2003-06-10 Jeff Johnston <jjohnstn@redhat.com>
>>
>> * ia64-tdep.c (ia64_gdbarch_init): Set number of long double bits to 128.
>
>
> Okay. (I verified that your patch is correct by checking the ABI document.)
>
> Make sure that your ChangeLog entry doesn't exceed 80 characters per line
> though.
>
> Kevin
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-11 22:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-10 21:40 [RFA]: fix for sizeof operator for ia64 J. Johnston
2003-06-11 19:05 ` Mark Kettenis
2003-06-11 21:30 ` Kevin Buettner
2003-06-11 22:05 ` J. Johnston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox