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/lynx-nat.c | |
parent | d95767bf85efeb27aa791b01d4a8534bcff15a8e (diff) | |
download | binutils-gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz |
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/lynx-nat.c')
-rw-r--r-- | gdb/lynx-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/lynx-nat.c b/gdb/lynx-nat.c index 20a7e163ee8..38bd6d3ddfb 100644 --- a/gdb/lynx-nat.c +++ b/gdb/lynx-nat.c @@ -410,7 +410,7 @@ store_inferior_registers (int regno) if (regno == -1 || regno == SP_REGNUM) { if (!register_valid[L0_REGNUM + 5]) - abort (); + internal_error (__FILE__, __LINE__, "failed internal consistency check"); target_write_memory (sp + FRAME_SAVED_I0, ®isters[REGISTER_BYTE (I0_REGNUM)], 8 * REGISTER_RAW_SIZE (I0_REGNUM)); @@ -422,7 +422,7 @@ store_inferior_registers (int regno) else if (regno >= L0_REGNUM && regno <= I7_REGNUM) { if (!register_valid[regno]) - abort (); + internal_error (__FILE__, __LINE__, "failed internal consistency check"); if (regno >= L0_REGNUM && regno <= L0_REGNUM + 7) regoffset = REGISTER_BYTE (regno) - REGISTER_BYTE (L0_REGNUM) + FRAME_SAVED_L0; |