[patch/rfc] Pass exec_ops to SOLIB_ADD?

Andrew Cagney cagney@gnu.org
Sun Nov 23 23:09:00 GMT 2003


> Per: Always pass target to ADD_SOLIB?
> http://sources.redhat.com/ml/gdb/2003-11/msg00135.html
> 
> This modifies infrun.c so that exec_ops is passed to solib_add.  That way solib_add gets the oportunity to keep the exec_ops's section table up-to-date.
> 
> Testing on PPC NetBSD and i386 GNU/Linux hasn't so far shown any regressions.  It also fixes a problem with PPC64 GNU/Linux where the section information for shared libraries was missing.

Given kevin's comments
http://sources.redhat.com/ml/gdb/2003-11/msg00212.html
I've checked this in.

> 2003-11-20  Andrew Cagney  <cagney@redhat.com>
> 
> 	* Makefile.in (infrun.o): Update dependencies.
> 	* infrun.c: Include "exec.h".
> 	(handle_inferior_event): Pass exec_ops to SOLIB_ADD.
> 

Andrew




More information about the Gdb-patches mailing list