This is the mail archive of the gdb-patches@sourceware.org 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] Fixed shared library handling in solib-pa64.c


On Tue, Aug 5, 2008 at 3:11 PM, John David Anglin
<dave@hiauly1.hia.nrc.ca> wrote:
> The change below fixes the problem referred to in the NEWS file regarding
> the hppa64-hp-hpux11* target.  The problem was a NULL load map pointer was
> being passed in the dlgetmodinfo and dlgetname calls.  This was causing
> pa64_target_read_memory() to return 0, and as a result the dlgetmodinfo
> call was failing.
>
> It's not entirely clear why the code to find the load map was failing
> but I believe it is because the dynamic loader had not initialized the
> map at the time the call to find the map was made.

I'm sure this worked at one point, but if we can rely on the OS
libraries to do the read it does seem like the right thing to do.

Please commit.

randolph


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