diff options
author | Stan Cox <scox@redhat.com> | 2018-06-04 10:20:49 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2018-06-04 10:20:49 -0400 |
commit | c12a5089640109567e2e06f0c5d2d1bf4fb3f5eb (patch) | |
tree | e898e2fded595ab6342d3a3283cd4e3b5f8bd838 /gdb/gdbserver/remote-utils.h | |
parent | 23081219bfe58dd07b1e0a110728d7195155d0e2 (diff) | |
download | fsf-binutils-gdb-c12a5089640109567e2e06f0c5d2d1bf4fb3f5eb.zip fsf-binutils-gdb-c12a5089640109567e2e06f0c5d2d1bf4fb3f5eb.tar.gz fsf-binutils-gdb-c12a5089640109567e2e06f0c5d2d1bf4fb3f5eb.tar.bz2 |
Add client_state struct.
Collect per client specific global data items into struct client_state,
which is similar in purpose to remote.c::remote_state.
gdbserver/ChangeLog
* server.h (struct client_state): New.
* server.c (cont_thread, general_thread, multi_process)
(report_fork_events, report_vfork_events, report_exec_events)
(report_thread_events, swbreak_feature, hwbreak_feature)
(vCont_supported, disable_randomization, pass_signals)
(program_signals, program_signals_p, last_status, last_ptid, own_buf):
Moved to client_state.
* remote-utils.c (remote_debug, noack_mode)
(transport_is_reliable): Moved to client_state.
* tracepoint.c (current_traceframe): Moved to client_state.
Update all callers.
* server.c, remote-utils.c, tracepoint.c, fork-child.c,
linux-low.c, remote-utils.h, target.c: Use client_state.
Diffstat (limited to 'gdb/gdbserver/remote-utils.h')
-rw-r--r-- | gdb/gdbserver/remote-utils.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdbserver/remote-utils.h b/gdb/gdbserver/remote-utils.h index c64807f..fcd3b3a 100644 --- a/gdb/gdbserver/remote-utils.h +++ b/gdb/gdbserver/remote-utils.h @@ -20,8 +20,6 @@ #define REMOTE_UTILS_H extern int remote_debug; -extern int noack_mode; -extern int transport_is_reliable; int gdb_connected (void); |