RE: net-snmp debug problem
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC08DB23BD@mailserver.metatv-ds.metatv.com> |
> From: [email protected] > [mailto:[email protected]] On > Behalf Of xiao ren > Sent: Monday, July 07, 2008 4:21 AM > I'm using Eclipse3.2 + CDT 3.1 as IDE to develop snmp > application(under linux ubuntu 7.10), and ran into an error > when I debug the simple 'snmpdemoapp' program. While step to > 'snmp_open()' function, gdb always terminated and report: > > Warning: > Cannot insert breakpoint 0. > Error accessing memory address 0x801: Input/output error. > > Single stepping until exit from function _dl_debug_state, > which has no line number information ^^^^^^^^^^^^^^^^^^^^^^^^^^ |||||||||||||||||||||||||| This implies that you built net-snmp without debuggiung information, then built your application against it with debugging information. Could this be the case? HTH, Mike ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ 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