aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
committerKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
commite1e9e218c189882084a89fdee655a0a523efbaf8 (patch)
treefa2a2747358d3ab7ba66773aa0ea0e95064841b6 /gdb/m3-nat.c
parentd95767bf85efeb27aa791b01d4a8534bcff15a8e (diff)
downloadfsf-binutils-gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.zip
fsf-binutils-gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz
fsf-binutils-gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.bz2
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r--gdb/m3-nat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c
index ac11d13..cb3cccf 100644
--- a/gdb/m3-nat.c
+++ b/gdb/m3-nat.c
@@ -346,7 +346,7 @@ port_chain_insert (port_chain_t list, mach_port_t name, int type)
}
}
else
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
new = (port_chain_t) obstack_alloc (port_chain_obstack,
sizeof (struct port_chain));
@@ -602,17 +602,17 @@ m3_trace_me (void)
ret = task_get_bootstrap_port (mach_task_self (),
&original_server_port_name);
if (ret != KERN_SUCCESS)
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
ret = mach_port_deallocate (mach_task_self (),
original_server_port_name);
if (ret != KERN_SUCCESS)
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
/* Suspend this task to let the parent change my ports.
Resumed by the debugger */
ret = task_suspend (mach_task_self ());
if (ret != KERN_SUCCESS)
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
/*