aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-04-08 11:04:24 -0400
committerSimon Marchi <simon.marchi@efficios.com>2022-04-12 14:13:10 -0400
commitebd4e6d017f972cbba5d889310a09506bec4dbf4 (patch)
tree2e47ecb053ed664d330bc2b6a970436fbcdf284a /gdb/c-lang.c
parent71bc95ed2032567e2a7aebc3efe1c55a77abb7b2 (diff)
downloadgdb-ebd4e6d017f972cbba5d889310a09506bec4dbf4.zip
gdb-ebd4e6d017f972cbba5d889310a09506bec4dbf4.tar.gz
gdb-ebd4e6d017f972cbba5d889310a09506bec4dbf4.tar.bz2
gdb: change subfile::name and buildsym_compunit::m_comp_dir to strings
Change subfile::name to be a string, for easier memory management. Change buildsym_compunit::m_comp_dir as well, since we move one in to the other at some point in patch_subfile_names, so it's easier to do both at the same time. There are various NULL checks for both fields currently, replace them with empty checks, I think it ends up equivalent. I can't test the change in xcoffread.c, it's best-effort. Change-Id: I62b5fb08b2089e096768a090627ac7617e90a016
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions