This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa/arm] Fix some structs.exp failures


> structs.exp uses "typedef float tf".  A structure type that would otherwise
> be returned by reference is returned by value, because GDB doesn't realize
> that it counts as a floating-point-like structure.
> 
> OK?
> 
> -- 
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer
> 
> 2004-03-02  Daniel Jacobowitz  <drow@mvista.com>
> 
> 	* arm-tdep.c (arm_use_struct_convention): Look through typedefs.

I think this is OK, but it's hard to be sure:  check_typedef is completely 
undocumented -- no mention in the internals documentation, and not even a 
comment in gdbtypes.[ch].

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]