|
From: Alan S. <new...@gm...> - 2007-05-15 04:03:40
|
When does the Valgrind can run based on ARM platform. For embedded system development, memory check is a important problem. So I hope the Valgrind can run on under the ARM develop environment. As we know, lots of physical memory will be used while Valgrind running, Does anyone can design a solution to solve this problem? Maybe this is a difficult point for Valgrind run on the ARM. 2007/5/14, val...@li... < val...@li...>: > > Send Valgrind-users mailing list submissions to > val...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/valgrind-users > or, via email, send a message with subject or body 'help' to > val...@li... > > You can reach the person managing the list at > val...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Valgrind-users digest..." > > > Today's Topics: > > 1. "object doesn't have a symbol table" = no -g ? (darrik mazey) > 2. how to make a new tool with makefile (dehe liu) > 3. Re: how to make a new tool with makefile (Nicholas Nethercote) > 4. Re: "object doesn't have a symbol table" = no -g ? > (Igmar Palsenberg) > 5. When I test ls using valgrind, Why are 2 infors(malloc/free) > mistaken? ( ??? ) > 6. When I test ls, Why are 2 infors(malloc/free) mistaken? (with > text format) ( ??? ) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 11 May 2007 16:43:12 -0400 > From: darrik mazey <da...@my...> > Subject: [Valgrind-users] "object doesn't have a symbol table" = no -g > ? > To: val...@li... > Message-ID: <464...@my...> > Content-Type: text/plain; charset=ISO-8859-1 > > > Hi. My name is Darrik Mazey. I'm new to valgrind, and whilst trying to > track down a memory leak (running valgrind --tool=memcheck > --leak-check=full), I get a lot of lines reading "object doesn't have a > symbol table" referencing a shared library. Does this indicate that the > library was compiled without g++'s -g option? > > Thanks in advance. > > ~Darrik Mazey > > > > > ------------------------------ > > Message: 2 > Date: Sat, 12 May 2007 23:36:49 +0800 > From: "dehe liu" <deh...@gm...> > Subject: [Valgrind-users] how to make a new tool with makefile > To: val...@li... > Message-ID: > <d58...@ma...> > Content-Type: text/plain; charset="iso-8859-1" > > I am developping a new tool in the valgrind.but I have some problems in > making makefile. > > first, I do as the Valgrind manual described: > > > 1. Choose a name for the tool, and an abbreviation that can be used as a > short prefix. We'll use foobar and fb as > an example. > 2. Make a new directory foobar/ which will hold the tool. > 3. Copy none/Makefile.am into foobar/. Edit it by replacing all > occurrences > of the string "none" with > "foobar" and the one occurrence of the string "nl_" with "fb_". > 4. Copy none/nl_main.c into foobar/, renaming it as fb_main.c. Edit it by > changing the lines in > pre_clo_init() to something appropriate for the tool. These fields are > used in the startup message, except > for bug_reports_to which is used if a tool assertion fails. > 5. Edit Makefile.am <http://makefile.am/>, adding the new directory > foobar > to the SUBDIRS variable. > 6. Edit configure.in, adding foobar/Makefile to the AC_OUTPUT list. > 7. Run: > autogen.sh > ./configure --prefix='pwd'/inst > make install > It should automake, configure and compile without errors, putting > copies > of the tool in foobar/ and > inst/lib/valgrind/. > > > *QUESTIONS_0:* > *When autogen.sh,it says: can not find file,why?* > *and I do as follow:* > * # aclocal > # autoheader > # automake -a > # autoconf > # ./configure --prefix=$pwd/inst > # make install* > *But after #aclocal, it says: * > ** > /usr/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition > of > XML_I18N_TOOLS_NEWER_THAN_0_9 > run info '(automake)Extending aclocal' > or see http://sources.redhat.com/automake/automake.html#Extending-aclocal > /usr/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition > of > AC_PROG_XML_I18N_TOOLS > /usr/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition > of > X18T_PFORG1 > /usr/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition > of > X18T_XML_KIND > /usr/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition > of > X18T_KEYS_KIND > /usr/share/aclocal/xml-i18n-tools.m4 :135: warning: underquoted definition > of AM_PROG_XML_I18N_TOOLS > /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of > XIPH_PATH_VORBIS > /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of > PKG_CHECK_MODULES > /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of > XIPH_PATH_OGG > /usr/share/aclocal/libxml.m4:10: warning: underquoted definition of > AM_PATH_XML > /usr/share/aclocal/libxml.m4:205: warning: underquoted definition of > AM_PATH_XML2 > /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of > AM_PATH_LIBMIKMOD > /usr/share/aclocal/intltool.m4:27: warning: underquoted definition of > AC_PROG_INTLTOOL > ' is already registered with AC_CONFIG_FILES. > autoconf/status.m4:848: AC_CONFIG_FILES is expanded from... > configure.in:984: the top level > autom4te: /usr/bin/m4 failed with exit status: 1 > aclocal: autom4te failed with exit status: 1 > *QUESTIONS_1:* > *why the aclocal failed ?* > *Thanks.* > ** > *dehe* > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 3 > Date: Sun, 13 May 2007 09:45:44 +1000 (EST) > From: Nicholas Nethercote <nj...@cs...> > Subject: Re: [Valgrind-users] how to make a new tool with makefile > To: dehe liu <deh...@gm...> > Cc: val...@li... > Message-ID: > <Pin...@mu...> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > On Sat, 12 May 2007, dehe liu wrote: > > > I am developping a new tool in the valgrind.but I have some problems in > > making makefile. > > It might be because you don't have an up-to-date enough version of the > autotools. I have aclocal 1.9.5, it works fine. > > Make sure you're using the docs from the repository rather than the ones > on > the website, which are a bit out of date. The writing-a-tool section has > moved, it's at docs/xml/manual-writing-tools.xml. > > Nick > > > > ------------------------------ > > Message: 4 > Date: Mon, 14 May 2007 11:54:33 +0200 (CEST) > From: Igmar Palsenberg <mai...@jd...> > Subject: Re: [Valgrind-users] "object doesn't have a symbol table" = > no -g ? > To: darrik mazey <da...@my...> > Cc: val...@li... > Message-ID: <Pin...@jd...> > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > > Hi, > > > Hi. My name is Darrik Mazey. I'm new to valgrind, and whilst trying to > > track down a memory leak (running valgrind --tool=memcheck > > --leak-check=full), I get a lot of lines reading "object doesn't have a > > symbol table" referencing a shared library. Does this indicate that the > > library was compiled without g++'s -g option? > > Yes. It't usually the package manager which strips binaries and > executables. Some platforms have special debiug packages, which installs > files that contain the symbol table. > > > Regards, > > Igmar > > > > > ------------------------------ > > Message: 5 > Date: Mon, 14 May 2007 23:28:27 +0900 (KST) > From: " ??? " <in...@ha...> > Subject: [Valgrind-users] When I test ls using valgrind, Why are 2 > infors(malloc/free) mistaken? > To: <val...@li...> > Message-ID: > <200...@in...> > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 6 > Date: Mon, 14 May 2007 23:55:02 +0900 (KST) > From: " ??? " <in...@ha...> > Subject: [Valgrind-users] When I test ls, Why are 2 > infors(malloc/free) mistaken? (with text format) > To: <val...@li...> > Message-ID: > <200...@in...> > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > ------------------------------ > > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > End of Valgrind-users Digest, Vol 12, Issue 5 > ********************************************* > |
|
From: Dallman, J. <jg...@ug...> - 2007-05-15 16:18:11
|
> From: val...@li...=20 > [mailto:val...@li...]=20 > On Behalf Of Alan Sun > When does the Valgrind can run based on ARM platform. See: http://www.valgrind.org/info/platforms.html =20 Porting Valgrind to a new platform is much harder than=20 for a typical piece of open source software, because=20 Valgrind has to understand the target instruction set=20 in great detail. Currently, it only knows x86, and the ARM instruction set is very different.=20 -- John Dallman |
|
From: Dallman, J. <jg...@ug...> - 2007-05-15 16:23:51
|
> From: val...@li...=20 > [mailto:val...@li...] On=20 > Behalf Of Dallman, John > Currently, it only knows x86 Sorry, x86 *family*, including the 64-bit variants. --=20 John Dallman |
|
From: Robert W. <rj...@du...> - 2007-05-15 16:37:58
|
Dallman, John wrote: >> From: val...@li... >> [mailto:val...@li...] On >> Behalf Of Dallman, John > >> Currently, it only knows x86 > > Sorry, x86 *family*, including the 64-bit variants. Well, to be fair, it also knows PPC/PPC64, which means there's at least a case study of how to port to a different architecture. Regards, Robert. |