This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch 0/2] OO tracepoint_action
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Fri, 2 Mar 2012 09:00:09 +0800
- Subject: [patch 0/2] OO tracepoint_action
Hi,
When modifying GDBserver to send various types of tracepoint_actions to
agent, I noticed there has been three places using "switch/case" blocks for
different types of tracepoint_action, and I don't like to add one more. It
should be cleaner to rewrite them in an OO way. So these patches come up.