From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 9FED53857C6E for ; Tue, 21 Jul 2020 21:02:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9FED53857C6E Received: by mail-ot1-x331.google.com with SMTP id t18so214224otq.5 for ; Tue, 21 Jul 2020 14:02:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JzmkmYSQvXFyrQu2pMYa+5zbJ7WSWYuIBatUCWaEu3I=; b=dQ4Rj7RZx1Btps8FMBrj1xkPbf/A8NtGfImUu4Fght4Jz7m00Iph9BgXt8QuclE1hQ xXw8EeAtjtC1gkiPneFYSCPDNdK8P+cgLtOxiSWwPUgYOEYJ0nj+/gG8R9c4lr+g+XI2 cy1dR6LpjwWdWYtM3LxZZXtiqo6HLHkrDj+O3pice3pVsW62yThwYKkM7+71vuaCuRo2 bcc7NYXcYVL8OXBaK9UeiqQtUftwV1Pyp7DKK/heNDzEqdszXg+0gG7yHXmRSahB8U1M jNA4T1R3irAI3sNWM8N6Pe9ZIU/6EmTItmhuNCP657rNbUewiEewyxd9IhTkaxy/7t2Y o69w== X-Gm-Message-State: AOAM532KSsPGt6CUpevD9ApEhxMimuczR5Uu02faDIlvmCrhD4B90yMW oPRYFsJ+ivNhZVQaDbDnh4cqOoA93tbpcsbEwx+mLX9fB6Y= X-Google-Smtp-Source: ABdhPJxVt2B0Ee5QeDvHwXZ7ZSAvDyLIM/Ps+Tj/1TwVtn0icJG7kcCBGYm378sY1mHGDwBKf9lArueri0kK7Z/f8go= X-Received: by 2002:a05:6830:1e42:: with SMTP id e2mr25162747otj.46.1595365369675; Tue, 21 Jul 2020 14:02:49 -0700 (PDT) MIME-Version: 1.0 From: Reuben Thomas Date: Tue, 21 Jul 2020 22:02:38 +0100 Message-ID: Subject: Initial signal To: Reuben Thomas via Gdb X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jul 2020 21:02:51 -0000 Studying remote.c, I found the following comment: /* Stubs traditionally report SIGTRAP as initial signal, instead of signal 0. Suppress it. */ And indeed the remote stub I am working on, which was based on stubs/sparc-stub.c, was sending SIGTRAP as its initial signal. So I changed it to send 0, which works fine, of course. However, I cannot find this documented anywhere in the relevant section of GDB's manual; indeed, I cannot find any documentation of what the initial signal should be. Am I overlooking something, or is it missing? -- https://rrt.sc3d.org