Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!yetti!geac!daveb From: daveb@geac.UUCP Newsgroups: comp.unix.questions Subject: Re: debugging incremental loaded executables Message-ID: <1626@geac.UUCP> Date: Sat, 17-Oct-87 15:52:26 EDT Article-I.D.: geac.1626 Posted: Sat Oct 17 15:52:26 1987 Date-Received: Sun, 18-Oct-87 13:40:00 EDT References: <427@swivax.UUCP> Reply-To: daveb@geac.UUCP (Dave Collier-Brown) Organization: The little blue rock next to that twinkly star. Lines: 31 Summary: Offer us a starting point, please. In article <427@swivax.UUCP> jan@swivax.UUCP (Jan Wielemaker) writes: >...dynamically add new classes to the object oriented part by writing >C-code, compiling this into object files and then load these into the >running PCE process. This is done by calling 'ld' to create an >incremental executable with some base address, loading the executable >and resolving the entry points. This feature is mainly used for >prototyping classes. > >Problem is that on an error 'adb' doesn't understand the core file as >the symbol table is incomplete. The symbol table of the created >executable is complete, but as the text of this file is incomplete adb >still refuses to produce a stack trace. (The system is running on SUN, >under SunUnix 3.2). I (and, I suspect, several other people) would be happy to munge around in incremental loaded-programs if we could get incremental loading to work properly.... If memory serves, someone asked for experiences with ld in creating incremental loadables about a week ago. Would you be so kind as to write us a paragraph or two on using the incremental loading feature, and include an example? I suspect if others could get started, they might help with some of the adb/dbx problems. --dave (GCOS is alive, well and living on the Riviera) c-b -- David Collier-Brown. {mnetor|yetti|utgpu}!geac!daveb Geac Computers International Inc., | Computer Science loses its 350 Steelcase Road,Markham, Ontario, | memory (if not its mind) CANADA, L3R 1B3 (416) 475-0525 x3279 | every 6 months.