summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-11-24 22:45:52 +0000
committerfche <fche>2005-11-24 22:45:52 +0000
commit44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4 (patch)
tree27bc17286b34736e821dc7221a5dd11969ef87c0 /main.cxx
parentded98b334e86a6f6aed6a30a20b67aecc0ae1bf4 (diff)
downloadsystemtap-steved-44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4.tar.gz
systemtap-steved-44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4.tar.xz
systemtap-steved-44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4.zip
2005-11-24 Frank Ch. Eigler <fche@redhat.com>
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.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx1
1 files changed, 1 insertions, 0 deletions
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;