This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][31/37] Eliminate builtin_type_ macros: Inferior call argument types
- From: Joel Brobecker <brobecker at adacore dot com>
- To: uweigand at de dot ibm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 5 Sep 2008 18:36:55 -0700
- Subject: Re: [rfc][31/37] Eliminate builtin_type_ macros: Inferior call argument types
- References: <20080831175045.128504000@de.ibm.com> <20080831175137.488326000@de.ibm.com>
> a number of places use builtin_type_ macros to build up argument lists
> for inferior function calls. However, they always use the routine
> find_function_in_inferior first to find the function to be called.
> This routine is able to determine the objfile that defines the function
> to be called -- and the per-objfile architecture of that file should
> be used to determine the default types for the inferior call.
Oh la la, I see now why Daniel used the term "contorsions".
Nothing much we can do about it, I guess, and a necessary thing
to do, but I thought I'd mention it.
--
Joel