This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: (hardware) watchpoints and actions


>> The goal is to run at full speed until a watched location is 
>> accessed in some prescribed manner. At that time, like a 
>> tracepoint, execute some actions to collect information 
>> and then continue at full speed.

This sounds like a macro to execute on a (data|code) breakpoint.

    https://sourceware.org/gdb/onlinedocs/gdb/Break-Commands.html

Doesn't this already exist? If not, what part of this existing feature
needs to be fixed?

Or are you saying that the watchpoints do not support macros like as
described above?

If so, it seems the UI solution if needed would be the same as the
existing breakpoint-commands.

-Duane.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]