This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "run", and executable file/symtab association?


On Sun, Feb 19, 2006 at 01:28:13AM +0800, Randolph Chung wrote:
> >pop_target calls current_target->to_close.  I am suspecting that it
> >should call target_stack->to_close instead.
> 
> hrm, target_stack is "child", and its to_close method is NULL. 
> target_stack->beneath is "exec" and its to_close is exec_close...

Right; but we're not closing exec.  Take a look at target_close()
which does nothing if the method is NULL.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]