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 4/4] compile: New 'compile print'


> Date: Fri, 27 Mar 2015 10:16:17 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Phil Muldoon <pmuldoon@redhat.com>, gdb-patches@sourceware.org
> 
> > Can it include calls to standard functions?  Can it call functions from
> > libraries other than libc?  What about functions defined by the inferior?
> 
> yes, yes (as long as the library is already DT_NEEDEDed or dlopen()ed by the
> inferior), yes.

Are you sure the last part (calling functions in the inferior) will
work on all platforms?  How does the GCC plugin know to resolve the
address of the inferior's functions correctly?  Won't it need some
kind of import library on Windows?


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