[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-bugs
Subject:    Re: Memmory change....
From:       Madhusudan Challa <challa () acc ! am ! ericsson ! se>
Date:       2001-09-20 1:36:21
Message-ID: 3BA94814.1002B1B1 () acc ! com
[Download RAW message or body]

Set a watchpoint. But remember this will slow down the code very much as that
address will be checked for after each instruction. Also you need to be in the
same thread of execution. Otherwise your watchpoint will be deleted. If you
have multiple threads of execution say multiple processes which get scheduled
and you dont know in which process the value is getting changed, this might
not be helpful and the only alternative you have is a logic analyzer.

-madhusudan

Claes Stejre wrote:

> Hi,
>
> I have a problem, and to find what's happening I have to find out if
> somebody are changing a specific
> memory address. Is there a way to put in a breakpoint when a physic memory
> address has been changes?
>
> Thanks for your answer.
>
> /Claes

--
-madhusudan

Ericsson Inc
work :- 805-562-6066




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic