diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-09-15 17:59:36 +0200 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-09-15 17:59:36 +0200 |
commit | f8a4e1192032044cdae544848865636f6e07a925 (patch) | |
tree | c3cf2d18ea11e603c266bc19b1f3acee716bf2d5 /gdb/syscalls | |
parent | ef87240fd95c5f29a697eccf20b2f1f6dc3593a6 (diff) | |
download | gdb-f8a4e1192032044cdae544848865636f6e07a925.zip gdb-f8a4e1192032044cdae544848865636f6e07a925.tar.gz gdb-f8a4e1192032044cdae544848865636f6e07a925.tar.bz2 |
Deduplicate require_running macros and move them up
I find it very confusing to define the require_running in the middle of
the file, and re-define it to something else later in the middle of the
same file. I think it would be better if those macros had different
names so that we know exactly what they do.
gdb/gdbserver/ChangeLog:
* server.c (require_running): Rename to ...
(require_running_or_return): ... this ...
(require_running_or_break): ... and this.
(handle_query, process_serial_event): Adjust.
Diffstat (limited to 'gdb/syscalls')
0 files changed, 0 insertions, 0 deletions