[gvd-users] Saving and restoring displayed variables
David Brown
gvd-users@lists.act-europe.fr
Tue, 24 Sep 2002 13:15:12 +0200
Hi,
I am looking for a way to save and restore watched (displayed) variables in
gvd. I am using gvd on W2K along with an embedded debugger for
cross-debugging, and I have to re-start gvd every time I re-compile my
program (gcc won't write the elf file while gvd has it open). I then have
to do all my "graph display" commands again. I have tried saving the
session, as I guess that such imformation would be held there, but gvd will
not restore the session - it complains that it can't find executable gdb on
my path (not surprisingly, since I use "gvd --debugger m68k-bdm-elf-gdb" to
start gvd). I have also tried putting "graph display" commands in a script
file - I already use several gdb scripts for setting up the embedded target,
so I'm familiar with them. However, it seems that gvd-specific commands
like "graph display" don't work from scripts.
Does anyone have any suggestions as to how to get round these problems?
Thanks.