X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Juan Manuel Guerrero Newsgroups: comp.os.msdos.djgpp Subject: Re: Building libc.a from CVS Date: Thu, 12 Jun 2008 03:34:55 -0700 (PDT) Organization: http://groups.google.com Lines: 13 Message-ID: References: <484fe13e$0$27436$9b4e6d93 AT newsspool4 DOT arcor-online DOT net> NNTP-Posting-Host: 88.68.35.221 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1213266896 14354 127.0.0.1 (12 Jun 2008 10:34:56 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 12 Jun 2008 10:34:56 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: y38g2000hsy.googlegroups.com; posting-host=88.68.35.221; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/48 (like Gecko) Safari/48,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Robert Riebisch schrieb: [snip] > Now I want to trace some libc functions from my main program using GDB > 6.4. Currently "n" or "s" commands make no difference. GDB steps over > lstat(). So where to put the "-g" switch or some DEBUG define? To implement debug support into libc you must edit /src/makefile.cfg and add to the gcc.opt target the following line: @./misc.exe echo - "-g" >>gcc.opt Regards, Juan M. Guerrero