[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    [PATCH] Partial fix for PR backtrace/1718
From:       eliz () gnu ! org (Eli Zaretskii)
Date:       2004-07-31 18:44:00
Message-ID: 7821-Sat31Jul2004214202+0300-eliz () gnu ! org
[Download RAW message or body]

> Date: Sat, 31 Jul 2004 11:09:35 -0400
> From: Michael Chastain <mec.gnu@mindspring.com>
> 
> Opcodes 0xb8 to 0xba are for "move immediate", which moves a constant
> immediate value into a register.  Opcodes 0xa1 and 0x8b are for "move
> register/memory".
> 
> These are different instructions.  In C terms,
> 
>   eax = 0x375aa0;            /* move immediate, opcode 0xb8 + rd */
>   ebx = 0x375aa0;            /* move immediate, opcode 0xb8 + rd */
>   eax = * (int *) 0x375aa0;  /* move r/m, opcode 0xa1 */
>   ebx = * (int *) 0x375aa0;  /* move r/m, opcode 0x8b + /r */

Right.

Perhaps, then, you could post a list of all the opcodes and subsequent
bytes that we need to cover in i386_analyze_frame_setup?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic