Loading object files into executing programs [users of PADPowell's code plse read]

Chris Torek chris at umcp-cs.UUCP
Fri Apr 12 14:35:07 AEST 1985


Keeping the -g symbol table in dynamically loaded object modules is no
problem:  ld already writes a new symbol table (indeed, the dynamic
loading code requires it) and does not strip the debugger entries.  The
trick is convincing dbx to look in two different places for the object
code and for the symbol table.  I imagine kludging up an extra dbx
argument to read the new symbol table wouldn't be too difficult (then
again I haven't looked at the dbx source, not needing a debugger :-)).
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix.wizards mailing list