From: Jim Wilson Date: Wed, 31 Aug 2005 20:02:33 +0000 (+0000) Subject: Fix gcc-4.0.1 compile error for i386-freebsd4.10 target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abfcdd21a5402a3596c9ebc1d8c0c9b997544d84;p=binutils-gdb.git Fix gcc-4.0.1 compile error for i386-freebsd4.10 target. * i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 04d1516adec..de07293fc97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-08-31 Jim Wilson + + * i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static. + 2005-08-29 Mark Kettenis * environ.c (unset_in_environ): Use strncmp instead of diff --git a/gdb/i386fbsd-tdep.c b/gdb/i386fbsd-tdep.c index b2b6c739d65..b247b797e37 100644 --- a/gdb/i386fbsd-tdep.c +++ b/gdb/i386fbsd-tdep.c @@ -50,7 +50,7 @@ CORE_ADDR i386fbsd_sigtramp_start_addr = 0xbfbfdf20; CORE_ADDR i386fbsd_sigtramp_end_addr = 0xbfbfdff0; /* From . */ -static int i386fbsd_sc_reg_offset[] = +int i386fbsd_sc_reg_offset[] = { 8 + 14 * 4, /* %eax */ 8 + 13 * 4, /* %ecx */