From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 7D9C1388206F for ; Fri, 14 Jun 2024 08:08:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7D9C1388206F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7D9C1388206F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718352496; cv=none; b=gVk5gyGzsaZXGQCvS/2NmmFTaTkHvEu5G0Zk4euzHA/s8V7SE4dKQt73h2+9Lbrk6pMAE1DX8QTehNHPbm9FBxk4G12l5CkkxmZ4qae49jM3EmeDXyJhYOHs381hsB51hvT6vMEb11C62xhTIlNRODB9ol5GFkcZcGt0ZBpg908= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718352496; c=relaxed/simple; bh=/HN8daQ3F8PgEbdlPMUO9ieX93Kl1qY7lQTOu++Obe8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=KV1/kOZ9hKek+D6xFFzUWiko5cJ0Yx9aAFXH+YgveNlyHJeFnGdUX6A2iIpc+rldFWcB9CZ07DiZGEo9nY38goD8bSNqN4ccd4c/uiD7cuABVGHJueUe+PTiDhO1RU5Z2zcCYkS9IrgJG1+I3CotNhq3DTWZam8VyFqvZDC4m6E= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718352492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hH4hv6QuS0ZfXNI6Da0ZJdIBds94EYsBH4CFjnpuB9Y=; b=RIiSfqnWQJ8xxyivEThf6FJ94iGdMthEI76bB+tB3gju+jc2j6ghGGNO/PobOapAg1hoWn yg7nTI9+6vcG75KpeqCL17R/YdFe+nD+qaW/rRATPYz+T+uhJz1hQko7Z/q9r4MjJj0Vk2 Oom/HujtLQWR0lk+DIXNe0BdesFlFoI= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-58-ziHKDJ3WMJe5JjcM2hUwEQ-1; Fri, 14 Jun 2024 04:08:09 -0400 X-MC-Unique: ziHKDJ3WMJe5JjcM2hUwEQ-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-3580f213373so1112222f8f.3 for ; Fri, 14 Jun 2024 01:08:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718352488; x=1718957288; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hH4hv6QuS0ZfXNI6Da0ZJdIBds94EYsBH4CFjnpuB9Y=; b=Mz3eCVTgT0ILK6uBtCpQ7ggPMJcio2bSw6escX3e4W77U1pvF0nwaggE6MDCen4PsT SKXX7kb6moKlHtKtuWZmAHxX6DQpr1sv1FVlKCi0r37nJrOlwrg+g78ZSRwD0q0i2gBX 0pUYvNjIJvS1Sa1pCJs1D4Jkloc4EDDE6QmD/4ovVEeZGKexkOmAmw/XrBfpIfDBnMcA zES3l5PYGtCiejf93UVDlszyK0/kVa2FwBguApUekz/e4htxkjkp45nyECXspviW5gnm v/hDGpD5B+EhEl+pBRNur4eTkHFBlVKSA/bMHbLCGAjS1nlrc2q7LLD9Bk50SIVcwiHF Z3mg== X-Forwarded-Encrypted: i=1; AJvYcCX/3aF8AM5Pmpc4Rav+q+Uhw6sk7Y0L2SrMQkqnh6XUS2hCgymrk+4/ybHIPlcgBUJHnrMfHvFvuEfhCj8YUU9EquO4bRbMhUf+lA== X-Gm-Message-State: AOJu0YxVlaxHpL7wFaW1E2E5dXxyHrXMxszxdBSfmYZpkVY0RNML1tGq Wn2ii9mp6CMSgOCm13CgBK34iwaK1PXKUCccqfiW/6ujDAHXMYvxsAGkRcVBFdHATEha1mNO7Zf Suxk6jnEmsuI8tMquoC5cZld4pU+FCDFms+dfJOJeFNmGhkhzRTSUo2TE8MA= X-Received: by 2002:a05:6000:ec2:b0:35f:1cec:3ce with SMTP id ffacd0b85a97d-3607a75b68fmr1150392f8f.29.1718352487901; Fri, 14 Jun 2024 01:08:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGnaG2YErT+MsTODY5rTlvY/KRDk9zhfn83CxGfnn//IjENsCuALsjTrXYzJlsusLU6TOEJOg== X-Received: by 2002:a05:6000:ec2:b0:35f:1cec:3ce with SMTP id ffacd0b85a97d-3607a75b68fmr1150372f8f.29.1718352487412; Fri, 14 Jun 2024 01:08:07 -0700 (PDT) Received: from localhost ([31.111.84.186]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-360750acf32sm3627670f8f.49.2024.06.14.01.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 01:08:07 -0700 (PDT) From: Andrew Burgess To: "Terekhov, Mikhail" , Luis Machado , "gdb-patches@sourceware.org" , "gdb@sourceware.org" Cc: Pedro Alves Subject: RE: [RFC] Removing in process agent (IPA) In-Reply-To: References: <87y1797wqf.fsf@redhat.com> Date: Fri, 14 Jun 2024 09:08:06 +0100 Message-ID: <87sexg7xqx.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,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: "Terekhov, Mikhail" writes: >> -----Original Message----- >> From: Luis Machado >> >> Similarly, I also think it might be time to consider dropping the tracepoints >> (mainly static and fast) machinery from gdbserver, as I suspect that is another >> mechanism that is not being used very often. >> > We use tracepoints in our stub from the last millennia I guess (back from EMC days) > and plan to do so in the future. > >> I recall trying to use tracepoints for practical purposes (back in the day), and it >> wasn't up to the task, being too cumbersome to use, having bad failure modes > > Putting some UI/GUI on top of it makes it relatively simple to use. > >> and having other security implications when trying to debug stuff in >> production platforms. The remote protocol side of it is OK, but again, I bet no >> debugging stubs are using that anymore. > > We do use them but not in production though. Just so I'm clear, you're talking about tracepoints here either in gdbserver, or at least (if you have your own stub) in GDB and the remote protocol, right? This doesn't require gdb to continue shipping the IPA right? Or have I failed to understand your position? Thanks, Andrew