This is the mail archive of the gdb-patches@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: [patch/rfc] Pass exec_ops to SOLIB_ADD?


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




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