From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9ec9c72c4e7144c1,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-21 10:22:52 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!uknet!uos-ee!ee.surrey.ac.uk!Anthony From: A.Tai@ee.surrey.ac.uk (Anthony) Subject: Compiling problems with gdb-4.10 under osf/1 1.2A Message-ID: <1993Dec21.174414.19921@ee.surrey.ac.uk> Sender: news@ee.surrey.ac.uk Organization: University of Surrey, Guildford, England Date: Tue, 21 Dec 93 17:44:14 GMT I tried to compile gdb-4.10 under (for dec-alpha) osf/1 ver. 1.2A and encountered the following problems, (1) It complained about the type va_list in printcmd.c. I also tried defining __INT_VARARGS_H to no avail. /** va_list makeva_end (list) makeva_list *list; { #if defined (MAKEVA_END) MAKEVA_END (list); #else /* This works if a va_list is just a pointer to the arguments. */ return (va_list) list->aligner.arg_bytes; ----------^ #endif **/ (2) It complained about undeclared variable like CAUSE in mips-nat.c /** #define REGISTER_PTRACE_ADDR(regno) \ (regno < 32 ? GPR_BASE + regno \ : regno == PC_REGNUM ? PC \ : regno == CAUSE_REGNUM ? CAUSE \ : regno == HI_REGNUM ? MMHI \ : regno == LO_REGNUM ? MMLO \ : regno == FCRCS_REGNUM ? FPC_CSR \ : regno == FCRIR_REGNUM ? FPC_EIR \ : regno >= FP0_REGNUM ? FPR_BASE + (regno - FP0_REGNUM) \ : 0) **/ I checked -> and this is not defined. As far a I can remember only PC ... (it escapes my mind at the moment) are defined. There might be some other problems but these are the ones I remember off hand. Could someone please let me know if there is a patch or a newer version of gdb (perhaps a simple way to fix it) that could fix the problems. Thanks in advance, Anthony.