Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!munnari.oz.au!metro!grivel!gara!loki!mark From: mark@loki.une.oz (Mark Garrett ) Newsgroups: comp.unix.ultrix Subject: Re: GDB under Ultrix 4.0 (mips) Message-ID: <1050@loki.une.oz> Date: 4 Dec 90 07:41:18 GMT References: <1990Dec3.205654.12771@magnus.ircc.ohio-state.edu> Organization: University of NewEngland, Northern Rivers (Lismore) Lines: 33 From article <1990Dec3.205654.12771@magnus.ircc.ohio-state.edu>, by bobd@magnus.ircc.ohio-state.edu (Bob DeBula): > > Since ADB is missing from Ultrix 4.0 [various nasty commentaries > about *THIS* decision deleted for the sake of brevity] has anyone > been able to port a working GDB over to a 5000 series DEC I've got Ultrix 4.0 on a VAX3500 and have got GDB to compile . > (a 5400 in our case). I'd be very interested in finding out > what you needed to do or better yet be able to FTP a copy. > I tried the 3100 verison out on "gatekeeper.dec.com", but it I picked up GDB from emacs.18.??.55 tar file > dies most horribly after I get it compiled and try to > use it on the 5400 (I applied all the "mips" diffs). > Any ideas??? What exactly dies ? From memory, (last week seems such along time ago) the only changes required were with param.h (mine links to m-vax.h in your case m-mips.h tho I do not have a m-mips.h) param.h defines a prototype for the function vprintf with a comment say that it doesn't exist already. On ultrix 4.0 vprintf is defined so comment it out or as I did use a #ifndef ULTRIX4 #define vprintf..... #endif then in make CFLAGS= ... -DULTRIX4 -- Mark Garrett Internet: mark@loki.une.oz.au University of NewEngland ACSnet: mark@loki.une.oz Northern Rivers VAX/VMS PSI: psi%0505266222011::mark Lismore NSW Australia Phone: +61 (066) 230859