Message ID | 55DF11C2.6020303@ericsson.com |
---|---|
State | New, archived |
Headers |
Received: (qmail 129183 invoked by alias); 27 Aug 2015 13:34:00 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 129123 invoked by uid 89); 27 Aug 2015 13:34:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg21.ericsson.net Received: from usevmg21.ericsson.net (HELO usevmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 27 Aug 2015 13:33:57 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usevmg21.ericsson.net (Symantec Mail Security) with SMTP id DC.54.26730.ED7AED55; Thu, 27 Aug 2015 08:02:07 +0200 (CEST) Received: from [142.133.180.176] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.77) with Microsoft SMTP Server id 14.3.210.2; Thu, 27 Aug 2015 09:33:55 -0400 Message-ID: <55DF11C2.6020303@ericsson.com> Date: Thu, 27 Aug 2015 09:33:54 -0400 From: Simon Marchi <simon.marchi@ericsson.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Eli Zaretskii <eliz@gnu.org> CC: <gdb-patches@sourceware.org> Subject: Re: [PATCH] Document non-8-bits-addressable support in NEWS References: <1440620235-24006-1-git-send-email-simon.marchi@ericsson.com> <83h9nl5ud6.fsf@gnu.org> In-Reply-To: <83h9nl5ud6.fsf@gnu.org> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes |
Commit Message
Simon Marchi
Aug. 27, 2015, 1:33 p.m. UTC
On 15-08-26 10:37 PM, Eli Zaretskii wrote: > I think you should drop the second sentence, as it doesn't add any > useful information and is slightly inaccurate. I think everyone will > understand what non-8-bits-addressable means. Right, thanks. Pushed with second sentence removed. From fd2ae5d6a3a5c4007be45f9b2f325955ac316f36 Mon Sep 17 00:00:00 2001 From: Simon Marchi <simon.marchi@ericsson.com> Date: Thu, 27 Aug 2015 09:30:00 -0400 Subject: [PATCH] Document non-8-bits addressable memory support in NEWS I think it would be a good idea to document that gdb now has (basic) support to read/write memory on architectures with non-8-bits memory. Hopefully somebody will see it and say "Hey! We can now (more easily) port GDB to our strange DSP that has 32-bits-addressable memory!" and do it. gdb/ChangeLog: * NEWS: Document support for non-8-bits addressable memory. --- gdb/ChangeLog | 4 ++++ gdb/NEWS | 3 +++ 2 files changed, 11 insertions(+) target mon2000 mon2000 ROM monitor target ppcbug PPCBUG ROM monitor for PowerPC +* Support for reading/writing memory and extracting values on architectures + with non-8-bits-addressable memory. + *** Changes in GDB 7.10 * Support for process record-replay and reverse debugging on aarch64*-linux*
Comments
> On Aug 27, 2015, at 9:33 AM, Simon Marchi <simon.marchi@ericsson.com> wrote: > > On 15-08-26 10:37 PM, Eli Zaretskii wrote: >> I think you should drop the second sentence, as it doesn't add any >> useful information and is slightly inaccurate. I think everyone will >> understand what non-8-bits-addressable means. > > Right, thanks. Pushed with second sentence removed. > > > From fd2ae5d6a3a5c4007be45f9b2f325955ac316f36 Mon Sep 17 00:00:00 2001 > From: Simon Marchi <simon.marchi@ericsson.com> > Date: Thu, 27 Aug 2015 09:30:00 -0400 > Subject: [PATCH] Document non-8-bits addressable memory support in NEWS > > I think it would be a good idea to document that gdb now has (basic) > support to read/write memory on architectures with non-8-bits memory. > Hopefully somebody will see it and say "Hey! We can now (more easily) > port GDB to our strange DSP that has 32-bits-addressable memory!" and do > it. Would it make sense to say what it can handle? Multiples of 8? Powers of 2? Any number? "Any number" (like 27, or 60) is probably found only in historic machines, but I remember DSPs with 24 bit memory. paul
On 15-08-27 10:09 AM, Paul_Koning@Dell.com wrote: > Would it make sense to say what it can handle? Multiples of 8? Powers of 2? Any number? > > "Any number" (like 27, or 60) is probably found only in historic machines, but I remember DSPs with 24 bit memory. > > paul It's multiples of 8. It would be good to add this precision I think. What about adding: "Supported addressable sizes are multiples of 8 bytes." ?
On 15-08-27 10:26 AM, Simon Marchi wrote: > On 15-08-27 10:09 AM, Paul_Koning@Dell.com wrote: >> Would it make sense to say what it can handle? Multiples of 8? Powers of 2? Any number? >> >> "Any number" (like 27, or 60) is probably found only in historic machines, but I remember DSPs with 24 bit memory. >> >> paul > > It's multiples of 8. It would be good to add this precision I think. > > What about adding: "Supported addressable sizes are multiples of 8 bytes." ? Err, it should be "Supported addressable sizes are multiples of 8 bits.", not bytes.
> On Aug 27, 2015, at 11:04 AM, Simon Marchi <simon.marchi@ericsson.com> wrote: > > On 15-08-27 10:26 AM, Simon Marchi wrote: >> On 15-08-27 10:09 AM, Paul_Koning@Dell.com wrote: >>> Would it make sense to say what it can handle? Multiples of 8? Powers of 2? Any number? >>> >>> "Any number" (like 27, or 60) is probably found only in historic machines, but I remember DSPs with 24 bit memory. >>> >>> paul >> >> It's multiples of 8. It would be good to add this precision I think. >> >> What about adding: "Supported addressable sizes are multiples of 8 bytes." ? > > Err, it should be "Supported addressable sizes are multiples of 8 bits.", not bytes. Sounds good. So I guess I won't be doing a cdc6600-gdb target handler. :-) paul
> From: Simon Marchi <simon.marchi@ericsson.com> > Date: Thu, 27 Aug 2015 11:04:50 -0400 > > On 15-08-27 10:26 AM, Simon Marchi wrote: > > On 15-08-27 10:09 AM, Paul_Koning@Dell.com wrote: > >> Would it make sense to say what it can handle? Multiples of 8? Powers of 2? Any number? > >> > >> "Any number" (like 27, or 60) is probably found only in historic machines, but I remember DSPs with 24 bit memory. > >> > >> paul > > > > It's multiples of 8. It would be good to add this precision I think. > > > > What about adding: "Supported addressable sizes are multiples of 8 bytes." ? > > Err, it should be "Supported addressable sizes are multiples of 8 bits.", not bytes. I suggest to leave a single sentence reworded thusly: * Support for reading/writing memory and extracting values on architectures whose memory is addressable in units of any integral multiple of 8 bits.
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d1b9ac9..cf55e14 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2015-08-27 Simon Marchi <simon.marchi@ericsson.com> + + * NEWS: Document support for non-8-bits addressable memory. + 2015-08-27 Pedro Alves <palves@redhat.com> * configure.ac: Remove AC_TYPE_SIGNAL call. diff --git a/gdb/NEWS b/gdb/NEWS index 49c4a11..5918f14 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -48,6 +48,9 @@ show remote multiprocess-extensions-packet