2012-01-19 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Thu, 19 Jan 2012 16:32:59 +0000 (16:32 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 19 Jan 2012 16:32:59 +0000 (16:32 +0000)
commit305436e07ac142e2cd8f9659bf8d6ad9630d5008
treee286c155da31aad656b96c3233dd2757dd3c37b4
parent2fc0fe4faa2bee97a91ad1948900778c459ce977
2012-01-19  Pedro Alves  <palves@redhat.com>

* linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and
linux_nat_async directly instead of going through the target
vector.
* target.c (unpush_target): Close target after unpushing it, not
before.
gdb/ChangeLog
gdb/linux-nat.c
gdb/target.c