Patch-ID# 100130-01
Keywords: use, source
Synopsis: use command not working for dbx and dbxtool
Date: Sept/25/90
 
SunOS release: 4.1
 
Unbundled Product: dbx
 
Unbundled Release: SC1.0
 
Topic: dbx 'use' command does not work
 
BugId's fixed with this patch: 1037997 1011773 1029760 1003982

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:
As ROOT:

#mv /usr/ucb/dbx /usr/ucb/dbx.orig
#mv /usr/bin/dbxtool /usr/bin/dbxtool
#cp sun?/dbx /usr/ucb/dbx
#cp sun?/dbxtool /usr/bin/dbxtool

#chmod 755 /usr/ucb/dbx /usr/bin/dbxtool
