From patchwork Wed Jul 10 10:25:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 168791 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp9771862ilk; Wed, 10 Jul 2019 03:28:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8IaqUJI1DvDbMZtp/tpG6yCKX+lEOuvz1lJzH8vdA8OHDqqNXXASbIKeP9ZY0HJLfmc49 X-Received: by 2002:aa7:c99a:: with SMTP id c26mr30147436edt.118.1562754535026; Wed, 10 Jul 2019 03:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562754535; cv=none; d=google.com; s=arc-20160816; b=DAYYMAHa2MpWAVdQ4+sn1V0mMtBDdQdKnmCysebGULwYIS231I8GElhHkW31ohUeAr MmJmJsfbiMCIUhKYN7adEKxa4brnpGUSTbhtChz4oHNtVe3Sz8kxh2n/xtEBK/3q9d8s gBAp89zEvXPgLgd63ilL0Z430rS3swAYOnkASXsk9ol7r+6wqJqwOsA1swawAlhcWrZB ZrddA2TX1oKc9Pduq3Rjn6/A+pG86vMdTBlg0skgejR+iABg1puhG+ZSBMSdnhhGkJPi 83G4Bqo+tte0RWdDqhNgUP2gpw2gZf4sOnoiUDvlTrQjjG0Eo5jwbxP5iT3rKeL9Wlek WD6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=2uf2HRIdbf2h0OGgfW33mzQxfpKIty5w+0euDRtaBug=; b=SjCHhPLrBhyoDL0Q7QNGjLl4B8HulHdvGNg4SXbpv8t1U4oU2xOfXU98hQXXRDuyqM DVReCmFfuVwXSqi33MVySZFv4uRT+AaYtxPsFuCx+pes8ACyRUq81+7Iy1PfxhZyXbFC KdtDUaSd6Sz1j81F6mhyuNVUfrda6iC7tsrjg6ghiegasjcSfczswxYTXt9r/2RIe9Ju 6b+LAiM8tdn2f4zeAieE9wNnqreL3De6LlRYwbECEAivO5CDuh9HP0/cLm0l4pPSH+pw ZtfLGWL5UQQP3nMm1CNQS/2AB0x+dGVHyTpWJLUwPmakRsmxc2nPwEPT0iRbcc68XrB2 c0NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zROoEq6W; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e28si1132023edb.265.2019.07.10.03.28.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Jul 2019 03:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=zROoEq6W; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl9qI-000450-0s for patch@linaro.org; Wed, 10 Jul 2019 06:28:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41713) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl9nk-0001IC-8a for qemu-devel@nongnu.org; Wed, 10 Jul 2019 06:26:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hl9ni-0000l5-W2 for qemu-devel@nongnu.org; Wed, 10 Jul 2019 06:26:16 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:56072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hl9ng-0000Qj-TZ for qemu-devel@nongnu.org; Wed, 10 Jul 2019 06:26:13 -0400 Received: by mail-wm1-x330.google.com with SMTP id a15so1706197wmj.5 for ; Wed, 10 Jul 2019 03:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2uf2HRIdbf2h0OGgfW33mzQxfpKIty5w+0euDRtaBug=; b=zROoEq6WNpkvChYeWl+NNuJ2VBffr7+CahyQPCmFDkdtJREmpD/A+3B3mEkO9odoHe ZcAkI/SGNTnnQABde4vhWpqiSIe3lGCAThDWT5rln6mIPckMN2JDRT84zgxoGP2/f9Im DFhxbf19RezX0WernUVbsVgW06BsvnLqcnTY2bm0IDj2EgZagMK0VE6ZatRt9TJxO78A LTaSAk1iZ5dj4RJGPDO1dPEu6anKwTJTuYySG+rXJo4wvWiLZ5JjycsidQiSnzLbRoMG yo6XYrPuKDdyrAsakJIUCNl21T6Wkxses/+BuUxSnnuDe1MF31ImeLxz1/TCZSr8uY8F jhCA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=2uf2HRIdbf2h0OGgfW33mzQxfpKIty5w+0euDRtaBug=; b=l9NqL38r5Gu1JOJrlszLBFWf/BuK2mzTFuNH/nWch37Ye5w2X9BkNJ9ldFylDjLS/2 FfS3I43aWQ7VDVKCh6KKKkiqd3LivYXS4tNWqZFmS8bdcZ//2Y2xJ8uzHgsIM2OIjSwI 1zD64S2z21fY6lgItcy/mmMpNdk/emdfeW/YaB5R7u9N0+gctJyXmTPXzaFniaXB/mke W0QgPfmK82ubzp6EWr5ibV4IlFNcoQpdKoE23Ude4nEC8gDj6YEUlgg64dW2rHIaX7JX whbS6rLHBzAvLtXOiaAylfTfxUBuhyZtY8f9Qcj/oD118+TpkICJ4xAvZEloy8GUo98O 2Ljg== X-Gm-Message-State: APjAAAWwYuBKfaHJntSJWJDzav41humVDK3TRtsfcUWabfW2zaSKUOE6 poXaEQnLHobBT8BIxAjg9uDieQ== X-Received: by 2002:a1c:4d01:: with SMTP id o1mr4863178wmh.55.1562754360745; Wed, 10 Jul 2019 03:26:00 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id t6sm1538550wmb.29.2019.07.10.03.25.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 10 Jul 2019 03:25:59 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 018041FF90; Wed, 10 Jul 2019 11:25:58 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Wed, 10 Jul 2019 11:25:56 +0100 Message-Id: <20190710102557.3107-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190710102557.3107-1-alex.bennee@linaro.org> References: <20190710102557.3107-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::330 Subject: [Qemu-devel] [PULL 3/4] gdbstub: add some notes to the header comment X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Add a link to the remote protocol spec and an SPDX tag. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé -- 2.20.1 diff --git a/gdbstub.c b/gdbstub.c index 687c02e598..8363683852 100644 --- a/gdbstub.c +++ b/gdbstub.c @@ -1,6 +1,10 @@ /* * gdb server stub * + * This implements a subset of the remote protocol as described in: + * + * https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html + * * Copyright (c) 2003-2005 Fabrice Bellard * * This library is free software; you can redistribute it and/or @@ -15,6 +19,8 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . + * + * SPDX-License-Identifier: LGPL-2.0+ */ #include "qemu/osdep.h"