Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-23 Thread Alex Bennée
Alex Bennée writes: > Akihiko Odaki writes: >>> What about if I just key based of gdb_regnum and we accept that that >>> might break the one heterogeneous system we model today? >>> >> >> That's the best option in my opinion. gdbstub won't work well with >> such a system anyway, and fixing it

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-23 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/02/23 2:27, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/22 19:20, Alex Bennée wrote: Akihiko Odaki writes: > On 2024/02/21 23:14, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/21 19:02, Alex Bennée wro

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-23 Thread Akihiko Odaki
On 2024/02/23 2:27, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/22 19:20, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/21 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/21 19:02, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/20 23:14, Alex Bennée wr

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-22 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/02/22 19:20, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/21 23:14, Alex Bennée wrote: Akihiko Odaki writes: > On 2024/02/21 19:02, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/20 23:14, Alex Bennée wr

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-22 Thread Akihiko Odaki
On 2024/02/22 19:20, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/21 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/21 19:02, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/20 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/17 1:30, Alex Bennée wr

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-22 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/02/21 23:14, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/21 19:02, Alex Bennée wrote: Akihiko Odaki writes: > On 2024/02/20 23:14, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/17 1:30, Alex Bennée wro

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-21 Thread Akihiko Odaki
On 2024/02/21 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/21 19:02, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/20 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/17 1:30, Alex Bennée wrote: We can only request a list of registers once the vCPU has be

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-21 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/02/20 23:14, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/17 1:30, Alex Bennée wrote: We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initiali

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-21 Thread Akihiko Odaki
On 2024/02/21 19:02, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/20 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/17 1:30, Alex Bennée wrote: We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get functi

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-21 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/02/21 19:02, Alex Bennée wrote: >> Akihiko Odaki writes: >> >>> On 2024/02/20 23:14, Alex Bennée wrote: Akihiko Odaki writes: > On 2024/02/17 1:30, Alex Bennée wrote: >> We can only request a list of registers once the vCPU has been >> init

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-20 Thread Akihiko Odaki
On 2024/02/20 23:14, Alex Bennée wrote: Akihiko Odaki writes: On 2024/02/17 1:30, Alex Bennée wrote: We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initialisation or during the translation phase. We don'

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-20 Thread Alex Bennée
Akihiko Odaki writes: > On 2024/02/17 1:30, Alex Bennée wrote: >> We can only request a list of registers once the vCPU has been >> initialised so the user needs to use either call the get function on >> vCPU initialisation or during the translation phase. >> We don't expose the reg number to the

Re: [PATCH 18/23] plugins: add an API to read registers

2024-02-17 Thread Akihiko Odaki
On 2024/02/17 1:30, Alex Bennée wrote: We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initialisation or during the translation phase. We don't expose the reg number to the plugin instead hiding it behind an

[PATCH 18/23] plugins: add an API to read registers

2024-02-16 Thread Alex Bennée
We can only request a list of registers once the vCPU has been initialised so the user needs to use either call the get function on vCPU initialisation or during the translation phase. We don't expose the reg number to the plugin instead hiding it behind an opaque handle. This allows for a bit of