[PATCH 1/1] get page size using sysconf (_SC_PAGESIZE) instead of PAGE_SIZE
Pedro Alves
pedro@palves.net
Mon May 2 16:46:49 GMT 2022
On 2022-04-30 14:33, Andreas Schwab wrote:
> On Apr 30 2022, Zied Guermazi wrote:
>
>> PAGE_SIZE for target system was not defined, in other cases PAGE_SIZE of
>> the host system was used etc... :).
>
> This file is only used in a native configuration.
>
Zied, when you said:
"the issue was first observed when activating this code while compiling on an x86 for an arm target."
are you talking about:
--build=x86_64-linux --host=aarch64-linux
or:
--host=x86_64-linux --target=aarch64-linux
?
I agree with Andreas -- linux-btrace.c is only included in the build on x86 hosts, so why are you seeing
this? Did you tweak gdb/configure.nat to include linux-btrace.c in other configurations? Or gdb/configure.tgt?
What exactly did you do?
More information about the Gdb-patches
mailing list