Re: [lldb-dev] Duplicate use of "sp" register name on x86 targets

2021-09-06 Thread Michał Górny via lldb-dev
On Mon, 2021-09-06 at 13:23 +0200, Pavel Labath wrote: > On 25/08/2021 21:13, Michał Górny via lldb-dev wrote: > > Hi, > > > > While working on improving gdbserver compatibility, I've noticed that > > "sp" is used twice: > > > > 1. as an alt_name for esp/rsp register (giving full 32/64-bit stack

Re: [lldb-dev] Duplicate use of "sp" register name on x86 targets

2021-09-06 Thread Pavel Labath via lldb-dev
On 25/08/2021 21:13, Michał Górny via lldb-dev wrote: Hi, While working on improving gdbserver compatibility, I've noticed that "sp" is used twice: 1. as an alt_name for esp/rsp register (giving full 32/64-bit stack pointer), 2. and as the name of sp pseudo-register (giving ESP/RSP truncated

[lldb-dev] Duplicate use of "sp" register name on x86 targets

2021-08-25 Thread Michał Górny via lldb-dev
Hi, While working on improving gdbserver compatibility, I've noticed that "sp" is used twice: 1. as an alt_name for esp/rsp register (giving full 32/64-bit stack pointer), 2. and as the name of sp pseudo-register (giving ESP/RSP truncated to 16 bits). FWICS the current lookup logic (at least