Date: Wed, 19 Jan 1994 09:01:46 +0100 From: Stefan Eckart To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: -pg bug Cc: sandmann AT clio DOT rice DOT edu > > You pushed an additional value on the stack, so the offset must be changed from > 4(%esp) to 6(%esp) or 8(%esp) - I'm not sure which. I'd have to do a test to > be sure. Let's hope that fixes it, I'm running out of ideas :-( > Argh! I should have caught that one myself... But starting to modify a code without knowing for sure what side effects one is causing tends to make one overlooking even such straightforward things :-) I think I'll also have to move the mc_chain variable into the code space to be able to reference it after restoring ds. I hope this won't cause any new problems. > And so far you're doing *GREAT* for a novice, if you really are one! Definitely at least in everything regarding the internals of x86 protected mode... Let's hope this was the last round! Stefan.