Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [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

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