From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76759 invoked by alias); 27 Jun 2019 14:52:42 -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 76752 invoked by uid 89); 27 Jun 2019 14:52:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:676, HContent-Transfer-Encoding:8bit 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 ESMTP; Thu, 27 Jun 2019 14:52:41 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D93265609A for ; Thu, 27 Jun 2019 10:52:39 -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 m677RKMVa0fu for ; Thu, 27 Jun 2019 10:52:39 -0400 (EDT) Received: from murgatroyd.Home (75-166-12-78.hlrn.qwest.net [75.166.12.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPSA id 8C42E56093 for ; Thu, 27 Jun 2019 10:52:39 -0400 (EDT) From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/4] Handle copy relocations and add $_ada_exception Date: Thu, 27 Jun 2019 14:52:00 -0000 Message-Id: <20190627145235.21222-1-tromey@adacore.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SW-Source: 2019-06/txt/msg00612.txt.bz2 This series adds support for $_ada_exception -- a convenience variable that holds the address of the exception currently being thrown by the Ada runtime. This is analogous to the existing $_exception variable that is used for C++. Earlier, I checked in a patch to change how Ada exception catchpoints handle the case where an exception symbol occurs in multiple objfiles. This same problem affected $_ada_exception. After one other failed attempt to fix the problem, I ended up trying to fix the copy relocation problem in a more principled way. That is patch #2 here. Regression tested on x86-64 Fedora 29. Tom