Changeset 318


Ignore:
Timestamp:
Jun 11, 2003, 6:59:40 PM (22 years ago)
Author:
bird
Message:

#456: hex_dump for hll debug info too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/emxomf/listomf.c

    • Property cvs2svn:cvs-rev changed from 1.6 to 1.7
    r317 r318  
    12691269      rec_idx = next;
    12701270      rec_len = total_rec_len;
     1271
     1272      if (hex_dump)
     1273        {
     1274          int len = rec_idx - start;
     1275          printf ("  hexdump:\n");
     1276          rec_idx = start;
     1277          dump_block (len, 3);
     1278        }
    12711279    }
    12721280}
     
    14221430static void list_types (void)
    14231431{
    1424   int total_rec_len, type, qual, len, next, flags;
     1432  int total_rec_len, type, qual, len, next, flags, start;
    14251433  int args, max_args, fields;
    14261434  dword size;
     
    14321440      len = get_word ();
    14331441      next = rec_idx + len;
     1442      start = rec_idx;
    14341443      type = get_byte ();
    14351444      qual = get_byte ();
     
    17541763          show_fid ();
    17551764          printf (", maximum: ");
     1765          show_fid ();
     1766          printf (", name: ");
    17561767          show_fid ();
    17571768          printf ("\n");
     
    18161827      rec_idx = next;
    18171828      rec_len = total_rec_len;
     1829
     1830      if (hex_dump)
     1831        {
     1832          int len = rec_idx - start;
     1833          printf ("  hexdump:\n");
     1834          rec_idx = start;
     1835          dump_block (len, 3);
     1836        }
    18181837    }
    18191838}
Note: See TracChangeset for help on using the changeset viewer.