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 shlibs/19522] remote debugging segfault when reading sharedlib


https://sourceware.org/bugzilla/show_bug.cgi?id=19522

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keiths at redhat dot com

--- Comment #2 from Keith Seitz <keiths at redhat dot com> ---
The following commit may have fixed this problem. Can you verify?

commit dc365182240722969f044918ecd3cab00da55502
Author: Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Date:   Wed Jan 6 10:10:39 2016 +0400

    GDB SIGSEGV opening a Fortran program compiled with ifort

    This patch fixes a SIGSEGV when trying to open a Fortran program
    compiled with ifort (reproduced using version using version 16.0.1.150).
    The error can be reproduce with most, if not any program. For instance,
    a single file only containing "end", compiled with no additional flag,
    suffices.

    gdb/ChangeLog:

           PR gdb/19208
           * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
           if the function has no name.

You can see the whole commit here:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=dc365182240722969f044918ecd3cab00da55502;hp=b677098d4e086c093554a064076e021fec0399e8

-- 
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]