mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 22:43:22 +01:00
Use correct stack segment with corefiles.
This commit is contained in:
parent
49afd99659
commit
439d0ff00b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1452
@ -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 -
|
||||
|
Loading…
Reference in New Issue
Block a user