* arm-tdep.c (displaced_write_reg): Replace call to abort by call

to internal_error.
This commit is contained in:
Joel Brobecker 2009-09-03 18:52:02 +00:00
parent 5bbc5ae7bb
commit 97b9747c0c
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2009-09-03 Pierre Muller <muller@ics.u-strasbg.fr>
Richard Earnshaw <rearnsha@arm.com>
* arm-tdep.c (displaced_write_reg): Replace call to abort by call
to internal_error.
2009-09-02 Tom Tromey <tromey@redhat.com>
* frame.h (frame_unwinder_is): Declare.

View File

@ -2769,7 +2769,8 @@ displaced_write_reg (struct regcache *regs, struct displaced_step_closure *dsc,
break;
default:
abort ();
internal_error (__FILE__, __LINE__,
_("Invalid argument to displaced_write_reg"));
}
dsc->wrote_to_pc = 1;