[Bug 215868] devel/gdb: as of -r429946 targeting powerpc64: ppcfbsd-kern.c:61:6: error: no matching function 'target_read_memory': no conversion from 'struct pcb *' to 'gdb_byte *'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 13 05:24:33 UTC 2017


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

--- Comment #5 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Olivier Cochard from comment #4)

[Note: my svnlite status shows nothing modified. . .

# svnlite status /usr/ports/
# 

]

I tried updating from -r429946 to -431339 on for /usr/ports
and my amd64 context and devel/gdb failed:

===>>> All >> gdb-7.12 (26/28)

===>  Cleaning for gdb-7.12_1
===>  License GPLv3 accepted by the user
===>  Found saved configuration for gdb-7.11.1_1
===>   gdb-7.12_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by gdb-7.12_1 for building
===>  Extracting for gdb-7.12_1
=> SHA256 Checksum OK for gdb-7.12.tar.xz.
===>  Patching for gdb-7.12_1
===>  Applying extra patch /usr/ports/devel/gdb/files/commit-387360daf9
Ignoring previously applied (or reversed) patch.
2 out of 2 hunks ignored--saving rejects to gdb/Makefile.in.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to gdb/configure.tgt.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to gdb/doc/gdb.texinfo.rej
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/gdb
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/gdb

===>>> make build failed for devel/gdb
===>>> Aborting update

===>>> Update for devel/gdb failed
===>>> Aborting update


# more /usr/obj/portswork/usr/ports/devel/gdb/work/gdb-7.12/gdb/Makefile.in.rej
@@ -685,6 +685,7 @@
        m88k-tdep.o \
        mep-tdep.o \
        microblaze-tdep.o microblaze-linux-tdep.o \
+       mips-fbsd-tdep.o \
        mips-linux-tdep.o mips-sde-tdep.o \
        mipsnbsd-tdep.o mips-tdep.o \
        mn10300-linux-tdep.o mn10300-tdep.o \
@@ -1724,6 +1725,7 @@
        m88k-tdep.c m88kbsd-nat.c \
        microblaze-tdep.c microblaze-linux-tdep.c \
        mingw-hdep.c common/mingw-strerror.c \
+       mips-fbsd-tdep.c \
        mips-linux-nat.c mips-linux-tdep.c \
        mips-sde-tdep.c \
        mips-tdep.c \

# more
/usr/obj/portswork/usr/ports/devel/gdb/work/gdb-7.12/gdb/configure.tgt.rej
@@ -358,6 +358,11 @@
        gdb_target_obs="mips-tdep.o mipsnbsd-tdep.o solib-svr4.o nbsd-tdep.o"
        gdb_sim=../sim/mips/libsim.a
        ;;
+mips*-*-freebsd*)
+       # Target: MIPS running FreeBSD
+       gdb_target_obs="mips-tdep.o mips-fbsd-tdep.o solib-svr4.o fbsd-tdep.o"
+       gdb_sim=../sim/mips/libsim.a
+       ;;
 mips64*-*-openbsd*)
        # Target: OpenBSD/mips64
        gdb_target_obs="mips-tdep.o mips64obsd-tdep.o obsd-tdep.o solib-svr4.o"

# more
/usr/obj/portswork/usr/ports/devel/gdb/work/gdb-7.12/gdb/doc/gdb.texinfo.rej
@@ -541,6 +541,11 @@
 Michael Eager and staff of Xilinx, Inc., contributed support for the
 Xilinx MicroBlaze architecture.

+Initial support for the FreeBSD/mips target and native configuration
+was developed by SRI International and the University of Cambridge
+Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
+("CTSRD"), as part of the DARPA CRASH research programme.
+
 @node Sample Session
 @chapter A Sample @value{GDBN} Session

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


More information about the freebsd-ports-bugs mailing list