From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1fFnJ4zRxGKF2gwAWB0awg (envelope-from ) for ; Tue, 05 Jul 2022 20:04:28 -0400 Received: by simark.ca (Postfix, from userid 112) id 903D21E22D; Tue, 5 Jul 2022 20:04:28 -0400 (EDT) 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=R3RTFNeP; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2D6401E15C for ; Tue, 5 Jul 2022 20:04:28 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9ADF73854144 for ; Wed, 6 Jul 2022 00:04:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9ADF73854144 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1657065867; bh=V1KXr4ogj+uG0UBvVwBIAxijI7bMauJISUkZBiFIOeA=; 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=R3RTFNePE1iruzhyzSKF/MPApYdqtYJhZmri2YAMs1qL+iutFUGBrPzzBbg5IAD9L ypEoBjTd5NDnaAnMb9QVIOlzA1FNEFfyoTW6hblIqI1FxQNhzVITJSYl+SL8n2mDe5 wRQN8M1z1YS7YfaVCwHr4fcfvmD/omI3TZCkerGE= Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 130B43858024 for ; Wed, 6 Jul 2022 00:04:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 130B43858024 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 26603jHV029094 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Jul 2022 20:03:50 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 26603jHV029094 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 50C361E15C; Tue, 5 Jul 2022 20:03:45 -0400 (EDT) Message-ID: <6ed0cfa1-a3bb-f7bc-54d0-bb2abb6b11d4@polymtl.ca> Date: Tue, 5 Jul 2022 20:03:44 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Is there any information about gpu debugging? Content-Language: en-US To: =?UTF-8?B?5aW9?= , gdb@sourceware.org References: <62b767e7.d30.181cbe55427.Coremail.swdtian@163.com> In-Reply-To: <62b767e7.d30.181cbe55427.Coremail.swdtian@163.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Wed, 6 Jul 2022 00:03:45 +0000 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: , From: Simon Marchi via Gdb Reply-To: Simon Marchi Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 2022-07-04 21:06, 好 via Gdb wrote: > Hi, Is this the channel for raising questions? Hi, yes. > I have been very interested in gdb recently. I want to develop a set > of gdb that supports GPU debugging, but I don't know where to start. What do you mean by "a set of gdb"? > Do you have any good suggestions? What is the difference between AMD's > ROCGDB and NVIDIA's cuda-gdb and GDB? Is there any information? Cuda-gdb and ROCgdb are two separate forks of GDB, made to debug Cuda and ROCm programs respectively. They are not interchangeable, as they are both designed to debug programs running on their respective platforms. They currently both reside outside of the upstream GDB tree. I can't speak for Nvidia, but AMD intends on (and is actively working on) contributing ROCgdb to upstream gdb. So in some not too distant future, it should be possible to debug ROCm programs with an upstream GDB build. I am not sure what kind of differences between the two you are after, so feel free to ask further questions. Simon