2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 18 Nov 2008 22:46:27 +0000 (22:46 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 18 Nov 2008 22:46:27 +0000 (22:46 +0000)
* maint.c (maintenance_translate_address): Fix a buglet.

gdb/ChangeLog
gdb/maint.c

index f67c7aca238fb42a48af1afd9d2bbe5c5137fd37..90599b60ee072215a2929e1d9ce8399f55ac64eb 100644 (file)
@@ -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,
index c3a70c18a8ae7886241b135e970d75bacbe79f06..c46bdc0bbd58035d5bdac3a7b06fbf4067345213 100644 (file)
@@ -473,7 +473,7 @@ maintenance_translate_address (char *arg, int from_tty)
          break;
       }
 
-      if (!sect)
+      if (!objfile)
        error (_("Unknown section %s."), arg);
     }