delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/12/08/16:06:59

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Fri, 8 Dec 2006 16:06:42 -0500
Message-Id: <200612082106.kB8L6gBW001006@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: Gordon DOT Schumacher AT seagate DOT com
CC: djgpp AT delorie DOT com
In-reply-to:
<OF3C43306A DOT 9EFD688F-ON8725723E DOT 005FBADE-8725723E DOT 0073AF7A AT seagate DOT com>
(Gordon DOT Schumacher AT seagate DOT com)
Subject: Re: Profiling with -pg and arguments to main() - GCC 4.1.0
References: <OF3C43306A DOT 9EFD688F-ON8725723E DOT 005FBADE-8725723E DOT 0073AF7A AT seagate DOT com>
Errors-To: nobody AT delorie DOT com

> So I'm not quite sure where to go from here in debugging... ideas?

Disassemble your main.o and see if the stack is getting corrupted.
Profiling adds code to the beginning of each function to record the
call graphs, usually with a call to _mcount.  Stepping over that and
watching bp/sp might give some clues.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019