gdb/dwarf: Introduce dwarf2_per_cu_int_type function
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 29 Nov 2019 00:13:19 +0000 (00:13 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 1 Dec 2019 22:31:31 +0000 (22:31 +0000)
commit11a8b1641e310f3d47173125b62ee2e2147e74f3
tree55ebaa50252419175df63f1db83f4174a31e1e90
parent5bbd8269fa8d138e8ea1dd3c8cdf42412c1dfa41
gdb/dwarf: Introduce dwarf2_per_cu_int_type function

This is a minor refactor in preparation for the next commit.  Splits
the core of dwarf2_per_cu_addr_sized_int_type out into a separate
function.  There should be no user visible changes after this commit.

gdb/ChangeLog:

* dwarf2read.c (dwarf2_per_cu_int_type): New function, takes most
of its implementation from...
(dwarf2_per_cu_addr_sized_int_type): ...here, which now just calls
the new function.

Change-Id: I8b849dd338012ec033b3f0a57d65cec0d7a3bd97
gdb/ChangeLog
gdb/dwarf2read.c