[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sparc64 reverse cas and casx arguments
From: |
Igor Kovalenko |
Subject: |
Re: [Qemu-devel] [PATCH] sparc64 reverse cas and casx arguments |
Date: |
Tue, 23 Sep 2008 00:13:11 +0400 |
On Mon, Sep 22, 2008 at 8:20 PM, Blue Swirl <address@hidden> wrote:
> On 9/21/08, Igor Kovalenko <address@hidden> wrote:
>> Hi!
>>
>> The following patch should fix a problem with sparc64 cas and casx
>> emulation where value to be stored and value to be compared are passed
>> in reverse order to helper function.
>>
> Thanks for spotting. I think a cleaner solution would be to rearrange
> the code so that the argument names match the instruction field names.
I think the problem is at call site but anyway obviously the committed
change fixes the problem.
>> PS: if anyone can send me a patch for gdb to load and use System.map
>> file while doing remote debugging that would be great :)
>
> I have usually compiled the kernel with -g flag and then used the
> vmlinux file when debugging.
>
... I wanted to save some time building the kernel for officially
released distribution (this time, gentoo 2008.0)
--
Kind regards,
Igor V. Kovalenko