Message ID | 20191001013654.22298-1-unixmania@gmail.com |
---|---|
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="srKz8o0Y"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46j22V5S5Fz9s4Y for <incoming-buildroot@patchwork.ozlabs.org>; Tue, 1 Oct 2019 11:37:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E147287618; Tue, 1 Oct 2019 01:37:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ts246Qnjs3Hs; Tue, 1 Oct 2019 01:37:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A00438679A; Tue, 1 Oct 2019 01:37:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id EEEC11BF9B4 for <buildroot@lists.busybox.net>; Tue, 1 Oct 2019 01:37:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D8DA81FFC1 for <buildroot@lists.busybox.net>; Tue, 1 Oct 2019 01:37:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oemafM5hHyzz for <buildroot@lists.busybox.net>; Tue, 1 Oct 2019 01:37:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by silver.osuosl.org (Postfix) with ESMTPS id 1D69B21FAC for <buildroot@buildroot.org>; Tue, 1 Oct 2019 01:37:08 +0000 (UTC) Received: by mail-qk1-f194.google.com with SMTP id 4so9667112qki.6 for <buildroot@buildroot.org>; Mon, 30 Sep 2019 18:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=7TzN4hxTG2AVwJ285Hk7AXktKfgN8JkzE0EljXyjKBo=; b=srKz8o0YbPfpgMLo0xxbgojTSrLuQnauEONrugWNpd0fLfMg9cFdX+GOArO5mh49/y s0WsH/Xezeneo4q9uRZmi7jLa7KtHkjbr91PC9W6xoXvCUJY6F0ThFwUAz9SNTfT0VUS j7Sn3wEpVfNHxFXwBKjbxcHASwIqpjXO61XcYXEZ/8y4+wjOonbbkQTDpAcHTUuKjDCi PaRKhVkrHucYhXA+goUp7Omkp9FBJf/ghFjJnNbQCXzAJ+UPFvP3e4qxgSIMIiUYDzWO A862ia9RK55U9sCCfGzLpwD+1oE7cIhCkL2Lbl6lfFPOyFA2sBCkt9pQjsEyoNDRdLe6 I1sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7TzN4hxTG2AVwJ285Hk7AXktKfgN8JkzE0EljXyjKBo=; b=VS2FIbvtAlV5xnykVQk02L+bQHb7V/NZcXZ/+RDWBwb7n4pxYpcPWu1RwAZ/HeZIlE uDJHQX/OmF61g+RmhXP+upZcA7Rse4Kf5tfwEuuDHjOnJXrtqpYT+yPWxJ/wMKoQfsfv h84mWWBQfme7MFoqwwbTlX5Y/i9S854oROeG4z9GExzhvA2DjzdjI3i5a3ijc2/ZSHZa 4JcoQy/sNuo1g8lO5y3LcBYCD9N9xaqiJ/PTdbi0AhT+fJQNqZd2kS2pipjWEnf+u3Y5 OiQ7pZnINd1FJSfqgdcjroO0+ig68y5jxPxUxrJ6QdzXQifwTeo2VCV9LEDCfqdE42Fr E31g== X-Gm-Message-State: APjAAAWO+uWhfc5r4Opp3K9auCFwZ/ytQgiw5Im8PRZUnHqZzZ0aeG89 BmiLEEM4V726d8PUNbvE4S0euLPb+aI= X-Google-Smtp-Source: APXvYqy9XNT2TRMBTq5XsUO8uqQ9wtY05J3QGyIMDeAlT5JcIUuPtLw46KxxqYiqGKjFoNk/3NvNLw== X-Received: by 2002:a37:5887:: with SMTP id m129mr3348688qkb.27.1569893826945; Mon, 30 Sep 2019 18:37:06 -0700 (PDT) Received: from casantos.remote.csb (177.204.230.110.dynamic.adsl.gvt.net.br. [177.204.230.110]) by smtp.gmail.com with ESMTPSA id t73sm6824587qke.113.2019.09.30.18.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2019 18:37:06 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Mon, 30 Sep 2019 22:36:52 -0300 Message-Id: <20191001013654.22298-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.1 Subject: [Buildroot] [PATCH v2 0/2] Make remote debugging easier X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Carlos Santos <unixmania@gmail.com>, Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
Make remote debugging easier
|
expand
|
From: Carlos Santos <unixmania@gmail.com> Patch 1 moves binaries stripping to the rootfs creation instead of in target-finalize. This allows us to find the non-stripped executables under TARGET_DIR, rather than searching inside the build directory. Patch 2 updates the gdbinit file to set sysroot to TARGET_DIR. Carlos Santos (2): Strip binaries in the rootfs creation instead of in target-finalize toolchain: install gdbinit under TARGET_DIR Makefile | 34 ----------------- docs/manual/quickstart.txt | 5 ++- docs/manual/using-buildroot-debugger.txt | 11 ++++-- fs/common.mk | 37 ++++++++++++++++++- toolchain/helpers.mk | 4 +- .../pkg-toolchain-external.mk | 4 +- 6 files changed, 50 insertions(+), 45 deletions(-)