Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb: debugging memory location changes.
@ 2007-06-20  9:42 Pawel
  2007-06-20 10:00 ` Nick Roberts
  0 siblings, 1 reply; 3+ messages in thread
From: Pawel @ 2007-06-20  9:42 UTC (permalink / raw)
  To: gdb mailing list

Hallo Group Members.

I have the following problem.

I am debugging large code I am not familiar with. I noticed that
memory location, for example funnyObject.field, changes somewhere in
the code and I do not know where, thus I do not know where to set the
breakpoint. Can gdb find such places in the code for me?

Regards, Pawel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb: debugging memory location changes.
  2007-06-20  9:42 gdb: debugging memory location changes Pawel
@ 2007-06-20 10:00 ` Nick Roberts
  2007-06-22 20:00   ` Pawel
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2007-06-20 10:00 UTC (permalink / raw)
  To: Pawel; +Cc: gdb mailing list

 > I am debugging large code I am not familiar with. I noticed that
 > memory location, for example funnyObject.field, changes somewhere in
 > the code and I do not know where, thus I do not know where to set the
 > breakpoint. Can gdb find such places in the code for me?

Read about watchpoints in the Breakpoints node of the Gdb info manual.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdb: debugging memory location changes.
  2007-06-20 10:00 ` Nick Roberts
@ 2007-06-22 20:00   ` Pawel
  0 siblings, 0 replies; 3+ messages in thread
From: Pawel @ 2007-06-22 20:00 UTC (permalink / raw)
  To: Nick Roberts; +Cc: gdb mailing list

Nick Roberts writes:
 >  > I am debugging large code I am not familiar with. I noticed that
 >  > memory location, for example funnyObject.field, changes somewhere in
 >  > the code and I do not know where, thus I do not know where to set the
 >  > breakpoint. Can gdb find such places in the code for me?
 > 
 > Read about watchpoints in the Breakpoints node of the Gdb info manual.
 > 
 > -- 
 > Nick                                           http://www.inet.net.nz/~nickrob
Yes, I was looking for breakpoints:)
Thanks for All replies!
pawel


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-22 20:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20  9:42 gdb: debugging memory location changes Pawel
2007-06-20 10:00 ` Nick Roberts
2007-06-22 20:00   ` Pawel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox