Corinna Vinschen
8a11b13ff0
* dumper.cc (dumper::prepare_core_dump): Record a phdr for each section.
2007-05-29 08:08:06 +00:00
Corinna Vinschen
f2af71ea96
* dumper.cc: Include ansidecl.h before including bfd.h to woraround
...
a problem with the order in which system include files are included.
2006-12-21 09:59:04 +00:00
Christopher Faylor
6dcb2ec441
* dumper.cc: Add an include to accommodate new include/elf usage.
2006-12-11 19:17:17 +00:00
Christopher Faylor
4bfc614b42
fix whitespace, update some copyrights
2004-10-25 15:49:36 +00:00
Alan Modra
64b49cceb5
* dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
...
instead of _raw_size.
(dumper::write_core_dump): Likewise.
* parse_pe.cc (select_data_section): Likewise.
2004-06-15 02:18:51 +00:00
Joshua Daniel Franklin
aa275fe010
* cygcheck.cc (usage) Add description output.
2003-04-26 21:52:03 +00:00
Christopher Faylor
84d06cb64d
* dumper.cc (usage) Standardize usage output. Generalize to allow use for
...
help.
(longopts) New struct. Added longopts for all options.
(print_version) New function.
(main) Change getopt to getopt_long. Accommodate new help and version options.
2002-05-08 01:55:56 +00:00
Egor Duda
d353d5d6f8
* dumper.cc (dumper::dumper): Print error code in case of error.
...
(dumper::add_thread): Ditto.
(dumper::collect_memory_sections): Ditto.
(dumper::dump_memory_region): Ditto.
(dumper::collect_process_information): Ditto.
(print_section_name): Fix formatting.
2001-09-14 15:07:31 +00:00
Egor Duda
4e8b5fc387
* dumper.cc (main): Properly recognize negative pids (used by w9x).
2001-09-13 15:06:25 +00:00
Egor Duda
92ef5188af
* dumper.cc (main): Change command-line arguments format to be
...
similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to
CYGWIN environment variable to perform core dumping in case of
program crash.
(usage): Ditto.
2001-09-09 13:18:51 +00:00
Egor Duda
33bc82476e
* dumper.h: Update copyright notice.
...
* dumper.cc: Ditto.
* dumper.cc: (dumper::print_core_section_list): New function.
* dumper.h: (dumper::print_core_section_list): Declare it.
* dumper.cc (print_section_name): New function.
(dumper::collect_process_information): Augment debugging output.
Stop debugee processing if it posts double exception.
(usage): Fix typo in option name.
2001-08-30 16:47:51 +00:00
Egor Duda
3ee14d6850
* dumper.cc (dumper::init_core_dump): Set architecture field in dump
...
header.
2001-04-19 14:22:30 +00:00
Christopher Faylor
ce475802f8
* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
...
with g++. Fixup output for some compilations.
* cygcheck.cc: Respond to compiler warnings.
* dumper.cc (main): Ditto.
* parse_pe.cc (exclusion::sort_and_check): Ditto.
* setfacl.cc (getaclentry): Ditto.
2000-10-28 05:39:38 +00:00
Christopher Faylor
eedc36cb12
Cleanup formatting on some files. Remove excessive whitespace.
2000-10-28 05:00:00 +00:00
Christopher Faylor
0ad10c0f96
* Makefile.in: Add dumper.exe target and associated mechanisms for building it.
...
* dumper.cc: New file.
* dumper.h: New file.
* module_info.cc: New file.
* parse_pe.cc: New file.
2000-08-24 19:03:12 +00:00