From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 3AF41385740C for ; Fri, 30 Apr 2021 18:06:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3AF41385740C 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 13UI6YpR007567 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Apr 2021 14:06:39 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 13UI6YpR007567 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)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id B63231E01F; Fri, 30 Apr 2021 14:06:34 -0400 (EDT) Subject: Re: GDB - hardware server To: Mahesh Bodapati , gdb@sourceware.org References: From: Simon Marchi Message-ID: <0b855daa-7659-7270-ffd3-0b86498008f4@polymtl.ca> Date: Fri, 30 Apr 2021 14:06:34 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Fri, 30 Apr 2021 18:06:34 +0000 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, 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 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: Fri, 30 Apr 2021 18:06:42 -0000 On 2021-04-29 1:59 a.m., Mahesh Bodapati via Gdb wrote: > Hi, > we have 3 different target descriptions for the same target. > > gdb has been built for all the 3 configurations but the 1st target > configuration is the default description. we are able to set configurations > from executable files but how to set the target descriptions from the > contents of the server. > > tar remote host:port ,can I set the target description based on the > contents[like arch,register size..] from the hardware server.I can only > see the comparison of what gdb is expecting and what gdb is getting from > the server. is there a way to change the gdb target descriptions from the > contents of server ? I'm not sure I understand the problem correctly, but the server can send the XML target description to GDB. Simon