From: Joel Brobecker <brobecker@adacore.com>
To: KARTHIKVENKATESH BHAT <kv.bhat@samsung.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Prologue not set properly for binaries compiled with LLVM compiler (Bug #14419)
Date: Tue, 25 Sep 2012 15:50:00 -0000 [thread overview]
Message-ID: <20120925154946.GC3010@adacore.com> (raw)
In-Reply-To: <23221993.126751348580756252.JavaMail.weblogic@epml02>
Karthik,
Thanks for the fix.
> +2012-09-25 Karthik Bhat <kv.bhat@samsung.com>
> +
> + * alpha-tdep.c (arm_skip_prologue): Extending support for LLVM compiler.
Wrong filename. The patch looks good and is OK to commit provided
you fix the formatting issue outlined below.
Do you have a copyright assignment on file? This patch is small enough
that it can be accepted without one, but if you are planing on
contributing more changes, having one would become necessary.
Let me know if you need to get started on the paperwork.
> 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:34:54 -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))
Please move the addition || condition on the next line, properly aligned
with the others.
--
Joel
prev parent reply other threads:[~2012-09-25 15:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-25 13:46 KARTHIKVENKATESH BHAT
2012-09-25 15:50 ` Joel Brobecker [this message]
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=20120925154946.GC3010@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=kv.bhat@samsung.com \
/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