je@hhb.UUCP (Jon Eiseman) (05/24/84)
I found and fixed two dbx bugs (diffs are included). 1. The CALL command doesn't work when the function being called takes parameters. The procedure 'cont' was called incorrectly (no parameter). 2. The PRINT command gives the wrong result when you try to examine C unsigned long variables. The size function incorrectly calculated the size as one byte. The diffs follow for runtime.c and symbols.c diff runtime.c /usr/src/ucb/dbx 512c512 < cont(0); --- > cont(); diff symbols.c /usr/src/ucb/dbx 508d507 < #define MAXULONG 0xffffffff 528,530c527 < if (lower == 0 and upper == MAXULONG) { /* unsigned long */ < r = sizeof(long); < } else if (upper == 0 and lower > 0) { /* real */ --- > if (upper == 0 and lower > 0) { /* real */ Jon Eiseman HHB-Softron Mahwah, NJ {decvax,allegra}!philabs!hhb!je