diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-31 01:14:27 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-31 01:14:27 +0000 |
commit | 104c1213b4821a4b8664e66db4643a951b461576 (patch) | |
tree | d77adb32fcf044a485e1d4e0bb58e9da0ce39671 /gdb/infttrace.c | |
parent | fd485a97b145f7b8abe7c5f5ec63edd8268a4182 (diff) | |
download | gdb-104c1213b4821a4b8664e66db4643a951b461576.zip gdb-104c1213b4821a4b8664e66db4643a951b461576.tar.gz gdb-104c1213b4821a4b8664e66db4643a951b461576.tar.bz2 |
import gdb-1999-08-30 snapshot
Diffstat (limited to 'gdb/infttrace.c')
-rw-r--r-- | gdb/infttrace.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/infttrace.c b/gdb/infttrace.c index 3e94e81..626d813 100644 --- a/gdb/infttrace.c +++ b/gdb/infttrace.c @@ -45,9 +45,6 @@ #include <sys/ioctl.h> #include <sys/ttrace.h> -#ifdef HAVE_UNISTD_H -#include <unistd.h> -#endif #include <sys/mman.h> #ifndef NO_PTRACE_H @@ -5216,7 +5213,7 @@ child_pid_to_exec_file (tid) hack that DDE uses, of pawing through the process' data segment to find the pathname. */ - top_of_stack = 0x7b03a000; + top_of_stack = (TARGET_PTR_BIT == 64 ? 0x800003ffff7f0000 : 0x7b03a000); name_index = 0; done = 0; |