1 /* Routines for debug use only. Don't link into product.
12 for ( chp=frchain_root; chp; chp = chp->frch_next ){
13 switch ( chp->frch_seg ){
24 printf("\nSEGMENT %s %d\n", p, chp->frch_subseg);
25 dmp_frag( chp->frch_root,"\t");
29 dmp_frag( fp, indent )
33 for ( ; fp; fp = fp->fr_next ){
34 printf("%sFRAGMENT @ 0x%x\n", indent, fp);
35 switch( fp->fr_type ){
37 printf("%srs_align(%d)\n",indent, fp->fr_offset);
40 printf("%srs_fill(%d)\n",indent, fp->fr_offset);
42 var_chars( fp, fp->fr_var + fp->fr_fix );
43 printf("%s\t repeated %d times,",
44 indent, fp->fr_offset);
45 printf(" fixed length if # chars == 0)\n");
48 printf("%srs_org(%d+sym @0x%x)\n",indent,
49 fp->fr_offset, fp->fr_symbol);
50 printf("%sfill with ",indent);
54 case rs_machine_dependent:
55 printf("%smachine_dep\n",indent);
58 printf("%sunknown type\n",indent);
61 printf("%saddr=%d(0x%x)\n",indent,fp->fr_address,fp->fr_address);
62 printf("%sfr_fix=%d\n",indent,fp->fr_fix);
63 printf("%sfr_var=%d\n",indent,fp->fr_var);
64 printf("%sfr_offset=%d\n",indent,fp->fr_offset);
65 printf("%schars @ 0x%x\n",indent,fp->fr_literal);
76 for ( p=(unsigned char*)fp->fr_literal; n; n-- , p++ ){