aboutsummaryrefslogtreecommitdiff
path: root/gdb/ocd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ocd.c')
-rw-r--r--gdb/ocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ocd.c b/gdb/ocd.c
index ec4dc1d..240bd67 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 ();