aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-03-13 09:01:08 -0600
committerTom Tromey <tom@tromey.com>2023-03-18 11:12:37 -0600
commit8a17bdd9ccc26a7a0a2a208a9b870512b2490324 (patch)
tree5eab413592f52690e4ed5fca4198c7d81d4b82d5 /gdb/coffread.c
parent9fa83a7ade66a3f0ba42aa71417c54e0ec18b6aa (diff)
downloadgdb-8a17bdd9ccc26a7a0a2a208a9b870512b2490324.zip
gdb-8a17bdd9ccc26a7a0a2a208a9b870512b2490324.tar.gz
gdb-8a17bdd9ccc26a7a0a2a208a9b870512b2490324.tar.bz2
Remove alloc_type
This removes alloc_type, replacing all uses with the new type allocator. Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index fe1ee50..1b0442a 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -354,7 +354,7 @@ coff_alloc_type (int index)
We will fill it in later if we find out how. */
if (type == NULL)
{
- type = alloc_type (coffread_objfile);
+ type = type_allocator (coffread_objfile).new_type ();
*type_addr = type;
}
return type;