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/ocd.c | |
parent | 1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff) | |
download | gdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz |
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r-- | gdb/ocd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ocd.c b/gdb/ocd.c index ec4dc1d9dfd..240bd672f20 100644 --- a/gdb/ocd.c +++ b/gdb/ocd.c @@ -880,7 +880,7 @@ stu_put_packet (unsigned char *buf, int len) unsigned char c; if (len == 0 || len > 256) - abort (); /* Can't represent 0 length packet */ + internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Can't represent 0 length packet */ reset_packet (); |