aboutsummaryrefslogtreecommitdiff
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
commite1e9e218c189882084a89fdee655a0a523efbaf8 (patch)
treefa2a2747358d3ab7ba66773aa0ea0e95064841b6 /gdb/lynx-nat.c
parentd95767bf85efeb27aa791b01d4a8534bcff15a8e (diff)
downloadgdb-e1e9e218c189882084a89fdee655a0a523efbaf8.zip
gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz
gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.bz2
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 20a7e16..38bd6d3 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;