From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id 099FD3858D33 for ; Fri, 28 Jul 2023 08:47:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 099FD3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99b9161b94aso267005566b.1 for ; Fri, 28 Jul 2023 01:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690534062; x=1691138862; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=hAo6wJdfvZdhFBB2V8mWHRlhCjxRhh2MBm+kPDMxFxM=; b=sl3xhAcSNzxo0kzYOk7F0mQYtgkZOTGDvSvIZdePAvxmlijevfxh56LnOqrL9QPxS0 s/IWIQkMp0BPID5kBVHAXFx6178Ctz8WFPvvJTZJrrersatOG8LlNT4r0sf/KX7T2GKY Nu86CinEaVVFJEk+b0I/85s5dU7fe8YQbOEDUEKL9OLm6+sbZH6yY/ZWhAO+HQCVPzWJ O4mVN3f/Hq8Prlm1wGSJkL4ELy1s5t5WS+hzEH9vW87FEdQLe6diDIglWM+zLCB0wX8U N51ITSyoFSJW1aNLxVN6RG+AntvUMGdE/U35spFQLM9bvUzBTbrmDyrcuw++u4ZK3E7r I2jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690534062; x=1691138862; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hAo6wJdfvZdhFBB2V8mWHRlhCjxRhh2MBm+kPDMxFxM=; b=RgTejLcUaUfS2atKVc2feog3TCX8/pHD4M4xObt4J0WN52Vl0vNBGAnZROTmbgiXPD T79dt70uMhbF/8bkS5XZ28YHYI3oT0ks2miSQN3d9OoqQMLjJkOpdbt5ZafiKppZRBhV tqwuQbIUUJ8gM+mVtC9anGsGxB+lQdb40nIxMMRYwIh1RZjcnada6JyQChEYQT1mLXng 1myllTQfZUr8fpl1QYnwOxw9pBUeaaOiO9l0VQGYLSeoYI1/ooG+TYdj0PYzDiOAta5+ LoTEq9E4V+E70Bz6uHA8oyZiyejTxpO9ia8+pyr/BQhsmzU9VJeD5We1p5NN7u4gks8K G8YQ== X-Gm-Message-State: ABy/qLYLRZcSiMFxh+SgobMUcnY2momybCyHHuuykFUkVU/DRgSthMQN 3UBw67nwj7wVHWgw1AmzovDss3ZAXzh0b83V5DrxYlX8/zI= X-Google-Smtp-Source: APBJJlGJ6UvsbngbsVMaRyHsrzGetwaqawb7tgHkgyhF9TlmaeoYZHq8n79LDkAOCMYmynzc5SXhgW9yWQxH8hg0DN8= X-Received: by 2002:a17:907:770f:b0:99b:d2a9:9a01 with SMTP id kw15-20020a170907770f00b0099bd2a99a01mr2208226ejc.0.1690534062003; Fri, 28 Jul 2023 01:47:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6f02:a9d:b0:4a:d316:796e with HTTP; Fri, 28 Jul 2023 01:47:41 -0700 (PDT) From: K Date: Fri, 28 Jul 2023 10:47:41 +0200 Message-ID: Subject: Problem sending program a signal on hitting breakpoint - an anomaly? To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I've being trying to run commands that will deliver a signal to the inferior upon a breakpoint hit: b > Breakpoint 1, commands 1 signal SIGSYS end unfortunately rather than deliver the signal this triggers the breakpoint again and so loops. is this to be expected or an unfortunate 'feature'? my understanding is that 'signal' is a resumption-invoking command like cont, step et al, and that the breakpoint will be executed and stepped over. which if true means gdb is reacting to this signal rather than just delivering it as advertised. is there a workaround for this? thanks for reading.