From 9ead7ae4a2c752d1b069a20beb2a09678dba02d5 Mon Sep 17 00:00:00 2001 From: Karthik Bhat Date: Wed, 26 Sep 2012 12:14:30 +0000 Subject: * arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler. --- gdb/arm-tdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/arm-tdep.c') diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index cddb88c..05a030a 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) -- cgit v1.1