This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] gdb/remote.c: Eliminate target_buf/target_buf_size hack
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 30 Sep 2017 05:45:40 -0400
- Subject: [binutils-gdb] gdb/remote.c: Eliminate target_buf/target_buf_size hack
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT b6bb34680b9c99961b6cd635853552ec6569a2a4 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: b6bb34680b9c99961b6cd635853552ec6569a2a4
gdb/remote.c: Eliminate target_buf/target_buf_size hack
This finally eliminates an old hack left in place when tracepoint RSP
support was migrated from tracepoint.c to remote.c, back in
35b1e5cca081 ("Make tracepoint operations go through target vector.")
over 7 years ago.
Tested on x86_64 GNU/Linux.
gdb/ChangeLog:
2017-09-29 Pedro Alves <palves@redhat.com>
* remote.c (target_buf, target_buf_size): Delete.
(remote_get_noisy_reply): Remove buf_p and sizeof_buf parameters.
Use the connection's packet buffer instead.
All callers adjusted.
(_initialize_remote): Remove references to target_buf and
target_buf_size.