From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 487 invoked by alias); 25 Apr 2004 00:30:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 449 invoked from network); 25 Apr 2004 00:29:59 -0000 Received: from unknown (HELO pippin.tausq.org) (64.81.244.94) by sources.redhat.com with SMTP; 25 Apr 2004 00:29:59 -0000 Received: by pippin.tausq.org (Postfix, from userid 1000) id D2E09CD299; Sat, 24 Apr 2004 17:30:04 -0700 (PDT) Date: Sun, 25 Apr 2004 00:30:00 -0000 From: Randolph Chung To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfa] hppa-linux target, 2nd try Message-ID: <20040425003004.GH2923@tausq.org> Reply-To: Randolph Chung References: <20040424192614.GD2923@tausq.org> <20040425002520.GP2811@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040425002520.GP2811@gnat.com> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00606.txt.bz2 > 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/