Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Compiling problems with gdb-4.10 under osf/1 1.2A
@ 1993-12-21 17:44 Anthony
  1993-12-28  0:32 ` Anthony Baxter
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony @ 1993-12-21 17:44 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiling problems with gdb-4.10 under osf/1 1.2A
  1993-12-21 17:44 Compiling problems with gdb-4.10 under osf/1 1.2A Anthony
@ 1993-12-28  0:32 ` Anthony Baxter
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Baxter @ 1993-12-28  0:32 UTC (permalink / raw)


A.Tai@ee.surrey.ac.uk (Anthony) writes:

>I tried to compile gdb-4.10 under (for dec-alpha) osf/1 ver. 1.2A and 
>encountered the following problems,

Grab gdb-4.11 - it compiled out of the box for me on OSF/1 1.2


Available from all GNU ftp sites, eg prep.ai.mit.edu:/gnu/


Anthony
--
 anthony baxter                 australian artificial intelligence institute
email : anthony@aaii.oz.au         1 grattan st, carlton, australia 3053
    /\/\||                                 phone : +613 663 7922
  It's not denial. I'm just selective about the reality I accept. - Calvin 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-12-28  0:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-21 17:44 Compiling problems with gdb-4.10 under osf/1 1.2A Anthony
1993-12-28  0:32 ` Anthony Baxter

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