Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 May 2017 01:22:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219028] devel/gdb: Fix annoying "eh_frame" kgdb bug
Message-ID:  <bug-219028-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219028

            Bug ID: 219028
           Summary: devel/gdb: Fix annoying "eh_frame" kgdb bug
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jhb@FreeBSD.org
                CC: luca.pizzamiglio@gmail.com, np@FreeBSD.org
             Flags: maintainer-feedback?(luca.pizzamiglio@gmail.com)
                CC: luca.pizzamiglio@gmail.com

Created attachment 182259
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182259&action=
=3Dedit
kgdb.patch

The kld parsing code in kgdb was using basename() and dirname() which ended=
 up
being broken by the recent changes to make dirname() modify its input buffe=
r.=20
The patch to fbsd-kld.c modifies it to use the lbasename() and ldirname()
wrappers in gdb.  While here, it adds the kgdb.1 manpage from base which is
helpful since stock HEAD no longer ships a kgdb manpage.  I also fixed an i=
ssue
where the mips binaries weren't pulling in -lkvm which is needed for the kg=
db
binary to link.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219028-13>