X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Date: Fri, 04 Jan 2002 18:37:24 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Alex Oleynikov" Message-Id: <6503-Fri04Jan2002183724+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <000c01c1952d$03bf2510$1400a8c0@alex> Subject: Re: Strange RHIDE behavior References: <000c01c1952d$03bf2510$1400a8c0 AT alex> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Alex Oleynikov" > Date: Fri, 4 Jan 2002 09:35:10 -0500 > > >Is it possible that you have a global symbol (a variable or a > >function) by the same name in that program, or in some library the > >program calls? What does the following GDB command print? > > > > (gdb) info address search_cond > > > >Also, if you type "info variables" at GDB's prompt, does it mention > >search_cond in the list it prints? > > No variable named search_cond is present in the namespace of the debugger. I > also searched all third-party libraries that I use in my program and didn't > find anything either. Are you _absolutely_ sure? Did you try the GDB command I suggested above? > >Also, what debug switch did you use to compile? Was it -g, -gstabs, > >or something else? > > I use -g3 and -ggdb3 switches If this is GCC 3.0.2 or later, -ggdb3 means the debug info is in the DWARF2 format. It's possible that your version of RHIDE doesn't yet support DWARF2 debug info very well. So I suggest to rebuild with the -gstabs+ option instead of -ggdb3, and see if that helps. > >If the program is a C++ program, it's possible that the offending > >symbol comes from some C++ class. > > I have both .C and .CPP files in the project, but the problems occurrs in > any of them if define a function with such argument. What, you mean you can post a short test C program which could be compiled and used to reproduce the problem? If so, please post such a program here.