Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2017 23:28:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215783] devel/gdb: Add MIPS support
Message-ID:  <bug-215783-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: jhb@FreeBSD.org
                CC: luca.pizzamiglio@gmail.com, sbruno@FreeBSD.org
                CC: luca.pizzamiglio@gmail.com
             Flags: maintainer-feedback?(luca.pizzamiglio@gmail.com)

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

This patch includes two upstream commits to add support for FreeBSD/mips us=
er
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 w=
ell
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?

--=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-215783-13>