From: KARTHIKVENKATESH BHAT <kv.bhat@samsung.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: Re: [PATCH] Prologue not set properly for binaries compiled with LLVM compiler (Bug #14419)
Date: Tue, 25 Sep 2012 14:02:00 -0000 [thread overview]
Message-ID: <33356014.127111348581693126.JavaMail.weblogic@epml02> (raw)
Hi,
Thanks. Please find the modified ChangeLog-
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.14697
diff -u -p -r1.14697 ChangeLog
--- gdb/ChangeLog 25 Sep 2012 12:48:52 -0000 1.14697
+++ gdb/ChangeLog 25 Sep 2012 13:51:46 -0000
@@ -1,3 +1,7 @@
+2012-09-25 Karthik Bhat <kv.bhat@samsung.com>
+
+ * arm-tdep.c (arm_skip_prologue): Extending support for LLVM compiler.
+
2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
* ada-valprint.c (ada_val_print_1): Eliminate single-use
Index: gdb/arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.367
diff -u -p -r1.367 arm-tdep.c
--- gdb/arm-tdep.c 22 Aug 2012 19:47:56 -0000 1.367
+++ gdb/arm-tdep.c 25 Sep 2012 13:51:52 -0000
@@ -1400,7 +1400,7 @@ arm_skip_prologue (struct gdbarch *gdbar
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)
Thanks
Karthik
------- Original Message -------
Sender : H.J. Lu<hjl.tools@gmail.com>
Date : Sep 25, 2012 22:49 (GMT+09:00)
Title : Re: [PATCH] Prologue not set properly for binaries compiled with LLVM compiler (Bug #14419)
On Tue, Sep 25, 2012 at 6:45 AM, KARTHIKVENKATESH BHAT
wrote:
> Hi,
> Please find the fix for Bug #14419 (http://sourceware.org/bugzilla/show_bug.cgi?id=14419). Prologue not set properly in case the binary is compiled with LLVM compiler.
> Clang similar to gcc guarantees a line note before and after the prologue.
> Extending GDB to support binaries compiled with LLVM so that prologue_end is set properly.
>
> Index: gdb/ChangeLog
> ===================================================================
> RCS file: /cvs/src/src/gdb/ChangeLog,v
> retrieving revision 1.14697
> diff -u -p -r1.14697 ChangeLog
> --- gdb/ChangeLog 25 Sep 2012 12:48:52 -0000 1.14697
> +++ gdb/ChangeLog 25 Sep 2012 13:34:52 -0000
> @@ -1,3 +1,7 @@
> +2012-09-25 Karthik Bhat
> +
> + * alpha-tdep.c (arm_skip_prologue): Extending support for LLVM compiler.
"^^ Wrong file name.
--
H.J.
next reply other threads:[~2012-09-25 14:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 14:02 KARTHIKVENKATESH BHAT [this message]
2012-09-26 11:11 KARTHIKVENKATESH BHAT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33356014.127111348581693126.JavaMail.weblogic@epml02 \
--to=kv.bhat@samsung.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox