Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [obish] fix solaris 8 sparc-tdep.c compile problem
@ 2003-04-30 20:31 Andrew Cagney
  2003-04-30 22:01 ` Joel Brobecker
  2003-04-30 22:10 ` Joel Brobecker
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cagney @ 2003-04-30 20:31 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 167 bytes --]

This fixes a compile problem for solaris 8 (SPARC).  I'm not yet sure if 
it fixes a build though - I got a link error from using a really old 
compiler :-(

Andrew



[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 938 bytes --]

2003-04-30  Andrew Cagney  <cagney@redhat.com>

	* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.

Index: sparc-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
retrieving revision 1.92
diff -u -r1.92 sparc-tdep.c
--- sparc-tdep.c	29 Apr 2003 01:49:47 -0000	1.92
+++ sparc-tdep.c	30 Apr 2003 18:16:44 -0000
@@ -51,8 +51,11 @@
 
 #if (GDB_MULTI_ARCH > 0)
 
-/* Does the target have Floating Point registers?  */
-#define SPARC_HAS_FPU     (gdbarch_tdep (current_gdbarch)->has_fpu)
+#if 0
+// OBSOLETE /* Does the target have Floating Point registers?  */
+// OBSOLETE #define SPARC_HAS_FPU     (gdbarch_tdep (current_gdbarch)->has_fpu)
+#endif
+#define SPARC_HAS_FPU 1
 /* Number of bytes devoted to Floating Point registers: */
 #define FP_REGISTER_BYTES (gdbarch_tdep (current_gdbarch)->fp_register_bytes)
 /* Highest numbered Floating Point register.  */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-30 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 20:31 [obish] fix solaris 8 sparc-tdep.c compile problem Andrew Cagney
2003-04-30 22:01 ` Joel Brobecker
2003-04-30 22:10 ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox