OSDN Git Service

Make sure target supports non-stop.
authorvprus <vprus>
Tue, 19 Aug 2008 13:22:14 +0000 (13:22 +0000)
committervprus <vprus>
Tue, 19 Aug 2008 13:22:14 +0000 (13:22 +0000)
commitca004da27b8fafdd17f0c8d571bf50c2f04dbffa
tree65981448ddbe6980ec09196924680edce92dcd75
parent2d1a423e633d0a8691c62894e2112113203f3639
Make sure target supports non-stop.
        * infcmd.c (run_command_1, attach_command): If non-stop mode
        is requested, verify the target supports it.
        * linux-nat.c (linux_nat_supports_non_stop): New.
        (linux_nat_add_target): Register the above.
        * target.c (find_default_supports_non_stop)
        (target_supports_non_stop): New.
        (init_dummy_target): Register find_default_supports_non_stop.
        * target.h (struct target_ops): New field to_supports_non_stop.
        (target_supports_non_stop): New.
gdb/ChangeLog
gdb/infcmd.c
gdb/linux-nat.c
gdb/target.c
gdb/target.h