Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Cc: "redhat-devel-list@redhat.com" <redhat-devel-list@redhat.com>
Subject: gdb & var_arg routines dont work well together
Date: Sun, 08 Mar 1998 19:01:16 -0500	[thread overview]
Message-ID: <35033147.E7BCF519@voicenet.com> (raw)

I have been unable to reliably to get GDB to work with C routines that
have an ... in the parameter list.

The following simple routine demonstrates my problem.
The demo works, but u cant get GDB to print the value of i for any of
the iterations.

main(char *f, ... )
{
 int i,j,k; long l,m,n; char* a,* b,* c;

 for (i=1; i<20; i++)
  printf("%d:",i);
 printf("\n");
}


AND
can some ont tell me where i can get current info on alpha/gcc
produced/  asm directives

.frame
.prologue
.mask



             reply	other threads:[~1998-03-08 23:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-09  0:01 Uncle George [this message]
1998-03-09  0:21 ` gdb & var_arg routines dont work well together Quant-X Linux Support
1998-03-09 12:50   ` Uncle George
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