From 44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4 Mon Sep 17 00:00:00 2001 From: fche Date: Thu, 24 Nov 2005 22:45:52 +0000 Subject: 2005-11-24 Frank Ch. Eigler PR 1903 * parse.cxx (eval_pp_conditional): Support %( arch == "i686" %) form. * stap.1.in: Document it. * testsuite/parseok/fourteen.stp: Test it. * session.h (architecture): New field. * main.cxx (main): Initialize it. --- main.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'main.cxx') diff --git a/main.cxx b/main.cxx index cd641588..1ecefa2e 100644 --- a/main.cxx +++ b/main.cxx @@ -118,6 +118,7 @@ main (int argc, char * const argv []) struct utsname buf; (void) uname (& buf); s.kernel_release = string (buf.release); + s.architecture = string (buf.machine); s.verbose = false; s.test_mode = false; s.guru_mode = false; -- cgit