Re: [PATCH 4/4] compile: New 'compile print'

Jan Kratochvil
2015-03-27T09:16:26Z

On Fri, 27 Mar 2015 10:10:40 +0100, Eli Zaretskii wrote:
> Btw, what does this fact mean for what can and cannot be in the
> expression?

Anything that can be in the inferior code. GDB extensions are not yet
implemented, except for '@' (which is not a part of this patchset).

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

Jan