version 1.2, 1996/06/26 05:33:00 |
version 1.3, 1997/02/09 23:58:32 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
|
|
/* |
/* |
* print.c - debugging printout routines |
* print.c - debugging printout routines |
* |
* |
|
|
m->offset); |
m->offset); |
|
|
if (m->flag & INDIR) |
if (m->flag & INDIR) |
(void) fprintf(stderr, "(%s,%ld),", |
(void) fprintf(stderr, "(%s,%d),", |
(m->in.type >= 0 && m->in.type < SZOF(typ)) ? |
(m->in.type >= 0 && m->in.type < SZOF(typ)) ? |
typ[(unsigned char) m->in.type] : |
typ[(unsigned char) m->in.type] : |
"*bad*", |
"*bad*", |
|
|
typ[(unsigned char) m->type] : |
typ[(unsigned char) m->type] : |
"*bad*"); |
"*bad*"); |
if (m->mask != ~0L) |
if (m->mask != ~0L) |
(void) fprintf(stderr, " & %.8lx", m->mask); |
(void) fprintf(stderr, " & %.8x", m->mask); |
|
|
(void) fprintf(stderr, ",%c", m->reln); |
(void) fprintf(stderr, ",%c", m->reln); |
|
|
|
|
case LELONG: |
case LELONG: |
case BESHORT: |
case BESHORT: |
case BELONG: |
case BELONG: |
(void) fprintf(stderr, "%ld", m->value.l); |
(void) fprintf(stderr, "%d", m->value.l); |
break; |
break; |
case STRING: |
case STRING: |
showstr(stderr, m->value.s, -1); |
showstr(stderr, m->value.s, -1); |