]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/objfiles.h
Make psymtab range adapter a method on objfile
authorTom Tromey <tom@tromey.com>
Wed, 16 Jan 2019 13:37:15 +0000 (06:37 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 17 Jan 2019 22:42:05 +0000 (15:42 -0700)
commitf252c6d5dc49cb27838e153e863f16ea7895859e
tree4b84a64f29b3e1318eead66fc233483a04a931a5
parentb669c95337903d39aa2254e8ea0405c0ac117d24
Make psymtab range adapter a method on objfile

This removes the objfile_psymtabs class in favor of a method on
objfile and on psymtab_storage.

2019-01-16  Tom Tromey  <tom@tromey.com>

* objfiles.h (struct objfile) <psymtabs>: New method.
(class objfile_psymtabs): Remove.
* psymtab.h (class psymtab_storage) <partial_symtab_range>: New
typedef.
<range>: New method.
(require_partial_symbols): Change return type.
* psymtab.c (require_partial_symbols)
(psym_expand_symtabs_matching): Update.
* mdebugread.c (parse_partial_symbols): Update.
* dbxread.c (dbx_end_psymtab): Update.
gdb/ChangeLog
gdb/dbxread.c
gdb/mdebugread.c
gdb/objfiles.h
gdb/psymtab.c
gdb/psymtab.h