Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * target.c (target_preopen): If target_kill doesn't remove the
+ target from the stack, use pop_target to do it.
+
* coffread.c (process_coff_symbol, case C_TPDEF): Don't set name
of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar
changes to stabsread.c from summer 1993.
try to call UDIDisconnect again. Print better message.
(udi_kill): Just call UDIDisconnect ourselves, rather than doing
it via udi_close.
- (udi_open): Unpush UDI target after target_preopen, now that
- udi_kill doesn't pop the target.
(udi_create_inferior): If udi_session_id is negative, open a new
TIP rather than giving an error.
UDIUInt32 TIPId, TargetId, DFEId, DFE, TIP, DFEIPCId, TIPIPCId;
target_preopen(from_tty);
- /* target_preopen calls target_kill to clean up the previous target. But
- udi_kill leaves it on the stack. So we pop it here (the call to udi_close
- is harmless now that udi_session_id is -1). */
- unpush_target (&udi_ops);
entry.Offset = 0;