breakpoints/2021: pending breakpoints on stripped executables
Mon Oct 17 22:18:00 GMT 2005

>Number:         2021
>Category:       breakpoints
>Synopsis:       pending breakpoints on stripped executables
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 17 22:18:01 GMT 2005
>Release:        gdb cvs-current
I am trying to debug a shared library which is loaded by
the 'driver' application.  The 'driver' application has been
stripped.  Attempting to set a pending breakpoint on the 
source code in the library fails since the main application
is stripped.  A workaround would be to try to set same
breakpoint after some library with debug symbols has been
loaded (this is cumbersome and unfeasible if i am debugging
the application from within Eclipse).

linespec.c (in symtab_from_filename function)

comment out the following lines:

      if (!have_full_symbols () && !have_partial_symbols ())
        error (_("No symbol table is loaded.  Use the \"file\" command."));

More information about the Gdb-prs mailing list