aboutsummaryrefslogtreecommitdiff
path: root/gdb/maint.c
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/maint.c
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/maint.c')
-rw-r--r--gdb/maint.c2
1 files changed, 1 insertions, 1 deletions
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);
}