* A few more improvements to gx jit prototype.
[deliverable/binutils-gdb.git] / gdb / maint.c
index 2bec6346f8ec9d293a45847aa98d87e459523870..cf4ceb7e9a1b3edb40888dbc53d8934e3e355508 100644 (file)
@@ -313,8 +313,11 @@ maintenance_translate_address (arg, from_tty)
       while (isspace (*p)) p++;        /* Skip whitespace */
 
       ALL_OBJFILES (objfile)
-       if (sect = bfd_get_section_by_name (objfile->obfd, arg))
-         break;
+       {
+         sect = bfd_get_section_by_name (objfile->obfd, arg);
+         if (sect != NULL)
+           break;
+       }
 
       if (!sect)
        error ("Unknown section %s.", arg);
This page took 0.023716 seconds and 4 git commands to generate.