X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Stefano Cailotto" Newsgroups: comp.os.msdos.djgpp Subject: Re: Extracting info froma a symbol table Date: Mon, 11 Feb 2002 09:06:16 +0000 (UTC) Organization: Mailgate.ORG Server - http://www.Mailgate.ORG Lines: 29 Message-ID: <067f3006bf2df770e64f927d47238d37.68208@mygate.mailgate.org> References: NNTP-Posting-Host: 157.27.242.188 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.mailgate.org 1013407918 2718 157.27.242.188 (Mon Feb 11 10:06:16 2002) X-Complaints-To: abuse AT mailgate DOT org NNTP-Posting-Date: Mon, 11 Feb 2002 09:06:16 +0000 (UTC) Injector-Info: news.mailgate.org; posting-host=157.27.242.188; posting-account=68208; posting-date=1013407918 User-Agent: Mailgate Web Server X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/067f3006bf2df770e64f927d47238d37.68208%40mygate.mailgate.org To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Martin Stromberg" wrote in message news:a480r5$9pi$1 AT antares DOT lu DOT erisoft DOT se... > Stefano Cailotto (kai1074 AT inwind DOT it) wrote: > : Hi! > : I need to extract informations about variables (name, type, value) from > : a compiled c/c++ program's symbol table using GNU binutils..can you > : suggest something, > : please? > > "nm", "objdump"? > > > Right, > > MartinS I tried them, even with various switches, but I'd need to have a "clear" representation of variables,i.e. not only a series of memory address...Am I asking too much?What I mean is that, given a declaration like int c=3; I'd like to be able to reconstruct the same information starting from the compiled code. Thanx! -- Posted via Mailgate.ORG Server - http://www.Mailgate.ORG