aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/maint.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f67c7ac..90599b6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * maint.c (maintenance_translate_address): Fix a buglet.
+
2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
* features/Makefile (rs6000/powerpc-isa205-32l-expedite,
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);
}