From 15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Tue, 18 Nov 2008 22:46:27 +0000 Subject: [PATCH] 2008-11-18 Paul Pluzhnikov * maint.c (maintenance_translate_address): Fix a buglet. --- gdb/ChangeLog | 4 ++++ gdb/maint.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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); } -- 2.30.2