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

View file

@ -23,7 +23,7 @@ void loadmoduleobjtype(void);
void void
usage(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"); exits("usage");
} }
@ -37,7 +37,7 @@ main(int argc, char *argv[])
argv0 = argv[0]; argv0 = argv[0];
pid = 0; pid = 0;
aout = "8.out"; aout = nil;
quiet = 1; quiet = 1;
mtype = 0; mtype = 0;
@ -81,6 +81,8 @@ main(int argc, char *argv[])
} }
aout = argv[0]; aout = argv[0];
} }
} else {
usage();
} }
fmtinstall('x', xfmt); fmtinstall('x', xfmt);