From 97b9747c0c17b5d0c0c35a8730f841d73181e1eb Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 3 Sep 2009 18:52:02 +0000 Subject: * arm-tdep.c (displaced_write_reg): Replace call to abort by call to internal_error. --- gdb/arm-tdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/arm-tdep.c') diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index a2523f5..6e98469 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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; -- cgit v1.1