This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/rfa] hppa-linux target, 2nd try
- From: Randolph Chung <randolph at tausq dot org>
- To: Joel Brobecker <brobecker at gnat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 24 Apr 2004 17:30:04 -0700
- Subject: Re: [patch/rfa] hppa-linux target, 2nd try
- References: <20040424192614.GD2923@tausq.org> <20040425002520.GP2811@gnat.com>
- Reply-to: Randolph Chung <randolph at tausq dot org>
> I actually started looking at that about 10 days ago, but it is hard for
> me to figure out what is going wrong, because I don't know too well the
> machinery for calling functions inside shared libraries. And then I got
> pre-empted by something else.
ah, ok :)
the problem seems to be that gdb wants to jump directly to the malloc()
(or whatever) shared lib function, whereas normally to do a shlib call
you have to go through the import stub/plt (so that the r19/dp are
set correctly).... not sure how to do that in gdb.
> It's something that's on my reasonably-near-future list.
cool, thanks.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/