diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-02-25 04:45:12 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-02-25 04:45:12 +0000 |
commit | efa817325f1856795e81956974c4bc9573ce8a88 (patch) | |
tree | 404ed531abfdeaa835681f8d60fca90fca9eb9d3 /gdb/m3-nat.c | |
parent | 1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff) | |
download | gdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz |
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r-- | gdb/m3-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c index ac11d13ded8..cb3cccf301f 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"); } /* |