This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patchv2] compile: Fix GNU-IFUNC funcs called from injected code
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Phil Muldoon <pmuldoon at redhat dot com>
- Date: Thu, 26 Feb 2015 17:43:09 +0100
- Subject: [commit] [patchv2] compile: Fix GNU-IFUNC funcs called from injected code
- Authentication-results: sourceware.org; auth=none
- References: <20150224190720 dot GA32497 at host1 dot jankratochvil dot net> <20150224200237 dot GA1746 at host1 dot jankratochvil dot net> <54EF409C dot 9090102 at redhat dot com>
On Thu, 26 Feb 2015 16:49:48 +0100, Pedro Alves wrote:
> I think we could probably avoid the extra infcall done
> within gnu_ifunc_resolve_addr if we're going to be running
> the generated code anyway, but it's not worth the effort
> at this point.
Yes; it would also need hacking in the GCC part.
> Could you move these inside the prefix too, so that if they
> fail for some reason, we get distinct test messages from
> the nodebug case?
Done.
Checked in:
081a1c2cede38dfb837e3d89539416fd836be4fe
Thanks,
Jan