diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 33127a99bd2..78ddfe5bce9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-09-26 Karthik Bhat + + * arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler. + 2012-09-26 Siddhesh Poyarekar * amd64-tdep.c (amd64_return_value): Use TYPE_LENGTH directly. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index cddb88c44ae..05a030a89c6 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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)