Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcsvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ittatc!dcdwest!sdcsvax!hutch From: hutch@sdcsvax.UUCP (Jim Hutchison) Newsgroups: net.unix-wizards Subject: something nasty in data, 4.2BSD Message-ID: <1018@sdcsvax.UUCP> Date: Tue, 30-Jul-85 07:44:24 EDT Article-I.D.: sdcsvax.1018 Posted: Tue Jul 30 07:44:24 1985 Date-Received: Fri, 2-Aug-85 06:33:58 EDT Organization: UCSD EMU Project (Educational Microcomputer Unix) Lines: 24 <> 4.2BSD, Vax 11/780 and Sun(4.2 rel1.2) I am currently writing a pair of routines to dump and restore the data and bss of a program. The reason? To checkpoint this rather long running fractal program (higher resolutions will take upwards of a fortnight to run on a sun, and with suntools...reboot!). At the onset I tried to copy from etext to sbrk(0). This was fine for reading it out, but writing it back in seems not to work. I realize that something readonly is in there , anybody know exactly what? If I could just find out, then its just an X + sizeof(imposing twit). Anyone know what it/they is/are, and how big? Looks like 48 bytes, but the would just be a hack. I am trying to avoid the gnu emacs method. -- /* Jim Hutchison UUCP: {dcdwest,ucbvax}!sdcsvax!hutch ARPA: hutch@sdcsvax [ Of course, these statements were typed into my terminal while I was away. ] */