RE: error while using gdb

"Shardul Kumar" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <E971678290A1BA41BD96554DBA1211B67DAD9C@CHN-HCLT-EVS02.HCLT.CORP.HCL.IN>
Hi,

Following is the list of lib and executable file for snmp . How can I load all 

Symbols at a time so that I will get this error. If any solution is there please suggest.

 

 

Snmpd                     ---à executable

libnetsnmp.so.15.0.0

libnetsnmpmibs.so.15.0.0

libnetsnmpagent.so.15.0.0

libnetsnmphelpers.so.15.0.0

 

 

 

Thanks...

 

 

 

From: Bhaskararao vakamullu [mailto:[email protected]] 
Sent: Thursday, September 04, 2008 12:43 PM
To: Shardul Kumar; [email protected]
Subject: RE: error while using gdb

 

It means the gdb couldn't read any symbols that's why it displays ??.

The error seem to be in the executable where there will not be any

 code symbols loaded for this.

 

________________________________

From: [email protected] [mailto:[email protected]] On Behalf Of Shardul Kumar
Sent: Thursday, September 04, 2008 12:40 PM
To: [email protected]
Subject: error while using gdb

Hi,

While using gdb  I have set the break pt for the function and 

Going through line by line using next command after a certain line

I got the following error 

 

(gdb) n

0x2afec870 in ?? () from /usr/syrah/lib/libnetsnmpmibs.so.15

 

 

Could any one suggest me what this out put is ? After this line 

I am not able to print my previous symbol while printing  them

I am getting "no symbol in current contex" msg.  

 

 

(gdb)  print ptr_nodes

No symbol "ptr_nodes" in current context.

 

 

Thanks...

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

 

________________________________

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility forloss or damage arising from the use of the information transmitted by this email including damage from virus."

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.