aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorKarthik Bhat <kvbhat@sourceware.org>2012-09-26 12:14:30 +0000
committerKarthik Bhat <kvbhat@sourceware.org>2012-09-26 12:14:30 +0000
commit9ead7ae4a2c752d1b069a20beb2a09678dba02d5 (patch)
treef01fc1417b71f6df21fcae97d65fa0bf3b8ccc73 /gdb/arm-tdep.c
parent8f8a23a2c397294ab562c6cf7020679f85b921ec (diff)
downloadgdb-9ead7ae4a2c752d1b069a20beb2a09678dba02d5.zip
gdb-9ead7ae4a2c752d1b069a20beb2a09678dba02d5.tar.gz
gdb-9ead7ae4a2c752d1b069a20beb2a09678dba02d5.tar.bz2
* arm-tdep.c (arm_skip_prologue): Extending producer check to support LLVM compiler.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c3
1 files changed, 2 insertions, 1 deletions
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)