correct location of corefile data segment
authorAdam David <adam@@veda.is>
Wed, 15 Jun 1994 08:24:25 +0000 (08:24 +0000)
committerAdam David <adam@@veda.is>
Wed, 15 Jun 1994 08:24:25 +0000 (08:24 +0000)
gnu/usr.bin/gdb/bfd/sysdep.h

index 68b107d..dd7328b 100644 (file)
 #ifdef __bsdi__
 /* This seems to be the right thing for BSDI.  */
 #define        HOST_STACK_END_ADDR             USRSTACK
 #ifdef __bsdi__
 /* This seems to be the right thing for BSDI.  */
 #define        HOST_STACK_END_ADDR             USRSTACK
-#define HOST_DATA_START_ADDR ((bfd_vma)u.u_kproc.kp_eproc.e_vm.vm_daddr)
 #else
 /* This seems to be the right thing for 386BSD release 0.1.  */
 #define        HOST_STACK_END_ADDR             (USRSTACK - MAXSSIZ)
 #endif
 
 #else
 /* This seems to be the right thing for 386BSD release 0.1.  */
 #define        HOST_STACK_END_ADDR             (USRSTACK - MAXSSIZ)
 #endif
 
+#define HOST_DATA_START_ADDR ((bfd_vma)u.u_kproc.kp_eproc.e_vm.vm_daddr)
+
 #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
   ((core_bfd)->tdata.trad_core_data->u.u_sig)
 #define u_comm u_kproc.kp_proc.p_comm
 #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
   ((core_bfd)->tdata.trad_core_data->u.u_sig)
 #define u_comm u_kproc.kp_proc.p_comm