aboutsummaryrefslogtreecommitdiff
path: root/gdb/maint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/maint.c')
-rw-r--r--gdb/maint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/maint.c b/gdb/maint.c
index c3a70c1..c46bdc0 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -473,7 +473,7 @@ maintenance_translate_address (char *arg, int from_tty)
break;
}
- if (!sect)
+ if (!objfile)
error (_("Unknown section %s."), arg);
}