Add target_ops argument to to_disable_btrace

2014-02-19  Tom Tromey  <tromey@redhat.com>

	* target.h (struct target_ops) <to_disable_btrace>: Add argument.
	* target.c (target_disable_btrace): Add argument.
	* remote.c (remote_disable_btrace): Add 'self' argument.
	* i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
	argument.
	* amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
	argument.
This commit is contained in:
Tom Tromey
2013-12-17 21:45:48 -07:00
parent e3c49f88a2
commit 25e95349d8
6 changed files with 19 additions and 5 deletions

View File

@ -11279,7 +11279,8 @@ remote_enable_btrace (struct target_ops *self, ptid_t ptid)
/* Disable branch tracing. */
static void
remote_disable_btrace (struct btrace_target_info *tinfo)
remote_disable_btrace (struct target_ops *self,
struct btrace_target_info *tinfo)
{
struct packet_config *packet = &remote_protocol_packets[PACKET_Qbtrace_off];
struct remote_state *rs = get_remote_state ();