summaryrefslogtreecommitdiff
path: root/gdb/infptrace.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
commitefa817325f1856795e81956974c4bc9573ce8a88 (patch)
tree404ed531abfdeaa835681f8d60fca90fca9eb9d3 /gdb/infptrace.c
parent1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff)
downloadgdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index 4841e9c6a0a..e4637ee28f1 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -272,7 +272,7 @@ child_resume (int pid, int step, enum target_signal signal)
if (step)
{
if (SOFTWARE_SINGLE_STEP_P)
- abort (); /* Make sure this doesn't happen. */
+ internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Make sure this doesn't happen. */
else
ptrace (PT_STEP, pid, (PTRACE_ARG3_TYPE) 1,
target_signal_to_host (signal));