aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68hc11-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-09-15 17:59:37 +0200
committerSimon Marchi <simon.marchi@ericsson.com>2017-09-15 17:59:37 +0200
commite8ca139ed036e6da8adf42fc6fbd93973b724d3c (patch)
treef65f739004cce919dc414f63a4b69b0670b4f546 /gdb/m68hc11-tdep.c
parentf8a4e1192032044cdae544848865636f6e07a925 (diff)
downloadgdb-e8ca139ed036e6da8adf42fc6fbd93973b724d3c.zip
gdb-e8ca139ed036e6da8adf42fc6fbd93973b724d3c.tar.gz
gdb-e8ca139ed036e6da8adf42fc6fbd93973b724d3c.tar.bz2
gdbserver: Move detach code to its own function
The code required to handle the 'D' packet is non trivial, so move it out to its own function. The moved out code is identical, except for the call to strtol and some breaks that became returns. Tested manually, and by running gdb.base/*detach*.exp with native-gdbserver and native-extended-gdbserver. gdb/gdbserver/ChangeLog: * server.c (handle_detach): New function. (process_serial_event): Move code out, call handle_detach.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
0 files changed, 0 insertions, 0 deletions