projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* alpha-opc.c: Remove ARGSUSED.
[deliverable/binutils-gdb.git]
/
gdb
/
i386obsd-nat.c
diff --git
a/gdb/i386obsd-nat.c
b/gdb/i386obsd-nat.c
index 17ef922b82a04eae1e2ab0487ce57d8f29c45a53..b0d4e033b8dec92a8147ac3f5a9cedf56118cf60 100644
(file)
--- a/
gdb/i386obsd-nat.c
+++ b/
gdb/i386obsd-nat.c
@@
-1,5
+1,5
@@
/* Native-dependent code for OpenBSD/i386.
/* Native-dependent code for OpenBSD/i386.
- Copyright 2002 Free Software Foundation, Inc.
+ Copyright 2002
, 2003
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-23,6
+23,8
@@
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/param.h>
#include <sys/sysctl.h>
+#include "i386-tdep.h"
+
/* Prevent warning from -Wmissing-prototypes. */
void _initialize_i386obsd_nat (void);
/* Prevent warning from -Wmissing-prototypes. */
void _initialize_i386obsd_nat (void);
@@
-44,16
+46,13
@@
_initialize_i386obsd_nat (void)
int mib[2];
size_t len;
int mib[2];
size_t len;
- extern CORE_ADDR i386nbsd_sigtramp_start;
- extern CORE_ADDR i386nbsd_sigtramp_end;
-
mib[0] = CTL_VM;
mib[1] = VM_PSSTRINGS;
len = sizeof (_ps);
if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
{
mib[0] = CTL_VM;
mib[1] = VM_PSSTRINGS;
len = sizeof (_ps);
if (sysctl (mib, 2, &_ps, &len, NULL, 0) == 0)
{
- i386
n
bsd_sigtramp_start = (CORE_ADDR)_ps.val - 128;
- i386
n
bsd_sigtramp_end = (CORE_ADDR)_ps.val;
+ i386
o
bsd_sigtramp_start = (CORE_ADDR)_ps.val - 128;
+ i386
o
bsd_sigtramp_end = (CORE_ADDR)_ps.val;
}
}
#endif
}
}
#endif
This page took
0.02342 seconds
and
4
git commands to generate.