--- doc/gdb.texinfo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/doc/gdb.texinfo +++ b/doc/gdb.texinfo @@ -34395,8 +34395,8 @@ messages, see @ref{Debugging Output}.) @table @code @kindex maint agent @kindex maint agent-eval -@item maint agent @var{expression} -@itemx maint agent-eval @var{expression} +@item maint agent @r{[}-at location@r{,}@r{]} @var{expression} +@itemx maint agent-eval @r{[}-at location@r{,}@r{]} @var{expression} Translate the given @var{expression} into remote agent bytecodes. This command is useful for debugging the Agent Expression mechanism (@pxref{Agent Expressions}). The @samp{agent} version produces an @@ -34407,6 +34407,8 @@ globb} will include bytecodes to record of the addresses of @code{globa} and @code{globb}, while discarding the result of the addition, while an evaluation expression will do the addition and return the sum. +If @code{-at} is given, generate remote agent bytecode for this loation. +If not, generate remote agent bytecode for current frame pc address. @kindex maint info breakpoints @item @anchor{maint info breakpoints}maint info breakpoints