Re: gdb is not loading debug simbols



On Tuesday 25 December 2007 5:21:25 pm you wrote:
Hi hackers

I'm trying to make some debbuging on kde compiled with debbugfull

but gdb is complaing about:

kde4# gdb -pid 12241
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".
Attaching to process 12241
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:14
43: internal-error: legacy_fetch_link_map_offsets called without legacy
link_map support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

i say n

and:

/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:14
43: internal-error: legacy_fetch_link_map_offsets called without legacy
link_map support enabled.
A problem internal to GDB has been detected,
---Type <return> to continue, or q <return> to quit---
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
0x29b2287f in ?? ()
(gdb) b file.cpp:420
No symbol table is loaded. Use the "file" command.
(gdb)

any hints or there is a gdb problem on FreeBSD


kde4# uname -a
FreeBSD admin.elecmtz.une.cu 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue
Dec 25 00:54:42 CST 2007
admin@xxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/NOLIS i386

i just update to 7-stable and same problem :(

kde4# uname -a
FreeBSD admin.elecmtz.une.cu 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Fri Dec
28 01:37:22 UTC 2007
root@xxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/FUJITSU i386



thanks in advance
Manolito



--
Dios no es hombre para que mienta.
Num. 23:19
---------------------------------------------------------
God is not a man, that He should lie.
Num. 23:19
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Great SWT Program
    ... More a shell than an operating system, ... Gdb is for the birds. ... Well, debugging one's own code is what gdb is for, isn't it? ... Being able to make a breakpoint that would trip the first time any ...
    (comp.lang.java.programmer)
  • Re: Recommended virtualization technique for debugging/developing FreeBSD
    ... :>> I was wondering what people use, in the abscense of suitable actual hardware, ... everything was seld compiled but with an external compiler. ... Most initial debugging was done with a super-low-level serial console, ... gdb wasn't available either. ...
    (freebsd-current)
  • compiling perl/tk with debugging?; help debugging a segfault in Tk_HandleEvent
    ... perl/tk 800.025. ... I have a core file from one such crash, ... my weak C and debugging skills, I'm having a hard time figuring out ...
    (comp.lang.perl.tk)
  • RE: VMWare Workstation 6 for debugging Linux Kernel (!)
    ... maybe somebody make some side by side comparison of vmware & uml regarding kernel debugging. ... Run gdb on the Host, reference it to the kernel with symbols and attach to ...
    (Linux-Kernel)
  • Re: Debugging with g95 on windows
    ... install gdb. ... and you compile your programs in a terminal ... For now, print statements worked just fine for me, but if someone ... effectively work with gdb or some other debugging tool can ...
    (comp.lang.fortran)