02-13-2008
how to view symbol table in unix
hi ,
How to view the contents of a "c" program symbol table information in unix.
8 More Discussions You Might Find Interesting
1. Programming
Hi@all,
I try to compile c code on hpux 11.11 pa-risc 2 with gcc (32bit). I compile with the option -g, so that I get the symbol table, but it is not available. Does someone knows something on this?
thx (2 Replies)
Discussion started by: Dom_Cyrus
2 Replies
2. Linux
Folks,
I have some program(Test.cpp) as follows,
#include<iostream>
class Abc
{
private:
int _theVar;
public :
int printVar();
};
int Abc :: printVar()
{
_theVar=10;
}
main()
{
Abc _t; (0 Replies)
Discussion started by: vinod_chitrali
0 Replies
3. Programming
Folks,
I have some program(Test.cpp) as follows,
#include<iostream>
class Abc
{
private:
int _theVar;
public :
int printVar();
};
int Abc :: printVar()
{
_theVar=10;
}
main()
{
Abc _t; (2 Replies)
Discussion started by: vinod_chitrali
2 Replies
4. Programming
Hi,
is there any command to see symbol table info.
will it show where its allocating memory for varibales golbals & locals and code.(i mean the segments).
i read there is a section called read only data segment and this is where initialized data such as strings stores.
i have wriiten the... (7 Replies)
Discussion started by: MrUser
7 Replies
5. Solaris
deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
6. Shell Programming and Scripting
Hi
I am new to Unix shell scripting. But i need help to slove the below issue.
Issue description:
I want to read table, view names and package names in a file
my plan to find the table name is : search "From" key word find the table or view
To find the packge name : Search "Package... (5 Replies)
Discussion started by: sboss
5 Replies
7. Shell Programming and Scripting
If I select the statement on db is ok, but same statement on UNIX script I get
table or view is not exist. what should I do?:( (5 Replies)
Discussion started by: Hscript
5 Replies
8. Programming
Hi,
I am a newbie in Linux land, and I have a question about programming parent/child process interaction:
How do I search the value of a symbol in the child process? Is it possible?
I am doing a fork() and execve() to spawn any child possible, and I need something on the parent side to... (12 Replies)
Discussion started by: alphakili
12 Replies
LEARN ABOUT OSF1
uildumpsymboltable
UilDumpSymbolTable(3X) UilDumpSymbolTable(3X)
NAME
UilDumpSymbolTable - Dumps the contents of a named UIL symbol table to standard output
SYNOPSIS
#include <uil/UilDef.h>
void UilDumpSymbolTable (root_ptr)
sym_entry_type *root_ptr;
DESCRIPTION
The UilDumpSymbolTable function dumps the contents of a UIL symbol table pointer to standard output. Specifies a pointer to the symbol ta-
ble root entry. This value can be taken from the parse_tree_root part of the Uil_compile_desc_type data structure returned by Uil.
By following the link from the root entry, you can traverse the entire parse tree. Symbol table entries are in the following format:
hex.address symbol.type symbol.data prev.source.position source.position modification.record
where: Specifies the hexadecimal address of this entry in the symbol table. Specifies the type of this symbol table entry. Some possible
types are root, module, value, procedure, and widget. Specifies data for the symbol table entry. The data varies with the type of the
entry. Often it contains pointers to other symbol table entries, or the actual data for the data type. Specifies the end point in the
source code for the previous source item. Specifies the range of positions in the source code for this symbol.
The exact data structures for each symbol type are defined in the include file <UilSymDef.h>. Note that this file is automatically included
when an application includes the file <UilDef.h>.
SEE ALSO
Uil(3X)
UilDumpSymbolTable(3X)