On Mon, Feb 17, 2014 at 03:18:44AM -0500, Mike Frysinger wrote:
> On Monday, February 17, 2014 02:51:17 Dmitry V. Levin wrote:
[...]
> > > + echo "const struct xlat ${name}[] = {"
> > 
> > static?
> 
> i started with that, but not all xlat's are static like addrfams :(.  but i 
> didn't want to try extending the file format too much to support this as then 
> we'd have this giant ad-hoc mess.  any suggestions on any semi-existing 
> standards/structured file formats to use ?

No, your simple lists are better than any structured file formats.
We can differentiate global vs static using a name prefix.  For example,
in files whose names start with "global-" prefix, xlat structures could be
defined with global visibility, and all the rest - static.


-- 
ldv

Attachment: pgpZfT9pae0W0.pgp
Description: PGP signature

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to