Re: [PATCH] Fix for incorect breakpoint set in case of clang compiled binary

Tom Tromey
2012-11-19T15:50:08Z

>>>>> "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