aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2008-11-18 22:46:27 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2008-11-18 22:46:27 +0000
commit15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3 (patch)
tree3671bf0867aafd66b60273ec7d5d033c168d8e4d /gdb
parent2c4ad7812552d2384390260c7906c3d6b4c476fa (diff)
downloadgdb-15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3.zip
gdb-15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3.tar.gz
gdb-15c99a447efa6fcf5ba4cb2f4ccb27909bd1feb3.tar.bz2
2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
* maint.c (maintenance_translate_address): Fix a buglet.
Diffstat (limited to 'gdb')
-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);
}