2012-03-27 Pedro Alves <palves@redhat.com>
[deliverable/binutils-gdb.git] / gdb / symtab.c
index c2580a1d4b886db122bf5c085f0f950ad934b4ad..af115cdb12840b3bc458e4aea5c0bfc7bb0b3d3c 100644 (file)
@@ -2776,7 +2776,7 @@ skip_prologue_sal (struct symtab_and_line *sal)
         to `__main' in `main' between the prologue and before user
         code.  */
       if (gdbarch_skip_main_prologue_p (gdbarch)
-         && name && strcmp (name, "main") == 0)
+         && name && strcmp_iw (name, "main") == 0)
        {
          pc = gdbarch_skip_main_prologue (gdbarch, pc);
          /* Recalculate the line number (might not be N+1).  */
This page took 0.039243 seconds and 4 git commands to generate.