summaryrefslogtreecommitdiff
path: root/gdb/lynx-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
committerKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
commitefa817325f1856795e81956974c4bc9573ce8a88 (patch)
tree404ed531abfdeaa835681f8d60fca90fca9eb9d3 /gdb/lynx-nat.c
parent1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff)
downloadgdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/lynx-nat.c')
-rw-r--r--gdb/lynx-nat.c4
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,
&registers[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;