Path: chuka.playstation.co.uk!news From: Toby Sargeant Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: How do I use GDB ? Date: Wed, 03 Sep 1997 11:25:42 +1000 Organization: Forefront Software Services Lines: 40 Message-ID: <340CBC96.AF4298F0@angst.forefront.com.au> References: <335D1464.3C1E0345@hypemeister.bb.bawue.de> <33626150.747C4ECF@hypemeister.bb.bawue.de> <3365D3B7.5111@interactive.sony.com> <33665559.5A78B720@hypemeister.bb.bawue.de> <33799172.63C4@interactive.sony.com> <01bcb789$0ea49180$f9f082c1@bass> NNTP-Posting-Host: ws19.forefront.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.01 [en] (WinNT; I) X-Priority: 3 (Normal) Alexander Jakes wrote: > > I have tried working through the GDB documentation and still cannot get it > to work. > I connect using com3 and have DTLH3000 set accordingly, but when I type > target hss com3 I get the messages: > > Remote debugging using com3 > hss_putpkt: write failed: Unknown error 101. > I've got gdb to work fine under linux. The differences shouldn't be all that big. I copied the .gdbinit file straight from the psx cd, and that created a macro called start-remote-debugging. all i do is: ~> psxfer exename ~> gdb exename (gdb) start-remote-debugging psxfer starts the remote debugger, so I'd imagine that all you'd need to do is use siocons to do the same thing (after transferring the executable), port psxfer to dos, or write another version of it. I also have real problems with hss at 115.2K, because it doesn't do checksums, and so I get frequent corruption. 57.6 is as fast as I can drive it. To be very blunt about it, I found both the gnu tools under dos, and the codewarrior tools under win95/NT to be either unusable, or a load of rubbish, and since building my own environment for linux, I haven't looked back. The only thing I lack now is a modeller, and since I'm much more interested in realtime generation of 3d objects, that's not an important issue for me. Toby -- Toby Sargeant --------------------+ The sun describes its lonely arc, gothic@sirwal.mmcc.monash.edu.au | A brilliant ballet of red and blue, [C|C++|perl|680x0|80x86|lisp|lml] | Drawing the soft mist of starlight [HTML|vim|Linux|poetry|music|art] | Shivering expectantly in its wake.