01-31-2006
I know that -s will "break" the symbol table. My compile options are exactly what you have suggested. I think that there is a problem because of the hppa arch and or gcc related. So it would be nice if someone who is using gcc 32bit and hppa could try it.
10 More Discussions You Might Find Interesting
1. Programming
hi ,
How to view the contents of a "c" program symbol table information in unix. (1 Reply)
Discussion started by: saravanan_nitt
1 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. Shell Programming and Scripting
Hi
I am having three oracle databases running in three different machine. their ip address is different. from one of the DB am able to access both the databases.(means am able to select values and insert values in to tables individually.)
I need to fetch some data from DB1 table(say DB1 ip is... (2 Replies)
Discussion started by: aemunathan
2 Replies
6. Solaris
deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I'm working with putty on Windows 7 professional and I'd like to know if there's a way to gather specific lines from a pre-existing table and make a new table with that information.
More specifically, I'd like the program to look at a specific column, say column N, and see if any of the... (5 Replies)
Discussion started by: Deedee393
5 Replies
8. Shell Programming and Scripting
I am new to this shell scripting....
I have a file which contains list of users. This files get updated when new user comes into the system.
I want to create script which will give a table containing unique list of users. When I say unique, it means script should match table while parsing... (3 Replies)
Discussion started by: dchavan1901
3 Replies
9. Web Development
Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer:
<script>
$(function(){
$('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
10. 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
DBSYM(8) BSD System Manager's Manual DBSYM(8)
NAME
dbsym -- copy kernel symbol table into db_symtab space
SYNOPSIS
dbsym [-v] [-b bfdname] kernel
DESCRIPTION
dbsym is used to copy the symbol table in a newly linked kernel into the db_symtab array (in the data section) so that the ddb(4) kernel
debugger can find the symbols. This program is only used on systems for which the boot program does not load the symbol table into memory
with the kernel. The space for these symbols is reserved in the data segment using a config option like:
options SYMTAB_SPACE=72000
The size of the db_symtab array (the value of SYMTAB_SPACE) must be at least as large as the kernel symbol table. If insufficient space is
reserved, dbsym will refuse to copy the symbol table.
To recognize kernel executable format, the -b flag specifies BFD name of kernel.
If the -v flag is given, dbsym will print out status information as it is copying the symbol table.
Note that debugging symbols are not useful to the ddb(4) kernel debugger, so to minimize the size of the kernel, one should either compile
the kernel without debugging symbols (no -g flag) or use the strip(1) command to strip debugging symbols from the kernel before dbsym is used
to copy the symbol table. The command
strip -d netbsd
will strip out debugging symbols.
SEE ALSO
strip(1), ddb(4)
BSD
November 9, 2001 BSD