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/target.c | |
parent | 1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff) | |
download | gdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz |
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/target.c b/gdb/target.c index 87d392b703f..ba4ddc2fce0 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -641,7 +641,7 @@ push_target (struct target_ops *t) fprintf_unfiltered (gdb_stderr, "Magic number of %s target struct wrong\n", t->to_shortname); - abort (); + internal_error (__FILE__, __LINE__, "failed internal consistency check"); } /* Find the proper stratum to install this target in. */ @@ -737,7 +737,7 @@ pop_target (void) fprintf_unfiltered (gdb_stderr, "pop_target couldn't find target %s\n", current_target.to_shortname); - abort (); + internal_error (__FILE__, __LINE__, "failed internal consistency check"); } #undef MIN @@ -2993,5 +2993,5 @@ When non-zero, target debugging is enabled.", &setdebuglist), target_dcache = dcache_init(); if (!STREQ (signals[TARGET_SIGNAL_LAST].string, "TARGET_SIGNAL_MAGIC")) - abort (); + internal_error (__FILE__, __LINE__, "failed internal consistency check"); } |