LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-12-2008, 05:41 AM   #1
sunilvadranapu
Member
 
Registered: May 2006
Posts: 64

Rep: Reputation: 15
when will we get GDB: function not found msg ?


Hi,
I am using GDB for debuging my c-program.
Code:
   tfd.fd = -1;
   tfd.events = POLLIN | POLLOUT;

   if ((tfd.fd = t_open("/dev/tcp", O_RDWR, NULL)) < 0)
   {
       t_error("t_open failed.");
       fprintf(stderr,"transfer aborted\n");
       return (3);
   }
   else
        printf("t_open called successfuylly:: %d", tfd.fd);
In GDB i set the break point at t_open, then i am getting the msg
Code:
(gdb) br t_open
Function "t_open" not defined.
Make breakpoint pending on future shared library load? (y or [n])
what does it mean?

These functions are defined in
Code:
[root@hyrlnx06 npath]# nm /usr/lib64/libxnet.so | grep t_open
00000034e3206760 T t_open@@XNET_1.0
00000034e3206480 T __xnet_t_open
00000034e3206760 T __xnet_t_open_r

can some one clear my doubt? thanks in advance.

-sun
 
Old 12-24-2008, 02:53 PM   #2
rashmikant
LQ Newbie
 
Registered: Dec 2008
Posts: 7

Rep: Reputation: 1
same problem..

hey..did u figure out what was your problem?
I am having the same problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to step through function in shared object library using gdb markhod Programming 2 01-03-2009 03:00 AM
Help !!! msg --> No mail program was found on your system superfly99 Linux - Server 2 10-23-2007 06:41 AM
gdb hangs on function call astropirhana Programming 2 09-29-2006 09:01 AM
understanding gdb output of a C function in disassembled form. koodoo Programming 7 04-12-2006 11:55 AM
gdb won't single step thru the function frankie_DJ Programming 2 10-06-2004 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration