]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove make_function_type
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 17 Dec 2025 15:54:59 +0000 (10:54 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 6 Jan 2026 19:59:15 +0000 (14:59 -0500)
commitcd37de5bdef0c6ffe2cfa71cfc44c5e308a3bc58
treed73185621cf4eae316e7dd2343666f3a1d5ea7d4
parentb3c7c6ad37a2a2e66ebe61939ed17ac574243c55
gdb: remove make_function_type

We now have make_function_type and lookup_function_type exposed by
gdbtypes.h, which do essentially the same thing.  Remove
make_function_type, inlining its code inside create_function_type.
Change all other callers of make_function_type to use
lookup_function_type instead.

Change-Id: Id7c25f02059efe5c0f15e8ab8a35ac1fa97d9d6a
Approved-By: Tom Tromey <tom@tromey.com>
gdb/avr-tdep.c
gdb/ft32-tdep.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/z80-tdep.c