From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id co3oBpQqcGYB2joAWB0awg (envelope-from ) for ; Mon, 17 Jun 2024 08:22:44 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=Ee4bTphL; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 02B281E0C1; Mon, 17 Jun 2024 08:22:43 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id DE9C71E030 for ; Mon, 17 Jun 2024 08:22:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 75F05385C6C7 for ; Mon, 17 Jun 2024 12:22:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75F05385C6C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1718626961; bh=iUvGv3I8QVX0nbKIU3C2D6ExWEv5E2kPcHbQkeNWho4=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Ee4bTphLSjvAgVHrp78vo818P03KIVStWdxPwsdTWo0EbHI7gAkta2BY15HoRgHy8 gnEATMVqZni+6rkkfII06yulX+YEBRGRHpTqXwKX27ZH4Rw8/WKMt27/Y8E5VLiGmb GwXRufCOULOPCgfsiVH5rSwNUENONSmeYXyuaVg0= 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 1099C3858D29 for ; Mon, 17 Jun 2024 12:22:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1099C3858D29 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1099C3858D29 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718626926; cv=none; b=UuW/bWRM0GP4xOSshL/Fn2zUV99zNOeCnjwND2sntFE+f+VyQocXJ0wpFrjel/vjCNio+PYZmsg9undFaupcW89c3FN2/jsCVm0Hjg3TMtbeiRdRGPGvUSRJw6BnGOKbmcnYhh6O/6sl1q5j29eAd161iah5F3GM5DBC20FdnZs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718626926; c=relaxed/simple; bh=YaeAMkmJjFfq6iylWmofBPrejuc+v+J9U3ADiWF51kM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=KAzpMJvfIYI56rmT/lKAKaXL7XDES5Pdwm2dRr/+FWNZZmM/kPbd4QS6OmSoGH3h3cmtRsoP8TtEFNM2AV51LykRttCwv2At4rXivBNvXyoC3+MRCaqLIXmc3jje5bcFmAq1+oB+vslp6Qk2VXD+sAl/YG+t541TsdARI8DARPw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-392-VvtGFERxOyuW7JGndi27Ow-1; Mon, 17 Jun 2024 08:22:02 -0400 X-MC-Unique: VvtGFERxOyuW7JGndi27Ow-1 Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-705947ccac7so3541836b3a.2 for ; Mon, 17 Jun 2024 05:22:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718626921; x=1719231721; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iUvGv3I8QVX0nbKIU3C2D6ExWEv5E2kPcHbQkeNWho4=; b=qxWgse18ycublqIDqNGNM4YN7OMzbhgl13VLexfeE+wiT/+XhQCZKt8BS0QCnrYn1b gwo5rcEJbCwUf2cWC2ra8as9gYXy1zk20e/VjKNUB/LnZJ1CtsC+7gYiWprvp6fXD19R xP9rrbrpXczlPBrMwHOLXk6+A3H3g9wZ7N2UZxk6fXU6V8b0znMnkIhKs5uquZSHwwEd Xlk+BfxFtZmwjq2PMktgySMMw9+ytce8H8ZGb+3D2Klf7FqKqW3WfpuvwalBKJbgitsS Icv0nA+Zqtve3IEN/8lYFRRj5Tw9DM2oZpmX+qkLt5w8ETLKHo9XGRZjMFhqmOSeAIgi 7NCw== X-Forwarded-Encrypted: i=1; AJvYcCUvvjLSj4vA7GjcCgpBFksTu4ASmzHv1IViAzsnDGnoSXKsstSm/yG8FqTbIRXxRBi0kKkShfsufR36cYXsKUoIYdE= X-Gm-Message-State: AOJu0YwFP668R8pRLHYc45Ez9Bbt146K4n7NjML1rew36fjpPkxR0TWk I+9TqILnN4GRoFLQlub7GlvzJ8BhpNMLLTT671vlE//skU0da2eyufTD2K9Eqd9zYnSw0pQftu+ /7hsEOE0T0UAskJkxEEQPC4deFviB0i2aWeXbpafs+nREwqWmzbKYsD4N X-Received: by 2002:aa7:93c6:0:b0:704:2d64:747 with SMTP id d2e1a72fcca58-705d7123999mr10051550b3a.7.1718626920916; Mon, 17 Jun 2024 05:22:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrnmt8veFaLsSRuQCS1/bx99N6PUjPDO8b5WOdl+4GhCHa6ZYOcPBr5Ewuqi3tb+7z9SaYww== X-Received: by 2002:aa7:93c6:0:b0:704:2d64:747 with SMTP id d2e1a72fcca58-705d7123999mr10051528b3a.7.1718626920392; Mon, 17 Jun 2024 05:22:00 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:92c5::1001? ([2804:14d:8084:92c5::1001]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-705cc966c15sm7242774b3a.56.2024.06.17.05.21.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 05:21:59 -0700 (PDT) Message-ID: Date: Mon, 17 Jun 2024 09:21:56 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Contributing to gdb To: shaunak saha , gdb@sourceware.org References: In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.3 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 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Guinevere Larsen via Gdb Reply-To: Guinevere Larsen Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 6/14/24 6:52 PM, shaunak saha via Gdb wrote: > Hi all, > > I am new to the community and I'd like to contribute to gdb. I have 15 > years of development experience in C mainly working in embedded > domain. Went through the project ideas page > "https://sourceware.org/gdb/wiki/ProjectIdeas". I would be interested > to contribute in areas like Embedded Debugging, watchpoints or > internals. Any suggestion would be great. > > Regards, > Shaunak > Hello! Welcome welcome, we always love to have new contributors :) My first thought with regards to that page is that I don't know how up to date it is... the last update seems to be back in 2021, which is from before I joined the project. That said, I think there is plenty of things to do in the areas you mentioned. For embedded debugging, unfortunately I have no idea what the situation is. For watchpoints, the first bug that that page mentions is still open, but apparently the last mention of anything related to it was in 2014 (the 2024 comment is unrelated), so you could first check if you can still reproduce the issue, and maybe try to fix or close the bug if it can't be reproduced anymore. I'm also a big fan of improving user experience, so the second thing about watchpoints (and the misuse of the word scope) is something I'd love to see, if you're interested in fixing it. And for internals, if I may do a bit of promotion of my favorite area, right now reverse debugging has a big problem: We rely on recording the execution history of the inferior in a global variable, which is totally not feasible if someone wants to record multiple inferiors at once. I'd love to see a rework of this area that makes the history specific to an inferior instead of relying on a global var. This could be pretty complicated, as I don't exactly know how someone would go about doing this and it might touch a couple different subsystems, but if you'd like your first contribution to be tough as nails, I know I would love to see it :) Once you decided on something to work on, if it isn't something that feels obvious to you or feels like it could depend on some design decisions, I recommend sending a very simple prototype as an RFC to the gdb-patches@sourceware list, so people can discuss if your approach makes sense. If you want some help understanding some bits of GDB, feel free to reach out on IRC (#gdb on libera chat), and if you feel shy about asking questions in public, feel free to reach to me privately :) (though I mostly only answer on work hours for Brazil). Just a heads up, too, if your patch isn't a trivial fix, you might need to sign a bit of paperwork giving the copyright of changes to GDB to the Free Software Foundation before we are able to accept the changes. I mention this up front because I know a few people who were turned off by the idea, even though the process itself isn't complicated. -- Cheers, Guinevere Larsen She/Her/Hers