This is the mail archive of the gdb-patches@sources.redhat.com 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: [rfa/remote] Reread symbols on 'target remote'


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



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