summaryrefslogtreecommitdiff
path: root/gdb/i386fbsd-tdep.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2005-08-31 20:02:33 +0000
committerJim Wilson <wilson@tuliptree.org>2005-08-31 20:02:33 +0000
commit3ea1f58938699be9becd3c8dd9cfb2e4e467b9da (patch)
tree60becb35b1dd48bf51d49921b8dbc5863ac2d580 /gdb/i386fbsd-tdep.c
parent150a90568d0fc98502792e974ac8526bd93d46ad (diff)
downloadgdb-3ea1f58938699be9becd3c8dd9cfb2e4e467b9da.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
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 <machine/signal.h>. */
-static int i386fbsd_sc_reg_offset[] =
+int i386fbsd_sc_reg_offset[] =
{
8 + 14 * 4, /* %eax */
8 + 13 * 4, /* %ecx */