[Bug 215783] devel/gdb: Add MIPS support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 4 23:28:51 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215783

            Bug ID: 215783
           Summary: devel/gdb: Add MIPS support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jhb at FreeBSD.org
                CC: luca.pizzamiglio at gmail.com, sbruno at FreeBSD.org
                CC: luca.pizzamiglio at gmail.com
             Flags: maintainer-feedback?(luca.pizzamiglio at gmail.com)

Created attachment 178528
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178528&action=edit
gdb_mips.patch

This patch includes two upstream commits to add support for FreeBSD/mips user
binaries as well as a new backend from my freebsd-7.12-kgdb branch that adds
support for debugging FreeBSD/mips kernels to kgdb.

I've tested cross-debugging of process cores and kernel cores on amd64 as well
as running a native gdb in qemu for user binaries.

There is still an open issue with gdb not recognizing mips64 core dumps.  I
have a pending patch in review to add a workaround to binutils, though the real
bug is in the kernel.

I have done my testing from my git branch, and I have only build-tested the
port update on amd64. I've cc'd Sean hoping he can use the qemu-user magic to
build a gdb package for mips for testing?

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


More information about the freebsd-ports-bugs mailing list