aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-09-29 12:22:07 -0600
committerTom Tromey <tom@tromey.com>2024-10-19 13:18:00 -0600
commit03ace3807c891427019686f4137ad0257d63e138 (patch)
treeb8a21f4e659ab366269180f12e5fd84da9c91662 /gdb/source.h
parente686338105177046975bcff8fe6199536e80caf9 (diff)
downloadbinutils-03ace3807c891427019686f4137ad0257d63e138.zip
binutils-03ace3807c891427019686f4137ad0257d63e138.tar.gz
binutils-03ace3807c891427019686f4137ad0257d63e138.tar.bz2
Pass current directory to gdb_abspath
Currently, gdb_abspath uses the current_directory global. However, background threads need to capture this global to avoid races with the user using "cd". This patch changes this function to accept a cwd parameter, in prepration for this. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31716
Diffstat (limited to 'gdb/source.h')
0 files changed, 0 insertions, 0 deletions