From: Paul Pluzhnikov Date: Tue, 18 Nov 2008 22:46:27 +0000 (+0000) Subject: 2008-11-18 Paul Pluzhnikov X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3;p=binutils-gdb.git 2008-11-18 Paul Pluzhnikov * maint.c (maintenance_translate_address): Fix a buglet. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f67c7aca238..90599b60ee0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-11-18 Paul Pluzhnikov + + * maint.c (maintenance_translate_address): Fix a buglet. + 2008-11-18 Thiago Jung Bauermann * features/Makefile (rs6000/powerpc-isa205-32l-expedite, 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); }