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]

[RFA]: fix for sizeof operator for ia64


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.

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);

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