diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-05-27 11:14:09 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2020-05-27 11:19:40 -0400 |
commit | 8fc0b21da6d25e0a9fc565a94d2301c2365f2d3c (patch) | |
tree | 53305ff18d2d776b8b60ed3905a47ad6010e213c /gdb/objfiles.h | |
parent | 168c9250f292bf8d2db6dba374232e3655c10d94 (diff) | |
download | gdb-8fc0b21da6d25e0a9fc565a94d2301c2365f2d3c.zip gdb-8fc0b21da6d25e0a9fc565a94d2301c2365f2d3c.tar.gz gdb-8fc0b21da6d25e0a9fc565a94d2301c2365f2d3c.tar.bz2 |
Pass dwarf2_cu to process_full_{comp,type}_unit
These two functions work on a dwarf2_cu. It is currently obtained from
the per_cu->cu link, which we want to remove. Make them accept the
dwarf2_cu directly as a parameter. This moves the per_cu->cu references
one level up, but that one will be removed too in a subsequent patch.
gdb/ChangeLog:
* dwarf2/read.c (process_full_comp_unit,
process_full_type_unit): Remove per_cu, per_objfile paramters.
Add dwarf2_cu parameter.
(process_queue): Update.
Change-Id: I1027d36986073ac991e198e06f9d51341dc19c6e
Diffstat (limited to 'gdb/objfiles.h')
0 files changed, 0 insertions, 0 deletions