This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/15077] New: Printing a tls variable crashes gdbserver ifthread_db.so could not be resolved


http://sourceware.org/bugzilla/show_bug.cgi?id=15077

             Bug #: 15077
           Summary: Printing a tls variable crashes gdbserver if
                    thread_db.so could not be resolved
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
        AssignedTo: unassigned@sourceware.org
        ReportedBy: sanimir.agovic@intel.com
    Classification: Unclassified
              Host: Linux


Created attachment 6834
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6834
reproducer, dejagnu test, potential fix in a single patch

In case of a missing libthread_db.so on the target a tls lookup crashes
gdbserver.

Attached is a reproducer, dejagnu test, and a potential fix in a single patch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]