summaryrefslogtreecommitdiff
path: root/usr.bin/pmdb
AgeCommit message (Collapse)Author
2003-09-22Off-by-ones, from aaron@Miod Vallat
2003-08-18when given only an executable name without a valid path, resolve theJean-Francois Brousseau
actual executable path from the PATH environment, so the calls to access() and stat() work correctly when loading the process ok art@
2003-08-17fix ptr arythmetics in core_write(); from aaron@Michael Shalayeff
2003-08-02check return value from process_{read,write} properMichael Shalayeff
2003-08-02document examineMichael Shalayeff
2003-07-22- use :L variable modifier with ELF_TOOLCHAIN variableBrad Smith
- change 2 instances of the check from != "yes" to == "no" ok deraadt@
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-07-01cosmetic (avoid space before period); ok artPeter Valchev
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-05-30kill an unused variableMichael Shalayeff
2003-05-30m88k pmdb support bits; only compile-tested at the moment.Miod Vallat
2003-05-30Fix BREAKPOINT_DECR_PC value.Miod Vallat
2003-05-30Preliminary m68k pmdb support.Miod Vallat
Currently, this works as well as gdb, i.e. breakpoints do not work. Will be fixed soon, hopefully.
2003-05-30Handle process_load() failure. This prevents "pmdb foo" to dump core uponMiod Vallat
run command, if foo does not exist. ok art@
2003-05-15Get rid of read_from_pid() and write_to_pid(), they wereJean-Francois Brousseau
replaced by the more generic process_read() and process_write() ok art@
2003-04-25check asprintf return value for error, as the pointer is not guaranteedPeter Valchev
to be NULL in such case; ok millert
2003-04-05free value after asprintf; ok artPeter Valchev
2003-03-29implement memory examine command. takes both symbol or addressMichael Shalayeff
2003-03-29implement short reads at the end of the core segementMichael Shalayeff
2003-03-28do not core dump on stripped executables. revmap the registers printed to ↵Michael Shalayeff
the symbols even for cores (already happens for live executables); art@ said it should wait until after the release and so it is already after the release now
2003-03-22.Nd shouldn't end with a periodDavid Krause
ok jmc@
2003-03-14make fetching regs and stack trace really workMichael Shalayeff
2003-03-06date should be written formally: .Dd Month day, yearDavid Krause
ok henning@ jmc@
2003-01-28add a license goo; pt out by ray@securityfoo.netMichael Shalayeff
2003-01-27Follow art's lead on the license.Dale Rahn
2003-01-27Add licenses where I forgot them. (I'm ashamed).Artur Grabowski
2003-01-27missing license; pointed out by ray at securityfoo dot net.Federico G. Schwindt
2003-01-27missing $OpenBSD$Jason Wright
2003-01-26catched -> caughtRyan Thomas McBride
2003-01-16match the funky regs order between getregs and reg_namesMichael Shalayeff
2003-01-15make it compile, becomes useful nowMichael Shalayeff
2002-11-27unkonwn -> unknown; Tor Houghton <torh@bogus.net>Peter Valchev
2002-10-07 do not crash when a breakpoint can't get set (remove itVincent Labrecque
from the list when we free it.) ok art@
2002-08-09Get rid of remaining __P usage (except for imported code);Jason Peel
ok millert@, rogue ok pjanzen@
2002-08-09Correct the size arg to memset() so argv will be cleared correctly; art@ ok.Aaron Campbell
2002-08-08implement setenv.Artur Grabowski
2002-08-08Make a good attempt to find the registers for the first frame.Artur Grabowski
2002-07-31Update to correctly deal with link_map.Artur Grabowski
(is link_map really supposed to be so dumb that it doesn't include load offset information?)
2002-07-31unbreak process_getregsArtur Grabowski
2002-07-31Fix error message.Artur Grabowski
2002-07-24don't use the TAILQ before it is initialised. makes pmdb not crash onVincent Labrecque
exit if called with an non{existent,executable} file. ok art@
2002-07-22check argc after getopt(), otherwise we may go ahead even if we only gotFederico G. Schwindt
flags; from Jean-Francois Brousseau <krapht@secureops.com>.
2002-07-22KNF and unbreak PT_GETREGSArtur Grabowski
2002-07-22Map the core file with MAP_PRIVATE.Artur Grabowski
Some other random cleanups.
2002-07-22Use process_getregs everywhere.Artur Grabowski
2002-07-22knfArtur Grabowski
2002-07-22Support for reading from core files.Artur Grabowski
From Jean-Francois Brousseau <krapht@secureops.com>
2002-07-12malloc/strdup failure not handled; cloder@acm.orgTheo de Raadt