From: Pedro Alves <palves@redhat.com>
To: Luis Machado <lgustavo@codesourcery.com>,
Simon Marchi <simon.marchi@ericsson.com>,
"'gdb-patches@sourceware.org'"
<gdb-patches@sourceware.org>
Subject: Re: [PATCH, v2] Add command to erase all flash memory regions
Date: Tue, 10 Jan 2017 19:14:00 -0000 [thread overview]
Message-ID: <cf4833f0-6d8e-9930-0476-6229863b2529@redhat.com> (raw)
In-Reply-To: <6fff44e6-74df-47ae-3cd2-2d3dca971f65@codesourcery.com>
>>>> +The output is a list of flash regions that have been erased, sorted by
>>>> +address/size.
>>>
>>> What does it mean to be sorted by address/size?
>>>
>>
>> It is actually an oversight. No sorting is done (the regions are shown
>> in the same order as they are provided by the target).
AFAICS, target_memory_map does a qsort on address.
But it's probably better to not commit to any ordering.
Thanks,
Pedro Alves
next prev parent reply other threads:[~2017-01-10 19:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 19:04 Luis Machado
2017-01-09 19:22 ` Eli Zaretskii
2017-01-09 19:59 ` Luis Machado
[not found] ` <7353f551-64f3-9d8a-8e74-f85dd93b40d4@ericsson.com>
2017-01-09 22:14 ` Luis Machado
2017-01-09 22:19 ` Luis Machado
2017-01-10 19:14 ` Pedro Alves [this message]
2017-01-10 18:23 ` Pedro Alves
2017-01-11 18:56 ` Luis Machado
2017-01-12 16:23 ` Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cf4833f0-6d8e-9930-0476-6229863b2529@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=lgustavo@codesourcery.com \
--cc=simon.marchi@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox