Fix gcc-4.0.1 compile error for i386-freebsd4.10 target.
authorJim Wilson <wilson@tuliptree.org>
Wed, 31 Aug 2005 20:02:33 +0000 (20:02 +0000)
committerJim Wilson <wilson@tuliptree.org>
Wed, 31 Aug 2005 20:02:33 +0000 (20:02 +0000)
* i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.

gdb/ChangeLog
gdb/i386fbsd-tdep.c

index 04d1516adec1ac4fd970b31f2b888534f4f931a8..de07293fc97931e9370c6efa246d3283ad3699bd 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-31  Jim Wilson  <wilson@specifix.com>
+
+       * i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.
+
 2005-08-29  Mark Kettenis  <kettenis@gnu.org>
 
        * environ.c (unset_in_environ): Use strncmp instead of
index b2b6c739d65112e6c6abe63cbb0b4381df4ae33b..b247b797e3717d5c7f640c0c2b2247e4ecbbe00b 100644 (file)
@@ -50,7 +50,7 @@ CORE_ADDR i386fbsd_sigtramp_start_addr = 0xbfbfdf20;
 CORE_ADDR i386fbsd_sigtramp_end_addr = 0xbfbfdff0;
 
 /* From <machine/signal.h>.  */
-static int i386fbsd_sc_reg_offset[] =
+int i386fbsd_sc_reg_offset[] =
 {
   8 + 14 * 4,                  /* %eax */
   8 + 13 * 4,                  /* %ecx */