diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-08-19 21:00:42 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-08-22 03:11:16 -0400 |
commit | fe7f0b013526b30ef657c5ad34a3c622a54499ac (patch) | |
tree | 58b8f1d0d4f56eb2cda60fbee2280e78860e5ec9 /gdb/regcache.c | |
parent | ca4f6fe4fbf9fa0e76fca57ccf4cd4df81dcb47a (diff) | |
download | gdb-fe7f0b013526b30ef657c5ad34a3c622a54499ac.zip gdb-fe7f0b013526b30ef657c5ad34a3c622a54499ac.tar.gz gdb-fe7f0b013526b30ef657c5ad34a3c622a54499ac.tar.bz2 |
sim: m32r: add __linux__ hack for non-Linux hosts
The m32r Linux syscall emulation logic assumes the host environment
directly matches -- it's being run on 32-bit little endian Linux.
This breaks building for non-Linux systems, so put all the code in
__linux__ ifdef checks. This code needs a lot of love to make it
work everywhere, but let's at least unbreak it for non-Linux hosts.
Diffstat (limited to 'gdb/regcache.c')
0 files changed, 0 insertions, 0 deletions