Hi all
I've finally got GDB working over the Ethernet with an embedded board. There's only one thing I need to do to get it working perfect. That's setting my source directories. I need to set them because of the nature of the cross compiler, so I use
dir /blah/........
My only problem is I use about half a dozen different directories for source, so it takes me an age to type them in. Is there some sort of batch file I can call? Or can I set them in .gdbinit? I've tried a custom gdbinit in my exe directory which works for some things but not setting directories. I've tried
dir /...
and
set dir /........
Is there some way of setting them in .gdbinit or calling some sort of GDB batch instruction
thanks