This is the mail archive of the gdb@sourceware.org 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: why is sim_addr_range_hit_p tagged inline?


On 14 Nov 2014 15:16, DJ Delorie wrote:
> > Unless HAVE_INLINE is defined.
> 
> Ah, ick.  I noticed this because I had a report from a Mac user that
> they were getting "multiply defined symbols" for that function.

the sim code base heavily inlines things for the sake of speed.  but i'm not 
sure what kind of perf difference it makes nowadays on modern systems.  would be 
worth seeing if we could just drop it all ...
-mike

Attachment: signature.asc
Description: Digital signature


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