Patch-ID# 100191-02
Keywords: source, aliases
Synopsis: dbx core dumps when sourcing files with aliases
Date:  12/15/90
 
SunOS release: 4.1.x
 
Unbundled Product: SW dbx
 
Unbundled Release: 1.0
 
Topic:
 
BugId's fixed with this patch: 1041029

Architectures for which this patch is available: sun3, sun4

Patches which may conflict with this patch:

Obsoleted by: SparcWorks 1.0 dbx

Problem Description:

	This dbx is functionally equivalent to the dbx supplied with
	SPARCWorks 1.0.  A number of fixes from earlier dbx's may be 
	found here with the one documented below specifically known 
	to be fixed.  This dbx is safe to use with both bundled	and 
	unbundled C and Fortran.


	dbx will occassionally core dump when using the source command
	on a file with csh aliases in it.

	A sample session showing the problem is provided below:

		ohana% dbx a.out
		Reading symbolic information...
		Read 34 symbols
		(dbx) source aliases123456789
		(dbx) source aliases1234    ------ receive a syntax error
		syntax error on " aliases1234
		"
		(dbx) source aliases1234    ------ same command now works fine
		(dbx) run
		Running: a.out              ----  okay at times
		hello world

		execution completed, exit code is 12
		program exited with 12
		(dbx) run
		Running: a.out 
		hello world

		execution completed, exit code is 12
		program exited with 12
		(dbx) source aliases123456789
		(dbx) run
		Running: a.out 
		Segmentation fault (core dumped)


INSTALL:

	This patch distribution contains both sun3 and sun4 versions.
	One can either replace /usr/ucb/dbx with the appropriate patch
	or place the patch in a separate directory and invoke it from there.
