aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386obsd-nat.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-02-22 11:19:15 +0000
committerMark Kettenis <kettenis@gnu.org>2004-02-22 11:19:15 +0000
commit5d93ae8cf3aa4d3b8600ca2496c4385889996fb1 (patch)
tree40d7fd9b33f070ae0aa159f2a66e84d02caaa3f6 /gdb/i386obsd-nat.c
parent84d044650f83da76b21798ffd79321c2f187142d (diff)
downloadgdb-5d93ae8cf3aa4d3b8600ca2496c4385889996fb1.zip
gdb-5d93ae8cf3aa4d3b8600ca2496c4385889996fb1.tar.gz
gdb-5d93ae8cf3aa4d3b8600ca2496c4385889996fb1.tar.bz2
Fix OpenBSD/i386 sigtramp recognition.
* i386-tdep.h: Update copyright year. (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start) (i386bsd_sigtramp_end): New prototypes. (i386fbsd_sigtramp_start_addr): Renamed from i386fbsd_sigtramp_start. (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. (i386obsd_sigtramp_start_addr): Renamed from i386obsd_sigtramp_start. (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. * i386bsd-tdep.c: Update copyright year. (i386bsd_pc_in_sigtramp): Make public. * i386fbsd-nat.c: Update copyright year. (_initialize_i386fbsd_nat): Adjust for renamed variables. * i386fbsd-tdep.c: Update copyright year. (i386fbsd_sigtramp_start_addr): Renamed from i386fbsd_sigtramp_start. (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. (i386fbsdaout_init_abi): Adjust for renamed variables. * i386obsd-nat.c: Update copyright year. (_initialize_i386obsd_nat): Adjust for renamed variables. * i386obsd-tdep.c: Include "target.h". (i386obsd_page_size): New variable. (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start) (i386obsd_sigtramp_end): New functions. (i386obsd_sigtramp_start_addr): Renamed from i386obsd_sigtramp_start. (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. (i386obsd_init_abi): Adjust for renamed variables. Set pc_in_sigtramp, sigtramp_start and sigtramp_end. * Makefile.in (i386obsd-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/i386obsd-nat.c')
-rw-r--r--gdb/i386obsd-nat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/i386obsd-nat.c b/gdb/i386obsd-nat.c
index b0d4e03..68cc790 100644
--- a/gdb/i386obsd-nat.c
+++ b/gdb/i386obsd-nat.c
@@ -1,5 +1,6 @@
/* Native-dependent code for OpenBSD/i386.
- Copyright 2002, 2003 Free Software Foundation, Inc.
+
+ Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GDB.
@@ -51,8 +52,8 @@ _initialize_i386obsd_nat (void)
len = sizeof (_ps);
if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
{
- i386obsd_sigtramp_start = (CORE_ADDR)_ps.val - 128;
- i386obsd_sigtramp_end = (CORE_ADDR)_ps.val;
+ i386obsd_sigtramp_start_addr = (CORE_ADDR)_ps.val - 128;
+ i386obsd_sigtramp_end_addr = (CORE_ADDR)_ps.val;
}
}
#endif