summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index b102c69f670..aceeed7da0e 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -1262,7 +1262,7 @@ set_gdbarch_pc_regnum (gdbarch, pc_regnum)
char *
gdbarch_register_name (struct gdbarch *gdbarch, int regnr)
{
- if (gdbarch->register_name == 0 || 1)
+ if (gdbarch->register_name == 0)
internal_error ("gdbarch: gdbarch_register_name invalid");
if (gdbarch_debug >= 2)
/* FIXME: gdb_std??? */