[comp.unix.ultrix] dbx 2.0

brw@jim.odr.oz.au (Brian Wallis) (01/22/88)

I have a problem with dbx on Ultrix version 2.0, the following script
demonstrates the problem. Dbx seems unable to handle enums in structures,
they are fine outside the structure and it seems to work OK if you typedef
the enum first and use that. I don't have the source, so... typedef wins!


* 51% cat dbxbug.c
* struct {
*   enum {CCC} a;
* } b;
* 
* main()
* {
*   b.a = CCC;
* }
* 52% cc -g -o dbxbug dbxbug.c
* 53% dbx dbxbug
* dbx version 2.0 of 4/2/87 22:10.
* Type 'help' for help.
* reading symbolic information ...dbx: internal error:
		assertion failed at line 1068 in file stabstring.c
* 54% ^D
* script done on Wed Jan 20 12:07:18 1988
* 

 OR somtimes...

* dbx version 2.0 of 4/2/87 22:10.
* Type 'help' for help.
* reading symbolic information ...dbx: internal error:
	expected char ',', found '=ar1;0;95;21=eone:0,zero:1,
	undefined:2,,64,3072;;'
* 
* Script started on Wed Jan 20 12:06:50 1988

Brian Wallis
	(brw@jim.odr.oz) (03) 562-0100 Fax: (03) 562-0616,
	Telex: Jacobs Radio (Bayswater) 152093

What What What What What! Only 5 whats, that's not very bright!