This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: dl_debug.c???? Stopping on that code???
- From: Frank <fgeck at optonline dot net>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Thu, 31 Jul 2003 18:21:54 -0400
- Subject: Re: dl_debug.c???? Stopping on that code???
- Organization: Keyway Security
- References: <3F296550.131BA5C3@optonline.net><1059683348.1578.25.camel@lindt.uglyboxes.com>
Keith,
Yup left out break points on purpose. Yup I'm using threads. And when I
took out the code/lib's that deals with it works just fine.
I'm using -lpthread so I guess yes that is the Native posix thread lib(NPTL),
right?
Ok, I'll try and install gdb6.0. Humm, this should be fun, LOL
Thanks for all the help!!!!!
Frank
Keith Seitz wrote:
> On Thu, 2003-07-31 at 11:52, Frank wrote:
> > I tried it in native gdb, simular problems:
> > [fcg@kw4 parser]$ gdb parser_test
> > GNU gdb 5.3
> > This GDB was configured as "i686-pc-linux-gnu"...
> > (gdb) set args s
> > (gdb) r
>
> [I presume you've intentionally left out a breakpoint because the
> debugger is failing to run the program. Correct me if I am wrong.]
>
> > Starting program: /home/fcg/Gecka/parser/parser_test s
> > Error while reading shared library symbols:
> > Cannot find new threads: generic error
> > Cannot find user-level thread for LWP 30703: no LWP to satisfy query
> > (gdb) bt
> > #0 _dl_debug_state () at dl-debug.c:56
> > #1 0x40010197 in _dl_sysdep_start (start_argptr=0xbffec2c0,
> > dl_main=0x40002520 <dl_main>) at ../sysdeps/generic/dl-sysdep.c:208
> > #2 0x40002441 in _dl_start_final (arg=0xbffec2c0,
> > bootstrap_map_p=0xbffec08c,
> > start_time=493332180866518) at rtld.c:263
> > #3 0x40002233 in _dl_start () at rtld.c:216
> > Current language: auto; currently c
> > (gdb)
>
> This is all system stuff. Are you by chance using an NPTL-enabled linux
> system? If so, older versions of gdb (and hence Insight) will not work
> with them. You will need to try out 6.0, which is due out soon. You can
> check out the "gdb_6_0-branch" branch, i.e., cvs co -rgdb_6_0-branch
> insight+dejagnu, as per the instructions on the download page.
>
> Then build as normal.
>
> Of course, if you are NOT using threads or an NPTL system, then there's
> another problem with gdb, and you should ask on that mailing list (gdb
> at sources dot redhat dot com). Be sure to include the session output
> above. That would help them tremendously.
>
> Keith