From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id 5C5C3385800A for ; Tue, 28 Sep 2021 12:20:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5C5C3385800A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wm1-x32b.google.com with SMTP id b192-20020a1c1bc9000000b0030cfaf18864so2598631wmb.4 for ; Tue, 28 Sep 2021 05:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1Ntunrb+SpFIAEKiGy+MAKnhFbkxtFk/rKH8ZDKcMk4=; b=N7vvKXOmibJfX2ptTgUl4ux/DFIa9tX1rb1UBZEZi2EmEqcOhTe0rY8BXhJ971kF5Q F6/d+NSxt0BvuOGvITkTAWQYpdlp8/s+uq//OGu9WflwG2d8pCVB6wgBca0Np6oRZXoX szTdkEHE5Ae+bW0TU010LvadsCd61VDVG+YCW36D3n8kzj6kREqmX76ylcDQYboAxUqn 2JO170muZ9LwEX4ODGZAtvKFF9tVcgHG0VhYA+pTbsbyn8kqwcALp2SAAOALZLppVN3Z ciLpc13wTdg1ufoyZXy3hkGB3s+tIlMYhzQWlfFZaQ2G10N98JRV2a6aQrKs46qZhFwy 3Qzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1Ntunrb+SpFIAEKiGy+MAKnhFbkxtFk/rKH8ZDKcMk4=; b=TOgdJY8eU+GdXhOyBiLcmkAaL087GwfBAgKacILKpAK01Jnt5IQ7hF9iReR2qUBxpa RZJzgHLLDvP1jIILJU9knH65pIfszCi5OKsWq08czQf5KFzgmETqH+roLcTOmYiQJGWe UoCCbjb7LGY0sJQsuDmWLEEDQcE5qvW4F7KYWOtCzFQDuAnZa9O2hch9HLUrVGdH+W/W 6FdCzDVmay0k6LeeR92u20adKV/LuZYCIxYpbWIleBNlWe2NWhMH1QdqPsnzTWBlGkwS +yaVxd3AmxthfGP14o/6HKDmfCg1OeS+Ojz/0Mno7zlLrLqX9r2QsDH3kCzSmW9b4uz2 KLqQ== X-Gm-Message-State: AOAM533MjtTqv0zwg6SRPrSFOIBKLnXOYLnhpWlVZGm5EJ7qv9AW+ANq qXapBvsPQGCqRVUiFrae6XcmIsy9wNWBBg== X-Google-Smtp-Source: ABdhPJwWCADb19O7oDxoh9XL82UKIY7wjlatLf4F7ClLpuF+AXsYx69WcBNDjyZRQIr3KDBBcE+COg== X-Received: by 2002:a05:600c:4154:: with SMTP id h20mr4328429wmm.172.1632831605328; Tue, 28 Sep 2021 05:20:05 -0700 (PDT) Received: from localhost (host86-169-137-11.range86-169.btcentralplus.com. [86.169.137.11]) by smtp.gmail.com with ESMTPSA id z5sm3408127wmp.26.2021.09.28.05.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 05:20:04 -0700 (PDT) Date: Tue, 28 Sep 2021 13:20:03 +0100 From: Andrew Burgess To: gdb-patches@sourceware.org Subject: [PUSHED 3/6] Copy in libbacktrace from gcc Message-ID: <20210928122003.GI1900093@embecosm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailer: git-send-email 2.25.4 X-getmail-retrieved-from-mailbox: ToDownload X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2021 12:20:07 -0000 This copies in libbacktrace from the gcc repository as it was in the commit 62e420293a293608f383d9b9c7f2debd666e9fc9. GDB is going to start using this library soon. A dependency between GDB and libbacktrace has already been added to the top level Makefile, so, after this commit, when building GDB, libbacktrace will be built first. However, libbacktrace is not yet linked into GDB, or used by GDB in any way. It is possible to stop libbacktrace being built by configuring the tree with --disable-libbacktrace. This commit does NOT update src-release.sh, that will be done in the next commit, this commit ONLY imports libbacktrace from gcc. This means that if you try to make a release of GDB from exactly this commit then the release tar file will not include libbacktrace. However, as libbacktrace is an optional dependency this is fine. ---