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]

[PATCH/SPARC]


So 32-bit GNU/Linux doesn't implement the low-level psABI correctly.

Committed to the SPARC branch.

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>
 
	* sparc-linux-tdep.c (sparc32_linux_init_abi): Set long_double_bit
	to 64.

Index: sparc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/Attic/sparc-linux-tdep.c,v
retrieving revision 1.1.2.4
diff -u -p -r1.1.2.4 sparc-linux-tdep.c
--- sparc-linux-tdep.c 15 Nov 2003 13:42:20 -0000 1.1.2.4
+++ sparc-linux-tdep.c 15 Nov 2003 18:16:28 -0000
@@ -289,6 +289,9 @@ sparc32_linux_init_abi (struct gdbarch_i
   /* ... but doesn't have kernel-assisted single-stepping support.  */
   set_gdbarch_software_single_step (gdbarch, sparc_software_single_step);
 
+  /* GNU/Linux doesn't support the 128-bit `long double' from the psABI.  */
+  set_gdbarch_long_double_bit (gdbarch, 64);
+
   set_gdbarch_pc_in_sigtramp (gdbarch, sparc32_linux_pc_in_sigtramp);
   frame_unwind_append_sniffer (gdbarch, sparc32_linux_sigtramp_frame_sniffer);
 


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