why is sim_addr_range_hit_p tagged inline?

Mike Frysinger vapier@gentoo.org
Sat Nov 15 07:31:00 GMT 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/gdb/attachments/20141115/61fd5062/attachment.sig>


More information about the Gdb mailing list