• Re: xinspect - how to modify the contents of a register

    From red floyd@21:1/5 to lukef on Thu Feb 3 08:12:33 2022
    On 2/3/2022 7:16 AM, lukef wrote:
    Hello,
    In inspect I could modify a register, e.g.:
    m reg ra = 0
    In xinspect i wish to modify the contents of this register:
    (xInspect 2,1326): info registers rsi
    rsi 0x31 49
    is this possible? What is the command?

    Thanks!
    Luke

    try the following

    set $rsi = 72 (or whatever value you wanted other than 72)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From lukef@21:1/5 to All on Thu Feb 3 07:16:32 2022
    Hello,
    In inspect I could modify a register, e.g.:
    m reg ra = 0
    In xinspect i wish to modify the contents of this register:
    (xInspect 2,1326): info registers rsi
    rsi 0x31 49
    is this possible? What is the command?

    Thanks!
    Luke

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From lukef@21:1/5 to red floyd on Thu Feb 3 08:25:19 2022
    On Thursday, February 3, 2022 at 4:12:52 PM UTC, red floyd wrote:
    On 2/3/2022 7:16 AM, lukef wrote:
    Hello,
    In inspect I could modify a register, e.g.:
    m reg ra = 0
    In xinspect i wish to modify the contents of this register:
    (xInspect 2,1326): info registers rsi
    rsi 0x31 49
    is this possible? What is the command?

    Thanks!
    Luke
    Try

    set $rsi = 0

    (xInspect 2,1326):set $rsi 48
    A syntax error in expression, near `48'.

    (xInspect 2,1326):set $rsi 0x30
    A syntax error in expression, near `0x30'.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Randall@21:1/5 to lukef on Thu Feb 3 11:17:14 2022
    On Thursday, February 3, 2022 at 11:25:21 a.m. UTC-5, lukef wrote:
    On Thursday, February 3, 2022 at 4:12:52 PM UTC, red floyd wrote:
    On 2/3/2022 7:16 AM, lukef wrote:
    Hello,
    In inspect I could modify a register, e.g.:
    m reg ra = 0
    In xinspect i wish to modify the contents of this register:
    (xInspect 2,1326): info registers rsi
    rsi 0x31 49
    is this possible? What is the command?

    Thanks!
    Luke
    Try

    set $rsi = 0
    (xInspect 2,1326):set $rsi 48
    A syntax error in expression, near `48'.

    (xInspect 2,1326):set $rsi 0x30
    A syntax error in expression, near `0x30'.

    Missing the '='

    (xInspect 2,921):set $rsi=72
    (xInspect 2,921):

    Works for me on J06.21

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From red floyd@21:1/5 to lukef on Thu Feb 3 14:27:42 2022
    On 2/3/2022 8:25 AM, lukef wrote:
    On Thursday, February 3, 2022 at 4:12:52 PM UTC, red floyd wrote:
    On 2/3/2022 7:16 AM, lukef wrote:
    Hello,
    In inspect I could modify a register, e.g.:
    m reg ra = 0
    In xinspect i wish to modify the contents of this register:
    (xInspect 2,1326): info registers rsi
    rsi 0x31 49
    is this possible? What is the command?

    Thanks!
    Luke
    Try

    set $rsi = 0

    (xInspect 2,1326):set $rsi 48
    A syntax error in expression, near `48'.

    (xInspect 2,1326):set $rsi 0x30
    A syntax error in expression, near `0x30'.

    As Randall said, you're missing the equals sign.

    set $rsi = 0

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From sid fitzgerald@21:1/5 to red floyd on Fri Feb 4 01:50:14 2022
    On Thursday, February 3, 2022 at 10:27:45 PM UTC, red floyd wrote:
    On 2/3/2022 8:25 AM, lukef wrote:
    On Thursday, February 3, 2022 at 4:12:52 PM UTC, red floyd wrote:
    On 2/3/2022 7:16 AM, lukef wrote:
    Hello,
    In inspect I could modify a register, e.g.:
    m reg ra = 0
    In xinspect i wish to modify the contents of this register:
    (xInspect 2,1326): info registers rsi
    rsi 0x31 49
    is this possible? What is the command?

    Thanks!
    Luke
    Try

    set $rsi = 0

    (xInspect 2,1326):set $rsi 48
    A syntax error in expression, near `48'.

    (xInspect 2,1326):set $rsi 0x30
    A syntax error in expression, near `0x30'.
    As Randall said, you're missing the equals sign.

    set $rsi = 0

    ah!! got it thanks!! couldnt see for lookimg...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)