public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* auto-solib-add for "attach" as well as "run"
@ 2000-05-04 13:25 Michael Elizabeth Chastain
  2000-05-04 22:50 ` Christopher Blizzard
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Elizabeth Chastain @ 2000-05-04 13:25 UTC (permalink / raw)
  To: gdb

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?

Michael Chastain
chastain@redhat.com
Cygnus Solutions, a Red Hat Company

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: auto-solib-add for "attach" as well as "run"
  2000-05-04 13:25 auto-solib-add for "attach" as well as "run" Michael Elizabeth Chastain
@ 2000-05-04 22:50 ` Christopher Blizzard
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Blizzard @ 2000-05-04 22:50 UTC (permalink / raw)
  To: Michael Elizabeth Chastain; +Cc: gdb

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.
------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-04 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-04 13:25 auto-solib-add for "attach" as well as "run" Michael Elizabeth Chastain
2000-05-04 22:50 ` Christopher Blizzard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).