aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-script.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>2024-02-02 20:40:25 -0300
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>2024-02-05 15:28:05 -0300
commit9c0aa4c53104b1c4333d55aeaf11b41053307929 (patch)
tree5142752b6d8183db0fc60920047def2a94d8e8b8 /gdb/cli/cli-script.c
parenta8b1650962b074fb8025399199f50abc65090670 (diff)
downloadbinutils-9c0aa4c53104b1c4333d55aeaf11b41053307929.zip
binutils-9c0aa4c53104b1c4333d55aeaf11b41053307929.tar.gz
binutils-9c0aa4c53104b1c4333d55aeaf11b41053307929.tar.bz2
Fix disabling of year 2038 support on 32-bit hosts by default
Commit e5f2f7d901ee ("Disable year 2038 support on 32-bit hosts by default") fixed a mismatch between 64-bit time_t in GDB and system headers and 32-bit time_t in BFD. However, since commit 862776f26a59 ("Finalized intl-update patches") gnulib's year 2038 support has been accidentally re-enabled — causing problems for 32-bit hosts again. The commit split baseargs into {h,b}baseargs, but this hasn't been done for the code that handles --disable-year2038. This patch restores the intended behaviour. With this change, the number of unexpected core files goes from 18 to 4. Tested on armv8l-linux-gnueabihf. Approved-By: Luis Machado <luis.machado@arm.com>
Diffstat (limited to 'gdb/cli/cli-script.c')
0 files changed, 0 insertions, 0 deletions