Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hhb.UUCP Path: utzoo!watmath!clyde!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!cmcl2!philabs!hhb!je From: je@hhb.UUCP (Jon Eiseman) Newsgroups: net.bugs.4bsd Subject: dbx bugs Message-ID: <160@hhb.UUCP> Date: Thu, 24-May-84 10:34:34 EDT Article-I.D.: hhb.160 Posted: Thu May 24 10:34:34 1984 Date-Received: Fri, 1-Jun-84 05:16:18 EDT Organization: HHB-Softron, Mahwah, NJ Lines: 34 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