summaryrefslogtreecommitdiff
path: root/exec/elfcore.c
AgeCommit message (Collapse)Author
2014-11-02Fix actual procinfo_t typeSamuel Thibault
* exec/elfcore.c (dump_core): Use procinfo_t, which is already a pointer, instead of procinfo_t*.
2014-11-02Fix proc_getprocinfo callsSamuel Thibault
The deallocation also needs to be fixed. Also, fetch_procinfo already took care of the conversion. * exec/elfcore.c (dump_core): Fix procinfoCnt taken from proc_getprocinfo. * utils/login.c (check_owned): Likewise. * libps/procstat.c (merge_procinfo): Remove conversion between bytes and int, already handled by fetch_procinfo.
2014-11-02Fix proc_getprocinfo callsSamuel Thibault
The procinfoCnt argument is the number of elements of the procinfo_t array, not its size in bytes. * exec/elfcore.c (dump_core): Fix procinfoCnt given to proc_getprocinfo. * libps/procstat.c (merge_procinfo): Likewise. * utils/login.c (check_owned): Likewise.
2013-02-11Fix registers recording in core dumpSamuel Thibault
* exec/elfcore.c (fetch_thread_regset): Fix field shifting order to avoid losing register content.
2008-07-01Update copyright years.Thomas Schwinge
2008-06-10 * elfcore.c (TIME_VALUE_TO_TIMESPEC): Completely implement instead ofSamuel Thibault
casting `time_value *' into `struct timeval *'. (dump_core): Reimplement timeradd instead of casting `time_value *' into `struct timeval *'.
2004-02-102004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c (dump_core): Include null terminator in note name size, and round up to four byte alignment. (dump_core: write_note): Don't round OFFSET after each partial write. (dump_core): Don't round up to page size before writing notes. Do round up to page size for offset of each PT_LOAD region.
2002-09-172002-09-17 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c [i386_THREAD_STATE] (fetch_thread_regset): The two types are not actually identical, must rearrange some members a little.
2002-05-292002-05-29 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c (dump_core): int -> size_t
2002-05-032002-05-01 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c [ALPHA_THREAD_STATE] (ELF_MACHINE, fetch_thread_regset, fetch_thread_fpregset): New definitions for Alpha CPU.
2002-03-112002-03-11 Roland McGrath <roland@frob.com>Roland McGrath
* elfcore.c: New file, used by crash server (../trans) to write ELF core dump files. Thanks to Jon Arney <jarney1@cox.net> for spurring me to write this, and for helping to test and debug it.
2002-03-11(dump_core): Missing munmapRoland McGrath
2002-03-11Prototype code to produce the NT_PSINFO note.Roland McGrath
2002-03-09Fixed some little bugs in the prototype code.Roland McGrath
2002-03-08Untested code.Roland McGrath
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* core.c (core_dump_task): Use munmap instead of vm_deallocate, when it's from our own task. * elfcore.c: Likewise. * exec.c (load_section): Likewise. (map): Likewise. (close_exec_stream): Likewise. (finish_mapping): Likewise. (load): Likewise. (do_exec): Likewise. (S_exec_setexecdata): Likewise. * hashexec.c (check_hashbang): Likewise. * main.c (deadboot): Likewise.
1996-07-18*** empty log message ***Michael I. Bushnell