* symtab.c (iterate_over_some_symtabs): Fix indentation.
authorDoug Evans <dje@google.com>
Mon, 29 Jul 2013 20:04:16 +0000 (20:04 +0000)
committerDoug Evans <dje@google.com>
Mon, 29 Jul 2013 20:04:16 +0000 (20:04 +0000)
gdb/ChangeLog
gdb/symtab.c

index 519e488646921868e35bd5a7009f5adacd679ec7..678af3d5ec49e0984bff473584d3f21c7f326a70 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-29  Doug Evans  <dje@google.com>
+
+       * symtab.c (iterate_over_some_symtabs): Fix indentation.
+
 2013-07-27  Yao Qi  <yao@codesourcery.com>
 
        * NEWS: Mention that GDBserver now supports hardware
index 9040035a928b292c33b940accccf57a496188934..ee21fe9804e2208cc3b4c3f463eab84e425c73c1 100644 (file)
@@ -215,35 +215,35 @@ iterate_over_some_symtabs (const char *name,
          continue;
        }
 
-    /* Before we invoke realpath, which can get expensive when many
-       files are involved, do a quick comparison of the basenames.  */
-    if (! basenames_may_differ
-       && FILENAME_CMP (base_name, lbasename (s->filename)) != 0)
-      continue;
-
-    if (compare_filenames_for_search (symtab_to_fullname (s), name))
-      {
-       if (callback (s, data))
-         return 1;
+      /* Before we invoke realpath, which can get expensive when many
+        files are involved, do a quick comparison of the basenames.  */
+      if (! basenames_may_differ
+         && FILENAME_CMP (base_name, lbasename (s->filename)) != 0)
        continue;
-      }
 
-    /* If the user gave us an absolute path, try to find the file in
-       this symtab and use its absolute path.  */
+      if (compare_filenames_for_search (symtab_to_fullname (s), name))
+       {
+         if (callback (s, data))
+           return 1;
+         continue;
+       }
+
+      /* If the user gave us an absolute path, try to find the file in
+        this symtab and use its absolute path.  */
 
-    if (real_path != NULL)
-      {
-        const char *fullname = symtab_to_fullname (s);
+      if (real_path != NULL)
+       {
+         const char *fullname = symtab_to_fullname (s);
 
-       gdb_assert (IS_ABSOLUTE_PATH (real_path));
-       gdb_assert (IS_ABSOLUTE_PATH (name));
-       if (FILENAME_CMP (real_path, fullname) == 0)
-         {
-           if (callback (s, data))
-             return 1;
-           continue;
-         }
-      }
+         gdb_assert (IS_ABSOLUTE_PATH (real_path));
+         gdb_assert (IS_ABSOLUTE_PATH (name));
+         if (FILENAME_CMP (real_path, fullname) == 0)
+           {
+             if (callback (s, data))
+               return 1;
+             continue;
+           }
+       }
     }
 
   return 0;