hartzell@boulder.colorado.edu (George Hartzell) (03/06/90)
Gdb on my MIPS M-2000 running RISC/os 4.01 (on the bsd side) had a problem with line numbers that are represented in the extended format (delta greater than -7 - 7). A fix is below. I don't know if it works for other MIPS boxes (like the SGI). I think the problem is with what happens to the sign bit when code gets '>>'ed and assigned to delta. *** mipscoff.c Mon Mar 5 13:43:31 1990 --- mipscoff.c.old Mon Mar 5 13:43:24 1990 *************** *** 1612,1620 **** int count = (code & 15) + 1; if (dump_stuff & 1) printf("%2x", 0xFF & code); - #ifdef BITS_BIG_ENDIAN /* works for MIPS M-2000 RISC/os4.01bsd */ - if ((delta == 8) && (code & 128)) - #else if (delta == -8) - #endif { if (dump_stuff & 1) --- 1612,1616 ---- George Hartzell (303) 492-4535 MCD Biology, University of Colorado-Boulder, Boulder, CO 80309 hartzell@Boulder.Colorado.EDU ..!ncar!boulder!hartzell