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 | e1e9e218c189882084a89fdee655a0a523efbaf8 (patch) | |
tree | fa2a2747358d3ab7ba66773aa0ea0e95064841b6 /gdb/xmodem.c | |
parent | d95767bf85efeb27aa791b01d4a8534bcff15a8e (diff) | |
download | gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.zip gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.bz2 |
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/xmodem.c')
-rw-r--r-- | gdb/xmodem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xmodem.c b/gdb/xmodem.c index ad694a5..5a271ec 100644 --- a/gdb/xmodem.c +++ b/gdb/xmodem.c @@ -185,7 +185,7 @@ xmodem_send_packet (serial_t desc, unsigned char *packet, int len, int hashmark) datasize = XMODEM_1KDATASIZE; } else - abort (); /* Packet way too large */ + internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Packet way too large */ /* Add ^Z padding if packet < 128 (or 1024) bytes */ |