From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12223 invoked by alias); 10 Sep 2014 22:44:00 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 12073 invoked by uid 89); 10 Sep 2014 22:43:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 10 Sep 2014 22:43:57 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 035FD1165F3; Wed, 10 Sep 2014 18:43:56 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id X1E79lVjXkLD; Wed, 10 Sep 2014 18:43:55 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id BDF711165E2; Wed, 10 Sep 2014 18:43:55 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 1E907477FF; Wed, 10 Sep 2014 15:43:58 -0700 (PDT) Date: Wed, 10 Sep 2014 22:44:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: "Maciej W. Rozycki" , Ulrich Weigand , GDB Patches Subject: Re: [IRIX] eliminate deprecated_insert_raw_breakpoint uses Message-ID: <20140910224358.GS28404@adacore.com> References: <201409101445.s8AEjILM007935@d06av02.portsmouth.uk.ibm.com> <54106C61.7040400@redhat.com> <54107860.6060301@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54107860.6060301@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-09/txt/msg00345.txt.bz2 > I think I understand this enough now. See patch below, which > gets rid of that loop completely. Thanks for walking me by memory lane :-) > Untested, of course. I found an IRIX machine that's still up and running, and I was able to rebuild it. Unfortunately, two issues occured: 1. I had to make insert_breakpoint_locations non-static; 2. GDB now SIGSEGV-s when starting a program: Program received signal SIGSEGV, Segmentation fault. 0x10163180 in bpstat_stop_status (aspace=0x108b97b0, bp_addr=268791248, ptid=..., ws=0x7ffd7870) at /nfs/nas/homes/brobecke/act/gdb-public/gdb/breakpoint.c:5536 5536 b->ops->check_status (bs); The problem is that b->ops is NULL. I can continue investigating, but I have this feeling that this is just a waste of time, since I strongly suspect that IRIX support is going to be removed a couple of weeks from now (I can start the procedure if you'd like). -- Joel