aboutsummaryrefslogtreecommitdiff
path: root/gdbserver/linux-low.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-16 07:56:57 -0700
committerTom Tromey <tom@tromey.com>2023-02-24 11:52:48 -0700
commit873a185be258ad2552b9579005852815b4da5baf (patch)
treeb413b5b174cc4e4dc283ff64dc492126b66046e2 /gdbserver/linux-low.h
parentc9d9117a12be1ff0d86a6d5bd0c9380ee5107858 (diff)
downloadgdb-873a185be258ad2552b9579005852815b4da5baf.zip
gdb-873a185be258ad2552b9579005852815b4da5baf.tar.gz
gdb-873a185be258ad2552b9579005852815b4da5baf.tar.bz2
Don't use struct buffer in handle_qxfer_btrace
This changes handle_qxfer_btrace and handle_qxfer_btrace_conf, in gdbserver, to use std::string rather than struct buffer.
Diffstat (limited to 'gdbserver/linux-low.h')
-rw-r--r--gdbserver/linux-low.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbserver/linux-low.h b/gdbserver/linux-low.h
index e672855..6dc9319 100644
--- a/gdbserver/linux-low.h
+++ b/gdbserver/linux-low.h
@@ -282,11 +282,11 @@ public:
int disable_btrace (btrace_target_info *tinfo) override;
- int read_btrace (btrace_target_info *tinfo, buffer *buf,
+ int read_btrace (btrace_target_info *tinfo, std::string *buf,
enum btrace_read_type type) override;
int read_btrace_conf (const btrace_target_info *tinfo,
- buffer *buf) override;
+ std::string *buf) override;
#endif
bool supports_range_stepping () override;