2009-03-14 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Sat, 14 Mar 2009 01:38:08 +0000 (01:38 +0000)
committerPedro Alves <palves@redhat.com>
Sat, 14 Mar 2009 01:38:08 +0000 (01:38 +0000)
commit0b16c5cfafcd58f3b5f069c8058069814986f859
treeaa12014acd4497f30b4fe86ffaaa137e97a8504e
parent57898e02966028ed9da8a402eeeb27e8fe5c04c0
2009-03-14  Pedro Alves  <pedro@codesourcery.com>

gdb/
* remote.c (PACKET_qAttached): New.
(remote_query_attached): New.
(remote_add_inferior): Add new `attached' argument.  Handle it.
(remote_notice_new_inferior, remote_start_remote): Adjust to pass
-1 to remote_add_inferior in new parameter.
(extended_remote_attach_1): Adjust to pass 1 to
remote_add_inferior in the new parameter.
(extended_remote_create_inferior_1): Adjust to pass 0 to
remote_add_inferior in the new parameter.
(_initialize_remote): Add "set/show remote query-attached-packet"
commands.

2009-03-14  Pedro Alves  <pedro@codesourcery.com>

gdb/gdbserver/
* server.c (handle_query): Handle "qAttached".

2009-03-14  Pedro Alves  <pedro@codesourcery.com>

gdb/doc/
* gdb.texinfo (Remote Configuration): Document query-attached.
        (General Query Packets): Document qAttached.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c
gdb/remote.c