From 15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Tue, 18 Nov 2008 22:46:27 +0000 Subject: 2008-11-18 Paul Pluzhnikov * maint.c (maintenance_translate_address): Fix a buglet. --- gdb/maint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/maint.c') diff --git a/gdb/maint.c b/gdb/maint.c index c3a70c18a8a..c46bdc0bbd5 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); } -- cgit v1.2.1