acid: remove outdated 8.out binary default (thanks Tekk)

This commit is contained in:
Jacob Moody 2024-12-27 19:29:34 +00:00
parent b849349e0c
commit 68c89f4a43
2 changed files with 9 additions and 13 deletions

View file

@ -12,10 +12,7 @@ acid, truss, trump \- debugger
.B -m
.I machine
] [
.I pid
]
[
.I textfile
.I pid | textfile | pid textfile
]
.PP
.B acid
@ -27,10 +24,7 @@ acid, truss, trump \- debugger
.B -l
.B trump
[
.I pid
]
[
.I textfile
.I pid | textfile | pid textfile
]
.SH DESCRIPTION
.I Acid
@ -38,9 +32,9 @@ is a programmable symbolic debugger.
It can inspect one or more processes that share an address space.
A program to be debugged may be specified by the process id of
a running or defunct process,
or by the name of the program's text file
.RB ( 8.out
by default).
or by the name of the program's text file. Both a pid and a file
may be specified to supply debugging information for a process
ran from a stripped binary.
At the prompt,
.I acid
will store function definitions or print the value of expressions.

View file

@ -23,7 +23,7 @@ void loadmoduleobjtype(void);
void
usage(void)
{
fprint(2, "usage: acid [-kqw] [-l library] [-m machine] [pid] [file]\n");
fprint(2, "usage: acid [-kqw] [-l library] [-m machine] [pid | textfile | pid textfile]\n");
exits("usage");
}
@ -37,7 +37,7 @@ main(int argc, char *argv[])
argv0 = argv[0];
pid = 0;
aout = "8.out";
aout = nil;
quiet = 1;
mtype = 0;
@ -81,6 +81,8 @@ main(int argc, char *argv[])
}
aout = argv[0];
}
} else {
usage();
}
fmtinstall('x', xfmt);