[gvd-users] GVD window arrangement

David Brown gvd-users@lists.act-europe.fr
Wed, 5 Sep 2001 13:29:10 +0200


Hi,

I am currently using GVD along with a cross-debugger for debugging and
embedded system based on a Motorola 68332 processor.  So far, I have been
very pleased with how easy it was to get GVD working with my specific
version of gdb, and I have it working fine on both Linux and Windows - many
thanks to the gvd developers!

I just have a couple of questions about the use of gvd, which I hope someone
can help me with.  When working with the embedded system, I need a number of
gdb macros and commands to set up the target.  At the moment, I use the gdb
prompt from gvd and use "source init.gdb" to load in a gdb script file.  Is
there any way to specify a script file from the command line?  With
command-line gdb, I could use "gdb -x init.gdb", but there does not seem to
be such a command line option for gvd.  It is not really a big issue, but it
would be quite convenient to have the debugger connect to the target
automatically.

The other point I am wondering about is the window layout.  Is this fixed?
I have quite a big screen (1600x1280), and would like to take better
advantage of it to display more information in gvd.  But if I make the gvd
main window wider, all I get is more white space - the gdb window at the
bottom gets wider without displaying anything more, as does the source code
window.  I get more canvas for displaying data at the top, but I would
really like more depth there rather than more width.  My ideal layout would
have the source window taking the full height of the main window, anchored
to the left of the window (so that I can see as much of the code as
possible), with the gdb window at the bottom on the right.  Other windows,
such as the code explorer tree and the call stack, could fit in the right
half, while leaving plenty of canvas depth for displayed data (structures
and objects often need a lot of depth rather than width).

Is there any way to re-arrange the window layout like this?


Many thanks,

David Brown
System Developer
WestControl a.s
Norway