PR gdb/11321
authorPedro Alves <palves@redhat.com>
Wed, 24 Feb 2010 20:49:50 +0000 (20:49 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 24 Feb 2010 20:49:50 +0000 (20:49 +0000)
commit24291992dac3f63bef7ee031d4d5f2f96920e070
tree31ecffb25c822e47a6607a984cdcee46ff3b91fa
parentfc1cf338c43f4f84624cd0f9026e1be8561b2c42
PR gdb/11321

* inferior.h (prepare_for_detach): Declare.
(struct inferior) <detaching>: New field.
* infrun.c (prepare_for_detach): New.
(handle_inferior_event) <random signal>: Don't stop if detaching.
* target.c (target_detach): Call prepare_for_detach.
gdb/ChangeLog
gdb/inferior.h
gdb/infrun.c
gdb/target.c