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 07:56:08 +0000
> From: Phil Muldoon <pmuldoon@redhat.com>
> CC: gdb-patches@sourceware.org
> 
> It repackages the expression typed by the user into compilable form (with a scope, various bits of stack mapping, address translation, etc), send it to the compiler plugin that compiles it. GDB then runs the code in the inferior and captures the evaluated output and type and prints it.

Btw, what does this fact mean for what can and cannot be in the
expression?  Can it include calls to standard functions?  Can it
call functions from libraries other than libc?  What about functions
defined by the inferior?


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