OSDN Git Service

Make sure target supports non-stop.
authorVladimir Prus <vladimir@codesourcery.com>
Tue, 19 Aug 2008 13:22:14 +0000 (13:22 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Tue, 19 Aug 2008 13:22:14 +0000 (13:22 +0000)
commit48cb6b1b5e4e57787443df50e7871b52f144660f
treeba3d82689823ce5f23fe9469e25d2f77e8e7a172
parentdf0f6ed7cfe9d7cced7435eb29b7ab5a3c297bea
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