Discussion Locked

About Pausing a program

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

please excuse my ignorance, but I was thinking about the "pause a program question" and began wondering if it is possible in *nix OSes on a x86 architecture to do some of the funnier DOS things. Like manually load an application into memory allocated by a user process point the IP at the correct address and have it run. Assume for a moment that I remembered to save all needed segment addresses and have loaded them correctly using the new program's data. Will the OS (talking about a *nix flavor)complain? Just a thought.
/R/
D

4 replies

by dljohnston

Hey--posting a question costs you points!! ROFL I better be careful or I wont be able to ask a serious question.

by epepke

I admit that I've never done this on a Unix clone on an x86 box. I have done it on an ETA-10g, which was Unix, but of course not an x86. It's certainly doable, as that is effectively what dbx has to do to do a postmortem debug session.

by dljohnston

Thanks - I have a couple Linux test boxes and I think I will play around with this. I am a newbie at debugging using core dumps and playing with process internals will surely produce a few. So it should, at least, be an interesting experiment.

This discussion is closed to new replies.