gdb: add and use signatured_type_up
authorSimon Marchi <simon.marchi@polymtl.ca>
Mon, 31 May 2021 16:33:32 +0000 (12:33 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 31 May 2021 16:33:32 +0000 (12:33 -0400)
commit46c6bcf650644ae22941ccb49dfe5fbb6e185513
treefd293641520b7642c01154748c0b3112c88c12fd
parent4631503b28f63cfa66a363008d714a94c2c71e06
gdb: add and use signatured_type_up

Add an alias for std::unique_ptr<signatured_type> and use it where
possible.

gdb/ChangeLog:

* dwarf2/read.h (signatured_type_up): New, use where possible.

Change-Id: I5a41e8345551434c8beeb9f269b03bdcf27989be
gdb/ChangeLog
gdb/dwarf2/read.c
gdb/dwarf2/read.h