Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-04-05 Thread Philippe Mathieu-Daudé
On 21/3/25 18:31, Pierrick Bouvier wrote: On 3/21/25 04:46, Alex Bennée wrote: Pierrick Bouvier writes: On 3/19/25 11:22, Alex Bennée wrote: The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean target gdbstubs need to be b

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-04-04 Thread Pierrick Bouvier
On 3/23/25 08:41, Philippe Mathieu-Daudé wrote: On 21/3/25 18:31, Pierrick Bouvier wrote: Adding proper functions definition instead of macros, and eliminating ifdefs is not really boilerplate. In another thread Richard said for these cases we should use _Generic() more. I was thinking abo

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-22 Thread Philippe Mathieu-Daudé
On 20/3/25 21:16, Pierrick Bouvier wrote: On 3/20/25 12:52, Pierrick Bouvier wrote: On 3/19/25 11:22, Alex Bennée wrote: The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean target gdbstubs need to be built multiple times. Wh

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-22 Thread Pierrick Bouvier
On 3/20/25 12:52, Pierrick Bouvier wrote: On 3/19/25 11:22, Alex Bennée wrote: The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean target gdbstubs need to be built multiple times. While this series doesn't actually build each

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-21 Thread Alex Bennée
Pierrick Bouvier writes: > On 3/19/25 11:22, Alex Bennée wrote: >> The aim of this work is to get rid of the endian aware helpers in >> gdbstub/helpers.h which due to their use of tswap() mean target >> gdbstubs need to be built multiple times. While this series doesn't >> actually build each stu

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-21 Thread Pierrick Bouvier
On 3/21/25 06:02, Philippe Mathieu-Daudé wrote: On 20/3/25 21:16, Pierrick Bouvier wrote: On 3/20/25 12:52, Pierrick Bouvier wrote: On 3/19/25 11:22, Alex Bennée wrote: The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean ta

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-21 Thread Pierrick Bouvier
On 3/21/25 04:46, Alex Bennée wrote: Pierrick Bouvier writes: On 3/19/25 11:22, Alex Bennée wrote: The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean target gdbstubs need to be built multiple times. While this series does

Re: [PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-20 Thread Pierrick Bouvier
On 3/19/25 11:22, Alex Bennée wrote: The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean target gdbstubs need to be built multiple times. While this series doesn't actually build each stub once it introduces a new helper - gdb

[PATCH 00/10] gdbstub: conversion to runtime endianess helpers

2025-03-19 Thread Alex Bennée
The aim of this work is to get rid of the endian aware helpers in gdbstub/helpers.h which due to their use of tswap() mean target gdbstubs need to be built multiple times. While this series doesn't actually build each stub once it introduces a new helper - gdb_get_register_value() which takes a Mem