aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-09-03 18:52:02 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-09-03 18:52:02 +0000
commit97b9747c0c17b5d0c0c35a8730f841d73181e1eb (patch)
tree8048ee27654a2c304f6504a096d7242ebb4a90ed /gdb/arm-tdep.c
parent5bbc5ae7bb145ad8ccaa57c02646a7557e67c1bf (diff)
downloadgdb-97b9747c0c17b5d0c0c35a8730f841d73181e1eb.zip
gdb-97b9747c0c17b5d0c0c35a8730f841d73181e1eb.tar.gz
gdb-97b9747c0c17b5d0c0c35a8730f841d73181e1eb.tar.bz2
* arm-tdep.c (displaced_write_reg): Replace call to abort by call
to internal_error.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c3
1 files changed, 2 insertions, 1 deletions
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;