Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: A.Tai@ee.surrey.ac.uk (Anthony)
Subject: Compiling problems with gdb-4.10 under osf/1 1.2A
Date: Tue, 21 Dec 93 17:44:14 GMT	[thread overview]
Message-ID: <1993Dec21.174414.19921@ee.surrey.ac.uk> (raw)

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 <sys/ptrace.h> -> <machine/alpha_ptrace.h> 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.


             reply	other threads:[~1993-12-21 17:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-21 17:44 Anthony [this message]
1993-12-28  0:32 ` Compiling problems with gdb-4.10 under osf/1 1.2A Anthony Baxter
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox