Path: chuka.playstation.co.uk!news From: Toby Hutton Newsgroups: scea.yaroze.beginners Subject: Re: GDB DEBUGGER Date: 13 Jul 1998 12:15:59 +1000 Organization: PlayStation Net Yaroze (SCEE) Lines: 24 Sender: thutton@TECH10 Message-ID: References: <35A82BA0.C6A8D35C@accessv.com> <35A83EEC.4ABE@charlie.cns.iit.edu> <35A8E41B.E77910F8@accessv.com> <35A8E671.67A5@charlie.cns.iit.edu> NNTP-Posting-Host: 203.103.154.235 X-Newsreader: Gnus v5.3/Emacs 19.34 Ed Federmeyer writes: > > If some kind person could take the actual GDB source that was used > to make the Yaroze PC disc, and just fix it so it "knows about" > COM2, COM3, and COM4, that would be a very cool thing! gdb reads a file called .gdbinit at startup, from the current directory or your home directory (which is set by DJGPP.BAT, AFAIR). Sony supplied a .gdbinit, although under DOS I imagine it's called _gdbinit or gdb.ini, which initialises some settings and creates some macros specifically for debugging the Yaroze over the serial line. Now, I reckon if you can find this file on your system, you should find that you can configure the default com port in there. You should also be able to specify the com port at the gdb prompt, with a command similar to 'target hss com1', or 'target remote com1'. I haven't used gdb with the Yaroze for a few months, and definitely not for ages under DOS, so this info is off the top of my head where a fuzzy vagueness reigns and may be slightly off target. Hope it helps, though. -- Toby.