This is the mail archive of the gdb@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: auto-solib-add when attaching to inferior


> Remember that you don't use attach with the normal remote protocol.
> When you to_open the target has already started.  For your agent it
> sounds like you need to do it at to_attach time; but why isn't the one
> in infcmd.c:attach_command working?

Good question.  For some reason locate_base() seems to be failing.  Maybe
that's the answer to the puzzle.  It looks like the SOLIB_ADD() in
attach_command() should do the right thing.  I'll chase it deeper from that
end.

Thanks,

Kris


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