Mail Archives: djgpp/2002/01/04/09:36:43
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
Message-ID: | <000c01c1952d$03bf2510$1400a8c0@alex>
|
From: | "Alex Oleynikov" <alex AT compuweigh DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Re: Strange RHIDE behavior
|
Date: | Fri, 4 Jan 2002 09:35:10 -0500
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4522.1200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200
|
Reply-To: | djgpp AT delorie DOT com
|
Eli Zaretskii wrote:
>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.
>Also, what debug switch did you use to compile? Was it -g, -gstabs,
>or something else?
I use -g3 and -ggdb3 switches
>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.
- Raw text -