aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-file.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-11-19 08:02:38 -0700
committerTom Tromey <tromey@adacore.com>2022-03-28 13:07:42 -0600
commit394d8c59ea961e1dcf89ec6c8b6d6606b361590a (patch)
tree771df40888b2cb17f465518236664007415378b2 /gdb/ui-file.c
parent797662d7ef6705f9c300cb3e9a78f17f0f2aedad (diff)
downloadbinutils-394d8c59ea961e1dcf89ec6c8b6d6606b361590a.zip
binutils-394d8c59ea961e1dcf89ec6c8b6d6606b361590a.tar.gz
binutils-394d8c59ea961e1dcf89ec6c8b6d6606b361590a.tar.bz2
Constify chain_candidate
While investigating this bug, I wasn't sure if chain_candidate might update 'chain'. I changed it to accept a const reference, making it clear that it cannot. This simplifies the code a tiny bit as well.
Diffstat (limited to 'gdb/ui-file.c')
0 files changed, 0 insertions, 0 deletions