All of lore.kernel.org
 help / color / mirror / Atom feed
From: Douglas Miller <dougmill@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Subject: Re: xmon memory dump does not handle LE
Date: Mon, 6 Feb 2017 07:50:04 -0600	[thread overview]
Message-ID: <4efc7afd-647c-106d-ca90-5f736514f5fc@linux.vnet.ibm.com> (raw)
In-Reply-To: <87vasra7lp.fsf@concordia.ellerman.id.au>

Hi Michael,

Yes, your patch seems a more complete solution. The idea of "d1", "d2", 
"d4", and "d8" commands is more what I needed and makes more sense to 
someone hitting xmon "cold". I'll work on getting your patch submitted.


Question on these sorts of patches (PPC only), do we submit initially to 
upstream, or here on this (PPC) mailing list? It would be nice to get 
this into the distros as soon as possible.

Thanks,

Doug


On 02/03/2017 04:31 AM, Michael Ellerman wrote:
> Douglas Miller <dougmill@linux.vnet.ibm.com> writes:
>
>> I'm referring to the three commands listed in the help:
>>
>> d     dump bytes
>>
>> df    dump float values
>>
>> dd    dump double values
>>
>> As it turns out, all three of these commands do exactly the same thing,
>> and it's certainly not what I'd expect based on experience with other
>> debuggers. Maybe the original intent was only to simply output bytes of
>> memory, but to me the help implies otherwise and certainly something
>> more is needed.
> OK. I don't think df/dd actually exist in the code, so I think the help
> is just out of date, by about 20 years.
>
> 'd' definitely works as intended and does what the help says as far as
> I'm concerned. The output is pretty similar to hexdump -C for example.
>
> Also xmon isn't a debugger it's a crash handler :)
>
>> I'll take a look at Balbir's patch and see if I can help move it along.
> Actually take a look at mine instead.
>
> cheers
>

  reply	other threads:[~2017-02-06 13:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-02 14:42 xmon memory dump does not handle LE Douglas Miller
2017-02-03  1:46 ` Michael Ellerman
2017-02-03  3:07   ` Douglas Miller
2017-02-03 10:31     ` Michael Ellerman
2017-02-06 13:50       ` Douglas Miller [this message]
2017-02-06 20:37         ` Douglas Miller
2017-02-07  1:00         ` Michael Ellerman

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=4efc7afd-647c-106d-ca90-5f736514f5fc@linux.vnet.ibm.com \
    --to=dougmill@linux.vnet.ibm.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.