aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/macro.h
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-09-23 05:54:19 +0200
committerKamil Rytarowski <n54@gmx.com>2020-10-02 00:44:47 +0200
commit6ff330351e7741774c4b7ac1214cf7d73c7eac4d (patch)
treefb5dd884a9a72643c1a70946b7447c0102407d51 /gdb/dwarf2/macro.h
parent8b667faedf6012048f1f6e71785b1ac1412b8a9c (diff)
downloadbinutils-6ff330351e7741774c4b7ac1214cf7d73c7eac4d.zip
binutils-6ff330351e7741774c4b7ac1214cf7d73c7eac4d.tar.gz
binutils-6ff330351e7741774c4b7ac1214cf7d73c7eac4d.tar.bz2
Remove the old sanity check of sigcontext offsets for NetBSD/i386
NetBSD switched to ucontext, back in 2003 and the sigcontext code is no longer available for users, except for legacy compat layers. This code was not available anyway as the pre-processor check was probably never operational and buildable on NetBSD. The code inside it does not compile. Meanwhile, move the offset variable into the ifdef goards and avoid the error about unused variable. ../../gdb/i386-bsd-nat.c: In function 'void _initialize_i386bsd_nat()': ../../gdb/i386-bsd-nat.c:347:7: error: unused variable 'offset' [-Werror=unused-variable] 347 | int offset; | ^~~~~~ cc1plus: all warnings being treated as errors gdb/ChangeLog: * i386-bsd-nat.c (_initialize_i386bsd_nat): Update. * i386-nbsd-tdep.c (i386nbsd_sc_reg_offset): Now static.
Diffstat (limited to 'gdb/dwarf2/macro.h')
0 files changed, 0 insertions, 0 deletions