Patch-ID# 100153-01 Keywords: use, source Synopsis: SunOS use command not working for dbx and dbxtool Date: 31/Oct/90 SunOS release: 4.1, 4.1.1, 4.1.2 Unbundled Product: dbx Topic: dbx 'use' command does not work BugId's fixed with this patch: 1037997 1011733 1029760 1003982 1041047 Architectures for which this patch is available: sun3 sun4 Obsoleted by: SparcCompilers 1.0 Problem Description: dbx and dbxtool ignore the "use" command and insist on using the files an executable was originally compiled with. This happens under 4.0.3 and 4.1. To reproduce the bug, do the following: 1. compile source in directory "a" - produce executable "a.out" 2. copy source tree into directory "b" 3. continue development on source in dir "a", modifying it. 4. try to debug the executable built in dir "a", using the source tree in dir "b" No matter what is tried, dbx and dbxtool will use the source files in directory "a". DBX uses the path coded in the .stabs to find the source and basically ignores the use path. INSTALL: use the new version of dbx provided. Example is for a sun4 subsitute sun3 for sun4 for the sun3 platforms. AS root: # mv /usr/ucb/dbx /usr/ucb/dbx.orig # cp sun4/dbx /usr/ucb/dbx # chmod 755 /usr/ucb/dbx Estimated Size of this patch: 781 KB