diff options
author | Jim Wilson <wilson@tuliptree.org> | 2005-08-31 20:02:33 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2005-08-31 20:02:33 +0000 |
commit | abfcdd21a5402a3596c9ebc1d8c0c9b997544d84 (patch) | |
tree | 4554c7093c988dbf480134f9d2023317c4e7eb05 /gdb/i386fbsd-tdep.c | |
parent | 008a3b42a4fd9c62bd47d5f6d7ca2a2be4910116 (diff) | |
download | gdb-abfcdd21a5402a3596c9ebc1d8c0c9b997544d84.zip gdb-abfcdd21a5402a3596c9ebc1d8c0c9b997544d84.tar.gz gdb-abfcdd21a5402a3596c9ebc1d8c0c9b997544d84.tar.bz2 |
Fix gcc-4.0.1 compile error for i386-freebsd4.10 target.
* i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.
Diffstat (limited to 'gdb/i386fbsd-tdep.c')
-rw-r--r-- | gdb/i386fbsd-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386fbsd-tdep.c b/gdb/i386fbsd-tdep.c index b2b6c73..b247b79 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 <machine/signal.h>. */ -static int i386fbsd_sc_reg_offset[] = +int i386fbsd_sc_reg_offset[] = { 8 + 14 * 4, /* %eax */ 8 + 13 * 4, /* %ecx */ |