Thread View: comp.sys.ibm.pc.rt
2 messages
2 total messages
Started by Jan Wielemaker
Sun, 14 May 1989 16:58
Undump on RT
Author: Jan Wielemaker
Date: Sun, 14 May 1989 16:58
Date: Sun, 14 May 1989 16:58
6 lines
669 bytes
669 bytes
Has anyone ported the Unix program undump by Spencer (to transform core dumps into new executables) to the RT under AIX. Trivial port from the SUN version seems to fail. Probably special initialisation code (before main() is called) is needed. Looking forward to reactions (preferably via mail) --- Jan
Re: Undump on RT
Author: A. Lester Buck
Date: Mon, 15 May 1989 04:17
Date: Mon, 15 May 1989 04:17
24 lines
1624 bytes
1624 bytes
In article <1259@swisun.swivax.UUCP>, jan@swivax.UUCP (Jan Wielemaker) writes: > Has anyone ported the Unix program undump by Spencer (to transform core > dumps into new executables) to the RT under AIX. Trivial port from the > SUN version seems to fail. Probably special initialisation code (before > main() is called) is needed. Gee, I think this would be in the "hard problem" category, but don't know for sure. I have spent the past few days poking around in a.out.h et al. pulling linenumber<->symbol value information out for an execution time profiler program. Unix System V uses COFF, AIX uses GPOFF, and Berkeley uses ? (no direct experience). To really make an executable, you get to deal with fun stuff like AIX's desire to build a data structure in the data segment called _main that holds the address of the start of main(), called .main, (Did you follow that?) as well as other useful numbers. Of course, this is only partially covered in the very back of the C manual, if I remember, or was it the Assembler? And if you can't figure out everything from the headers alone, well, you're just SOL. Good luck! -- A. Lester Buck ...!texbell!moray!siswat!buck
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads