Use correct stack segment with corefiles.

This commit is contained in:
adam 1994-05-04 01:22:07 +00:00
parent 0812f6412e
commit fce7f94ba7

View File

@ -942,6 +942,9 @@ core_file_command(filename, from_tty)
*/
reg_offset = (int) u.u_ar0 - KERNEL_U_ADDR;
#else
stack_end = (CORE_ADDR) u.u_kproc.kp_eproc.e_vm.vm_maxsaddr
+ MAXSSIZ;
data_end = data_start +
NBPG * u.u_kproc.kp_eproc.e_vm.vm_dsize;
stack_start = stack_end -