* arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler.
authorKarthik Bhat <kvbhat@sourceware.org>
Wed, 26 Sep 2012 12:14:30 +0000 (12:14 +0000)
committerKarthik Bhat <kvbhat@sourceware.org>
Wed, 26 Sep 2012 12:14:30 +0000 (12:14 +0000)
gdb/ChangeLog
gdb/arm-tdep.c

index 33127a99bd20161d2cadcfeeab783a0f5908c82c..78ddfe5bce9efe50e01413425d9e324afd3a12e0 100644 (file)
@@ -1,3 +1,7 @@
+2012-09-26  Karthik Bhat  <kv.bhat@samsung.com>
+
+       * arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler. 
+
 2012-09-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly.
index cddb88c44ae120b07919c3d8559fc8d29964f58d..05a030a89c6c71fcd2482eff2936123b195cd74f 100644 (file)
@@ -1400,7 +1400,8 @@ arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
       if (post_prologue_pc
          && (s == NULL
              || s->producer == NULL
-             || strncmp (s->producer, "GNU ", sizeof ("GNU ") - 1) == 0))
+             || strncmp (s->producer, "GNU ", sizeof ("GNU ") - 1) == 0 
+             || strncmp (s->producer, "clang ", sizeof ("clang ") - 1) == 0))
        return post_prologue_pc;
 
       if (post_prologue_pc != 0)