aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/arm-tdep.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a538f1a..3064089 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
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;