aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-20 17:23:40 -0600
committerTom Tromey <tom@tromey.com>2021-03-20 17:23:41 -0600
commitfae2120ba0a6fd9288af24b359bf0e3ab3556cdb (patch)
tree9e8a50fa40e5e62b17f49248df7a94e38467fb07 /gdb/objfiles.h
parenta8ad4f3c17727fe2c499a9a8f775ccfe877326ac (diff)
downloadfsf-binutils-gdb-fae2120ba0a6fd9288af24b359bf0e3ab3556cdb.zip
fsf-binutils-gdb-fae2120ba0a6fd9288af24b359bf0e3ab3556cdb.tar.gz
fsf-binutils-gdb-fae2120ba0a6fd9288af24b359bf0e3ab3556cdb.tar.bz2
Change objfile::has_partial_symbols to return bool
This changes objfile::has_partial_symbols and quick_symbol_functions::has_symbols to return bool. gdb/ChangeLog 2021-03-20 Tom Tromey <tom@tromey.com> * objfiles.h (struct objfile) <has_partial_symbols>: Return bool. * symfile.h (struct quick_symbol_functions) <has_symbols>: Return bool. * symfile-debug.c (debug_qf_has_symbols): Return bool. * psymtab.c (psym_has_symbols): Return bool. * objfiles.c (objfile::has_partial_symbols): Return bool. * dwarf2/read.c (dw2_has_symbols): Return bool.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 0568e16..f961bdc 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -550,7 +550,7 @@ public:
/* Return true if OBJFILE has partial symbols. */
- int has_partial_symbols ();
+ bool has_partial_symbols ();
/* The object file's original name as specified by the user,
made absolute, and tilde-expanded. However, it is not canonicalized