www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/21/03:50:41

Xref: news2.mv.net comp.os.msdos.djgpp:2004
From: malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor)
Newsgroups: comp.os.msdos.djgpp
Subject: Bug hides with GDB.
Date: Thu, 21 Mar 1996 02:24:10 GMT
Organization: Grafik Software
Lines: 13
Message-ID: <4iqeht$c1t@news.manawatu.gen.nz>
Reply-To: malcolm AT manawatu DOT gen DOT nz
NNTP-Posting-Host: malcolm.manawatu.gen.nz
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,
	I have a fairly annoying bug that is hiding when I use GDB to try to
find it. The bug is that a search through a small database (using
strcmp's) returns a NULL pointer (which normally means that it found
nothing) when running normally, but when run through GDB the function
finds the correct match. I was wondering if anyone had any ideas of
what sort of functions or methods or bugs etc. could cause this effect
(ie work when using a debugger). Basicly what is the difference in the
environment between running normally and through a debugger.

Thanks,
Malcolm

- Raw text -


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