[rfa/remote] Reread symbols on 'target remote'

Andrew Cagney cagney@gnu.org
Wed Mar 17 15:16:00 GMT 2004


> On Fri, Mar 05, 2004 at 12:31:46AM -0500, Andrew Cagney wrote:
> 
>>>> >2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
>>>> >
>>>> >	* remote.c (remote_open_1): Reopen the exec file and reread symbols
>>>> >	if necessary.
>>
>>> 
>>> What happens if the target is "extended-remote"?
> 
> 
> Works fine.  remote_open_1 is only called when we create the initial
> connection and handles any rereading at that time; run_command in
> infcmd.c will handle if the "run" command is issued over an existing
> extended-remote connection.

Sorry, I ment without the patch (but I think you've answered that anyway).

While "run" and "load" are fairly obvious sync points for GDB and its 
executable I'm not sure that "target remote" is - it's behavior is kind 
of sort of a screwed up version of attach.

What does that do (as far as I can tell it doesn't re-read symbols)?

Andrew




More information about the Gdb-patches mailing list