From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22372 invoked by alias); 1 Jun 2011 19:23:12 -0000 Received: (qmail 22364 invoked by uid 22791); 1 Jun 2011 19:23:12 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-qy0-f176.google.com (HELO mail-qy0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Jun 2011 19:22:56 +0000 Received: by qyk30 with SMTP id 30so91417qyk.0 for ; Wed, 01 Jun 2011 12:22:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.43.209 with SMTP id x17mr5432478qce.257.1306956175885; Wed, 01 Jun 2011 12:22:55 -0700 (PDT) Received: by 10.229.251.17 with HTTP; Wed, 1 Jun 2011 12:22:55 -0700 (PDT) In-Reply-To: References: Date: Wed, 01 Jun 2011 19:23:00 -0000 Message-ID: Subject: Re: Addition of a special memory reading command From: Tomas Martinec To: =?ISO-8859-1?Q?Petr_Hluz=EDn?= , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00005.txt.bz2 >> The cli form of the "info proc mappings" command is not very suitable >> for the frontend. Maybe creating an MI equivalent to the "info proc >> mappings" would be nice. The MI form also enables me to specify the >> thread. That is needed in my VM scenario, because I represent >> processors as threads and each processor can be in different >> addressing mode. > > Are you aware GDB remote protocol can debug multiple processes at the same time? > Separate processes may be more appropriate if the addressing modes are > very different - which I do not know. You mean representing processors as processes? Well, that might be realizable in gdb. But I am afraid that it would cause a lot of troubles in eclipse. For example, eclipse launch a separate gdb session for each debugged process. Tomas