This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 11/11] ELFv2 ABI: skip global entry point code


Joel Brobecker <brobecker@adacore.com> wrote on 31.01.2014 11:14:32:

> > No, there are no multiple entry points on AIX.  (What you are refering
> > to are mabye linker stubs?  Those exist on Linux too, but they're not
> > causing any issues with setting break points ...)
>
> Maybe something like that, yes. I kind of remember that "break *func"
> would sometimes not trigger, because a call of that function would
> just to the 3rd instruction of the function instead of the first one.
> It's not important.

Huh, interesting.  Well, if you run into an example again, give me a
ping and I can have a look ...

> > I'd rather either skip the test, or modify it so that it also works on
> > powerpc64le-linux.  One way to do that would be to ensure that "hello"
> > is entered via its global entry point, e.g. by calling it via a
> > function pointer.  This is what I've implemented now.  Does this look
> > reasonable to you?
>
> Ha! That's indeed a much better idea.

OK, good.  I'll post a full updated patch series shortly, and will
probably commit to mainline early next week.  Thanks again for your
review!

Bye,
Ulrich


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]