aboutsummaryrefslogtreecommitdiff
path: root/zlib/example.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-08 13:40:54 -0700
committerTom Tromey <tom@tromey.com>2020-02-08 13:43:24 -0700
commit135f543748f651938774666649bb0365018d62da (patch)
tree578df1b5141f7b987be1ae8ae6c52dead59690df /zlib/example.c
parent9f66ff1c8cd8f5512d49813abe48ddb9141474bf (diff)
downloadgdb-135f543748f651938774666649bb0365018d62da.zip
gdb-135f543748f651938774666649bb0365018d62da.tar.gz
gdb-135f543748f651938774666649bb0365018d62da.tar.bz2
Simplify "want_partial_unit" handling
This changes the "want_partial_unit" parameters to have type bool, and also removes the parameter from process_psymtab_comp_unit_reader. This latter change seemed like an improvement, because it avoids a pointless function call in the case where we are not planning to read a partial unit. 2020-02-08 Tom Tromey <tom@tromey.com> * dwarf2/read.c (process_psymtab_comp_unit_reader): Remove "want_partial_unit" parameter. (process_psymtab_comp_unit): Change want_partial_unit to bool. Inline check for DW_TAG_partial_unit. (dwarf2_build_psymtabs_hard, scan_partial_symbols): Update. Change-Id: I99e647f0c4faa3346e90a6e7bacc82af57eccff1
Diffstat (limited to 'zlib/example.c')
0 files changed, 0 insertions, 0 deletions