summaryrefslogtreecommitdiff
path: root/trans
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-01 20:25:28 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-01 20:25:28 +0000
commit8021b8a4f79d2d5b1a9e6967f20374f37fa8d0b9 (patch)
treea5a7c59550d3d658f7dba6df1ec025d5d61a8f2e /trans
parentc3620bbd761143a5b2fab3ab33361fcba71fbe0f (diff)
(S_crash_dump_task): Drop arg TARGET.
(dump_core): Likewise; all callers changed. (struct crasher): Delete member `target'.
Diffstat (limited to 'trans')
-rw-r--r--trans/crash.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/trans/crash.c b/trans/crash.c
index a696a9d2..b3d3d0d1 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -67,7 +67,6 @@ struct crasher
task_t task;
file_t core_file;
- string_t target;
int signo, sigcode, sigerror;
mach_port_t original_msgport; /* Restore on resume. */
@@ -81,7 +80,7 @@ struct port_class *crasher_portclass;
kern_return_t
S_crash_dump_task (mach_port_t port,
mach_port_t reply_port, mach_msg_type_name_t reply_type,
- task_t task, file_t core_file, char *target,
+ task_t task, file_t core_file,
int signo, int sigcode, int sigerror,
natural_t exc, natural_t code, natural_t subcode,
mach_port_t ctty_id)
@@ -128,7 +127,6 @@ S_crash_dump_task (mach_port_t port,
c->task = task;
c->core_file = core_file;
- strcpy (c->target, target);
c->signo = signo;
c->sigcode = sigcode;
c->sigerror = sigerror;
@@ -255,7 +253,7 @@ S_msg_sig_post_untraced (mach_port_t port,
}
error_t
-dump_core (task_t task, file_t core_file, const char *target,
+dump_core (task_t task, file_t core_file,
int signo, long int sigcode, int sigerror)
{
return ENOSYS; /* XXX */
@@ -279,7 +277,7 @@ dead_crasher (void *ptr)
{
/* C->proc was cleared in S_msg_sig_post as a marker that
this crasher should get a core dump when we clean him up. */
- error_t err = dump_core (c->task, c->core_file, c->target,
+ error_t err = dump_core (c->task, c->core_file,
c->signo, c->sigcode, c->sigerror);
/* Now reply to the crasher's original RPC which started this whole
party. He should now report his own death (with core dump iff ERR