Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!philabs!sbcs!root From: root@sbcs.UUCP (Root) Newsgroups: comp.sys.amiga Subject: Re: Wanted: Good Debugger (hopefully PD) Message-ID: <269@sbcs.UUCP> Date: Wed, 21-Jan-87 11:24:35 EST Article-I.D.: sbcs.269 Posted: Wed Jan 21 11:24:35 1987 Date-Received: Thu, 22-Jan-87 20:07:03 EST References: <2846@gitpyr.gatech.EDU> <1234@cbmvax.cbmvax.cbm.UUCP> <1672@hoptoad.uucp> <234@mcdsun.UUCP> Organization: Computer Science Dept, SUNY@Stony Brook Lines: 43 > In article <1672@hoptoad.uucp> gnu@hoptoad.uucp (John Gilmore) writes: > > [info about GNU project gdb] (If there isn't a volunteer with > >Arpanet access and an Amiga, to move it to Amiga floppies, I could grab it > >from the Arpanet and uucp it to Fred Fish. Let's see if anybody wants it, > >first, and if a volunteer pops up.) > > I have a copy of version 1.10, probably not the latest. Most GNU things > seem to autoincrement weekly :-) (heh, better than never getting fixed!) > Anyway, if anyone is serious about attempting a port, and has no easy way to > get the latest and greatest on Amiga floppies, contact me and I'll > see that you get a copy. > > -Fred > -- I compiled up a copy of gdb for the Amiga - after looking through the various undefined symbols, a few caveats come to mind for those considering a port: 1. The version I have uses a yacc parser, so be sure to pick up a copy of Bison before you start your porting effort. Guess Fred has a working copy on one of his later disks. Fred? 2. Call up Perry (ASDG) and order up some more memory for your machine - the executable generated by our Sun cross compiler system is roughly 250K bytes (text/bss/data) + whatever dynamic memory required. 3. Be prepared to resolve some of the more arcane Unix calls, for example, ptrace(). Actually ptrace() isn't all that bad compared to vfork/wait, etc. Yes, you probably could Amiga'ize the code completely, though this is unadvisable since as Fred mentioned, the code is being improved constantly. 4. Also be aware that you will have to "know thy compiler" w.r.t. it's symbol table output - is this sort of information documented (available?) in Manx/Lattice? As for gdb itself, what can I say? It is well worth the effort! Rick Spanbauer PS. Anyone have an X windows front end for gdb?