import gdb-1999-08-30 snapshot
[deliverable/binutils-gdb.git] / gdb / infttrace.c
index 3e94e8100b5498d2bbb4f2b8a3d5c265c2efde8d..626d8135660c45512c1dd1d8ab169144269a2727 100644 (file)
@@ -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;
 
This page took 0.025923 seconds and 4 git commands to generate.