This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix for incorect breakpoint set in case of clang compiled binary
- From: Tom Tromey <tromey at redhat dot com>
- To: kv dot bhat at samsung dot com
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 Nov 2012 08:49:27 -0700
- Subject: Re: [PATCH] Fix for incorect breakpoint set in case of clang compiled binary
- References: <10412685.433941353312405484.JavaMail.weblogic@epml02>
>>>>> "Karthik" == KARTHIKVENKATESH BHAT <kv.bhat@samsung.com> writes:
Karthik> I wanted to add a patch in i386-tdep.c . Similar to what is done in
Karthik> other architectures such as ARM,
Karthik> instead of actually going through the complete prologue if we can use
Karthik> the symbol table information to resolve prologue end.
I'm not the person to review this patch, but I did notice that it is
missing a ChangeLog entry and also a test case.
Karthik> + || strncmp (s->producer, "GNU ", sizeof ("GNU ") - 1) == 0
Karthik> + || strncmp (s->producer, "clang ", sizeof ("clang ") - 1) == 0))
Is there any other way?
Tom