[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: message explanation
From: |
Tim Combs |
Subject: |
Re: message explanation |
Date: |
Thu, 7 Feb 2002 08:24:19 -0600 |
User-agent: |
Mutt/1.2.5i |
It could be a couple of things that I can think of right off.
Depending on the compiler and debugger there is a
construct called a location expression in DWARF2 debugging entries.
That says that a variable is valid from PC X to PC Y. When its outside
of that PC range the variable is no longer valid.
-or-
If you have set a watchpoint with an expression (at least this is true
in GDB, I think) and the variable that that expression depends on goes
out of scope (you leave the function or leave the compilation unit (.o)).
Then GDB disables the watchpoint.
My 2 cents.
Tim
address@hidden
On Thu, Feb 07, 2002 at 09:10:59AM -0500, Hirsch, Elliot wrote:
> Hi,
> I received the following message during a ddd session:
>
> Watchpoint 3 deleted because the program has left the block in which its
> expression is valid.
> 0xfeas1ed9c in Vos_Mutex_Acquire () from
> /tools/opnet.../sun_sparc_solaris/lib/libopvos.so
>
> What does this mean? Did me program enter an invalid area? Am I leaking
> memory? How do I avoid this?
> Thanks in advance for your help,
> Elliot
>
> ************************************
> If this email is not intended for you, or you are not responsible for the
> delivery of this message to the addressee, please note that this message may
> contain ITT Privileged/Proprietary Information. In such a case, you may not
> copy or deliver this message to anyone. You should destroy this message and
> kindly notify the sender by reply email. Information contained in this
> message that does not relate to the business of ITT is neither endorsed by
> nor attributable to ITT.
> ************************************
>
>
> _______________________________________________
> Ddd mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/ddd