This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug sim/20863] gdb-7.12 powerpc-rtems4.12-gdb does not build on FreeBSD.
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 05 Sep 2017 11:43:02 +0000
- Subject: [Bug sim/20863] gdb-7.12 powerpc-rtems4.12-gdb does not build on FreeBSD.
- Auto-submitted: auto-generated
- References: <bug-20863-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20863
--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-8.0-branch branch has been updated by John Baldwin
<jhb@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6854bcdfba43dd3a2058565bbf85868c9914bf39
commit 6854bcdfba43dd3a2058565bbf85868c9914bf39
Author: John Baldwin <jhb@FreeBSD.org>
Date: Mon Sep 4 19:53:50 2017 -0700
Define an error function in the PPC simulator library.
Previously this used the error function from GDB directly when linked
against GDB instead of the error method in the host callbacks
structure. This was exposed via a link error when GDB was converted
to C++. The error function invokes the error callback similar to
sim_io_error.
Note that there are also error functions in sim/ppc/main.c and
sim/ppc/misc.c. The ppc libsim.a expects each consumer to provide
several symbols used by the library including "error". sim-calls.c
provides these symbols when the library is linked into gdb. The dgen,
igen, tmp-filter, tmp-ld-decode, tmp-ld-cache, and tmp-ld-insn programs
use the functions from misc.c. psim uses the functions from main.c.
sim/ppc/ChangeLog:
PR sim/20863
* sim_calls.c (error): New function.
--
You are receiving this mail because:
You are on the CC list for the bug.