PLEASE HELP !! how to load libraries into gdb?

cpptutor2000_at_yahoo.com
Date: 06/21/05

  • Next message: tylerl: "Re: Memory usage confusion"
    Date: 21 Jun 2005 09:02:44 -0700
    
    

    Could someone please help me with a gdb related problem? In order to
    run an application that I am developing, I have to use the gmp library,
    and I use the
    following command, at the command prompt: export
    LD_LIBRARY_PATH=/usr/local/lib
    I am getting some segmentation faults, and when I try to run the
    application under gdb, I get the following error message:

    warning: Unable to find dynamic linker breakpoint function.
    GDB will be unable to debug shared library initializers
    and track explicitly loaded dynamic code.
    [Thread debugging using libthread_db enabled]
    [New Thread 16384 (LWP 18752)]
    Could not open /proc/18752/status

    Could someone please tell me what the error message means, and how to
    get around it?
    I suspect it is because somehow the gmp library is not loaded
    correctly. Any suggestions/ideas would be greatly appreciated.


  • Next message: tylerl: "Re: Memory usage confusion"

    Relevant Pages

    • Re: [Tux3] Tux3 report: A Golden Copy
      ... but I still can't debug it with gdb. ... eventually get to a command prompt. ... uml uses ... the segfault interrupt as part of its machine simulation, ...
      (Linux-Kernel)
    • Re: C Programming IDE for Linux?
      ... > anything similar to the Microsoft Developer Studio that will easily allow me ... Try typing 'gdb' (without quotes) at a command prompt. ...
      (comp.programming)
    • Re: cygwin/nasm woes
      ... Frank Kotler wrote: ... message in gdb, ... and track explicitly loaded dynamic code. ... So how did you introduce a dynamic linker breakpoint function in your ...
      (alt.lang.asm)
    • Re: remote gdb failures in recent builds (last 6 months or so.)
      ... 2/ it prints out the packet in the error message. ... 4/ after kgdb finally sends a '-' teh kernel sends ONE MORE ... What platform are you using and what gdb? ...
      (freebsd-current)
    • Re: trace/breakpoint trap
      ... I got the following error message in gdb ... Most likely there is a bug in gdb, where it sets a breakpoint, ... In order to understand recursion you must first understand recursion. ... with a powerpc processor. ...
      (comp.unix.programmer)