Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* create a watchpoint with trace functionality
@ 2009-10-21 13:37 martin mangard
  2009-10-21 14:35 ` Michael Snyder
  0 siblings, 1 reply; 4+ messages in thread
From: martin mangard @ 2009-10-21 13:37 UTC (permalink / raw)
  To: gdb

Hello

I'm trying to trace the value of a global status variable of an
application. This variable is changed from various code positions. I
would like to log/trace each change of this variable without stopping
the application (at least for a long time) in order to perform a
longterm test. I'm currently using a hardware-watchpoint

Is there a possibility to configure a "autocontinue"  after a
watchpoint-event? Which means that the changed value is printed and
the execution continues without any user interaction (pressing "c")?

Is ist possible to set a tracepoint on a change of a memory area?

Martin


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

end of thread, other threads:[~2009-10-25  2:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-21 13:37 create a watchpoint with trace functionality martin mangard
2009-10-21 14:35 ` Michael Snyder
2009-10-21 14:55   ` Nicholas Mc Guire
2009-10-25 12:57     ` Michael Snyder

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