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: [patchv2] compile: Fix GNU-IFUNC funcs called from injected code


On Wed, 25 Feb 2015 09:20:28 +0100, Phil Muldoon wrote:
> Not sure if we allow // comments yet.

Given the codebase already contains them and additionally it should get
converted to C++ I assume they are OK.


> > +      if (TYPE_GNU_IFUNC (SYMBOL_TYPE (sym)))
> > +        result = gnu_ifunc_resolve_addr (target_gdbarch (), result);
> 
> Is this guaranteed to return a value to result (or an exception)?

Yes.


Jan


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