From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9100 invoked by alias); 13 Dec 2004 08:43:44 -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 9001 invoked from network); 13 Dec 2004 08:43:29 -0000 Received: from unknown (HELO arwen.tausq.org) (64.81.244.109) by sourceware.org with SMTP; 13 Dec 2004 08:43:29 -0000 Received: by arwen.tausq.org (Postfix, from userid 1000) id 6DCEF6BE6E; Mon, 13 Dec 2004 00:43:25 -0800 (PST) Date: Mon, 13 Dec 2004 14:41:00 -0000 From: Randolph Chung To: gdb-patches@sources.redhat.com Subject: Re: [COMMIT] Enable new solib interface for HPUX Message-ID: <20041213084325.GM29171@tausq.org> Reply-To: Randolph Chung References: <20041213040640.GK29171@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041213040640.GK29171@tausq.org> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.6+20040722i X-SW-Source: 2004-12/txt/msg00354.txt.bz2 In reference to a message from Randolph Chung, dated Dec 12: > This somewhat large patch adds in the hooks and Makefile changes needed > to use the new solib interface. Testsuite results are similar to what we > used to see with the old solib code (i tested hppa2.0w-hp-hpux11.11 and > hppa64-hp-hpux11.11). > > Committed, please let me know if you notice any problems :) sigh, missed one bit. fixed with the following patch. committed randolph 2004-12-13 Randolph Chung * hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call solib_get_solib_by_pc method through target vector. Index: hppa-hpux-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/hppa-hpux-tdep.c,v retrieving revision 1.33 diff -u -p -r1.33 hppa-hpux-tdep.c --- hppa-hpux-tdep.c 13 Dec 2004 04:06:15 -0000 1.33 +++ hppa-hpux-tdep.c 13 Dec 2004 08:40:58 -0000 @@ -822,7 +822,7 @@ initialize_hp_cxx_exception_support (voi args_for_find_stub args; static char message[] = "Error while finding exception callback hook:\n"; - args.solib_handle = som_solib_get_solib_by_pc (eh_notify_callback_addr); + args.solib_handle = gdbarch_tdep (current_gdbarch)->solib_get_solib_by_pc (eh_notify_callback_addr); args.msym = msym; args.return_val = 0;