* corelow.c (core_open): Assume there was no upper layer left
authorPedro Alves <palves@redhat.com>
Mon, 18 Aug 2008 23:12:40 +0000 (23:12 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 18 Aug 2008 23:12:40 +0000 (23:12 +0000)
commit87ab71f0a047c034c71d26d7c4ff4fa2b35b22cd
tree4c3483ad72a8489f300fe5037298600edca5ee1e
parent5231c1fd732d8cdb7ed92dd3e275ab4698a8052d
* corelow.c (core_open): Assume there was no upper layer left
behind from a previous inferior.
* target.c (pop_all_targets): Rename to ...
(pop_all_targets_above): ... this.  Add a target stratum
parameter.  Use it instead of hardcoding the dummy_stratum.
(pop_all_targets): New, defer to pop_all_targets_above.
(target_preopen): Use pop_all_targets_above.
* target.h (pop_all_targets_above): Declare.
gdb/ChangeLog
gdb/corelow.c
gdb/target.c
gdb/target.h