]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Use type allocator for range types
authorTom Tromey <tom@tromey.com>
Mon, 13 Mar 2023 18:53:48 +0000 (12:53 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 18 Mar 2023 17:12:38 +0000 (11:12 -0600)
commite727c536c6e7334484b8dcbf369fe425bd5b892a
treee3a36d9571d8b5f0173d0c5c02c3712371ae00e0
parent9c794d2d46f0605ee033107418aac2ca20f659f8
Use type allocator for range types

This changes the range type creation functions to accept a type
allocator, and updates all the callers.  Note that symbol readers
should generally allocate on the relevant objfile, regardless of the
underlying type of the range, which is what this patch implements.

Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
gdb/ada-lang.c
gdb/coffread.c
gdb/ctfread.c
gdb/dwarf2/read.c
gdb/f-exp.y
gdb/f-lang.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/mdebugread.c
gdb/stabsread.c
gdb/valops.c