This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfc] Pass exec_ops to SOLIB_ADD?
- From: Andrew Cagney <cagney at gnu dot org>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 23 Nov 2003 18:08:53 -0500
- Subject: Re: [patch/rfc] Pass exec_ops to SOLIB_ADD?
- References: <3FBD33C1.1000102@redhat.com>
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