mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
Replace calls to abort() with calls to internal_error().
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user