Path: utzoo!attcan!uunet!wuarchive!texbell!attctc!walls
From: walls@attctc.Dallas.TX.US (Monty Walls)
Newsgroups: comp.os.minix
Subject: User program debuggers for i8088
Keywords: i8088 mdb adb sdb debugging
Message-ID: <9536@attctc.Dallas.TX.US>
Date: 30 Sep 89 15:03:30 GMT
Organization: The Unix(R) Connection, Dallas, Texas
Lines: 41


--------------------------------------------------------------------------

	Having been examining building a symbolic debugger for PC 
minix I have noticed some difficulties.  So I'm tossing out somethings
I've noticed, to see if anybody else had a better idea
(I do have PC minix compiler sources).
  

	Problems:
		a) no debugging info from PC compiler
			1) no line number information from PC compiler.
			2) no local variable information.
		b) no dump of proc areas in core dumps.
		c) ptrace(I am aware of the Atari version).
		d) different struct exec layout on ATARI vs PC.

	Solutions:
		a) you lose.
			1) post processor of .s source files to generate line
			   number information from -l cem option (sloppy
			   but does work). Still need to patch 'ast' or
			   'asld' to insert line numbers into the load module.
			2) tough luck, no way arround this.
		b) modify mm to dump a composite proc table entry as a
		   header for a core dump.
		c) use the Atari version
		d) use the a.out layout for v7 unix.

I would like to here some commentary on this.

-Monty Walls

Monty Walls
Work:						Home:
	MIS Division, Tech. Support			2224 Houston Apt #8
	Oklahoma Tax Commission				Norman, OK, 73701
	2501 N. Lincoln					USA
	OKC, OK, 73194 					Phone - 405-364-5123
	USA						uucp - attctc!walls
	Phone - 405-521-4300