This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
create a watchpoint with trace functionality
- From: martin mangard <martin at mangard dot at>
- To: gdb at sourceware dot org
- Date: Wed, 21 Oct 2009 10:58:20 +0200
- Subject: create a watchpoint with trace functionality
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