From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5663 invoked by alias); 28 Apr 2003 21:23:05 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5656 invoked from network); 28 Apr 2003 21:23:03 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 28 Apr 2003 21:23:03 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2C6F72B2F; Mon, 28 Apr 2003 17:23:04 -0400 (EDT) Message-ID: <3EAD9BB8.8050205@redhat.com> Date: Mon, 28 Apr 2003 21:23:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Warkentin Cc: "Gdb@Sources.Redhat.Com" , kevinb@redhat.com Subject: Re: problem with fetch_link_map_offsets References: <020701c30dc3$bd8cf020$0202040a@catdog> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00320.txt.bz2 > All of a sudden I'm getting a complaint about "No shared lib support for > this OS/ABI" from the new svr4_have_link_map_offsets function. When I > initialize my backend tdep file, I set the fetch_link_map_offsets function. > If I break on svr4_fetch_link_map_offsets, the first couple times I see that > flmo is set to my function, then the third time it's been set back to > legacy_fetch_link_map_offsets. I set a break on > set_solib_svr4_fetch_link_map_offsets and see it being called with my > function but it never gets called again between when I set it and when it > shows up as changed. > > Can someone tell me where to set a watchpoint to catch the gdbarch data > being set? I'm still a little shakey on how that all works. An aside, "set debug arch 1", and watch to see if any other architectures are being initialized or selected. Andrew