From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Graulich To: GDB Mailing List Subject: GDB Scripting Date: Sat, 20 Oct 2001 05:25:00 -0000 Message-id: <3BD16CD3.CCF7FB47@synopsys.com> X-SW-Source: 2001-10/msg00208.html Hi all, is it possible, to store the result of a gdb command like 'frame' in a variable? I like to write someting like define hook-stop set $FRAME=frame if $FRAME=="main" ... else ... end end How to do that? Robert