From 7df766d3ba105776539b73c7a104df53a741bd4d Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 17 Jan 2006 18:44:45 +0000 Subject: [PATCH] LTTV 0.8.5 git-svn-id: http://ltt.polymtl.ca/svn@1476 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/doc/user/user_guide/html/Makefile | 2 +- ltt/branches/poly/doc/user/user_guide/html/Makefile.am | 2 +- ltt/branches/poly/facilities/Makefile.am | 2 ++ ltt/branches/poly/ltt/parser.c | 7 +++++-- ltt/branches/poly/ltt/parser.h | 1 + 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 7f134a79..171331a4 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.4-10012006) +AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.5-17012006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt/branches/poly/doc/user/user_guide/html/Makefile b/ltt/branches/poly/doc/user/user_guide/html/Makefile index 76a62664..ee11415d 100644 --- a/ltt/branches/poly/doc/user/user_guide/html/Makefile +++ b/ltt/branches/poly/doc/user/user_guide/html/Makefile @@ -104,7 +104,7 @@ SET_MAKE = SHELL = /bin/sh STRIP = strip UTIL_LIBS = -lutil -VERSION = 0.8.4-10012006 +VERSION = 0.8.5-17012006 ac_ct_AR = ar ac_ct_CC = gcc ac_ct_CXX = g++ diff --git a/ltt/branches/poly/doc/user/user_guide/html/Makefile.am b/ltt/branches/poly/doc/user/user_guide/html/Makefile.am index 13e14336..f7ae2391 100644 --- a/ltt/branches/poly/doc/user/user_guide/html/Makefile.am +++ b/ltt/branches/poly/doc/user/user_guide/html/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = c159.html c162.html c20.html c25.html c88.html c91.html index.html lttv-color-list.png lttv-numbered-5.png x127.html x130.html x169.html x172.html x46.html x54.html x61.html x64.html x78.html x81.html +EXTRA_DIST = lttv-color-list.png lttv-numbered-5.png c115.html c20.html c25.html c42.html index.html x125.html x32.html x81.html diff --git a/ltt/branches/poly/facilities/Makefile.am b/ltt/branches/poly/facilities/Makefile.am index 3a878f1d..6e22d790 100644 --- a/ltt/branches/poly/facilities/Makefile.am +++ b/ltt/branches/poly/facilities/Makefile.am @@ -5,6 +5,7 @@ fs.xml \ ipc.xml \ kernel.xml \ kernel_arch_i386.xml \ +stack_arch_i386.xml \ memory.xml \ network.xml \ process.xml \ @@ -18,6 +19,7 @@ fs.xml \ ipc.xml \ kernel.xml \ kernel_arch_i386.xml \ +stack_arch_i386.xml \ memory.xml \ network.xml \ process.xml \ diff --git a/ltt/branches/poly/ltt/parser.c b/ltt/branches/poly/ltt/parser.c index 6dbf402d..ffe6b487 100644 --- a/ltt/branches/poly/ltt/parser.c +++ b/ltt/branches/poly/ltt/parser.c @@ -182,6 +182,7 @@ void getTypeAttributes(parse_file_t *in, type_descriptor_t *t, t->fmt = NULL; t->size = 0; + t->custom_write = 0; while(1) { token = getToken(in); @@ -202,6 +203,8 @@ void getTypeAttributes(parse_file_t *in, type_descriptor_t *t, } else if(!strcmp("size",token)) { getEqual(in); t->size = getSize(in); + } else if(!strcmp("custom_write", token)) { + t->custom_write = 1; } } } @@ -680,8 +683,8 @@ type_descriptor_t *parseType(parse_file_t *in, type_descriptor_t *inType, else if(strcmp(token,"sequence") == 0) { t->type = SEQUENCE; sequence_init(&(t->fields)); - //getTypeAttributes(in, t, unnamed_types, named_types); - //getForwardslash(in); + getTypeAttributes(in, t, unnamed_types, named_types); + getForwardslash(in); getRAnglebracket(in); // //getLAnglebracket(in); // diff --git a/ltt/branches/poly/ltt/parser.h b/ltt/branches/poly/ltt/parser.h index 4215f286..5a4c5b02 100644 --- a/ltt/branches/poly/ltt/parser.h +++ b/ltt/branches/poly/ltt/parser.h @@ -111,6 +111,7 @@ typedef struct _type_descriptor { sequence_t labels_description; int already_printed; sequence_t fields; // for structure, array and sequence (field_t type) + int custom_write; /* Should we use a custom write function ? */ } type_descriptor_t; -- 2.34.1