[RFA] Resubmit: get shared libs after attach (linux)

Michael Snyder msnyder@redhat.com
Tue Jan 8 16:11:00 GMT 2002


Daniel Jacobowitz wrote:
> 
> On Tue, Jan 08, 2002 at 12:30:54PM -0800, Michael Snyder wrote:
> > Taking everybody's feedback into account:
> > 1) I now only use the child_pid_to_exec_file method in linux-proc.c.
> >    I preserved the file linux-proc.c because this method still depends
> >    on /proc, and because I will plan to put the linux-gcore.c code
> >    in there too.
> > 2) I moved the define to config/nm-linux.h
> > 3) So now I must add linux-proc.o to all versions of linux.mh
> 
> So I gather that this works and correctly finds shlibs, without walking
> the mappings? 

Yes.

> I like it.

OK, well, since Kevin likes it too (phone convo, our email's down), 
I'm gonna check it in.

Consider it committed.



More information about the Gdb-patches mailing list