tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* dbx error whith up/lo case
@ 1998-09-23  7:59 soma_c
  0 siblings, 0 replies; only message in thread
From: soma_c @ 1998-09-23  7:59 UTC (permalink / raw)
  To: tru64-unix-managers

Hi

Here is a strange dbx behavior:
dbx  version 3.11.8
on
Digital UNIX V3.2D-1 (Rev. 41)
upper/lower case seems to be identical?

main()
{
int nn=0;
int NN=1;

printf("av NN=%d &NN=%x nn=%d &nn=%x\n",NN,&NN,nn,&nn);
nn=NN+1;
printf("ap NN=%d &NN=%x nn=%d &nn=%x\n",NN,&NN,nn,&nn);
}

cc -g ess.c
dbx a.out
dbx version 3.11.8
Type 'help' for help.

main:   3  int nn=0;
(dbx) l
     4  int NN=1;
     5  
     6  printf("av NN=%d &NN=%x nn=%d &nn=%x\n",NN,&NN,nn,&nn);
     7  nn=NN+1;
     8  printf("ap NN=%d &NN=%x nn=%d &nn=%x\n",NN,&NN,nn,&nn);
     9  }
(dbx) stop at 8
[2] stop at "ess.c":8
(dbx) run
av NN=1 &NN=1ffffd40 nn=0 &nn=1ffffd48
[2] stopped at   [main:8 ,0x1200011e0] 	printf("ap NN=%d &NN=%x nn=%d &nn=%x\n",NN,&NN,nn,&nn);
(dbx) p nn
2 
(dbx) p NN
2 
(dbx) next
ap NN=1 &NN=1ffffd40 nn=2 &nn=1ffffd48
  [main:9 ,0x120001208] 	}
(dbx) p nn
2 
(dbx) p NN
2 
(dbx) quit
Same on ultrix 4.3 quid of 4.0d ?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-23  7:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-23  7:59 dbx error whith up/lo case soma_c

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