This is the mail archive of the gdb@sourceware.cygnus.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]

Re: auto-solib-add for "attach" as well as "run"


Michael Elizabeth Chastain wrote:
> 
> I have an enhancement request where a gdb user wants the
> "auto-solib-add" flag to work with the "attach" command as well
> as the "run" command.
> 
> Superficially, this looks like an entirely reasonable thing to do.
> "run" and "attach" are different in how they handle processes,
> but ought to work the same for the whole symbol-handling side of
> the debugger.
> 
> Can anyone point out any gotchas or drawbacks if I just go ahead
> and make "attach" honor the "auto-solib-add" flag?

In what sense does it not work now?  I can attach to a process with
auto-solib-add to both 0 and 1 and it works in both cases as I would
expect.

--Chris

-- 
------------
Christopher Blizzard
http://people.redhat.com/blizzard/
He who lives by the sword, should go out and get himself a really
nice sword.
------------

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