From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55139 invoked by alias); 3 Jan 2017 18:45:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 43806 invoked by uid 89); 3 Jan 2017 18:45:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=sk:bfd_mac, HX-Greylist:EST, HX-Greylist:0500 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Jan 2017 18:45:23 +0000 Received: from ralph.com (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 2602F10B514; Tue, 3 Jan 2017 13:45:07 -0500 (EST) From: John Baldwin To: gdb-patches@sourceware.org, binutils@sourceware.org Subject: [PATCH v3 0/3] Add FreeBSD/mips targets to GDB Date: Tue, 03 Jan 2017 18:45:00 -0000 Message-Id: <20170103184341.58346-1-jhb@FreeBSD.org> X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00020.txt.bz2 Changes since V2 are: - Rework the workaround for mipsn64 core dumps on FreeBSD containing an empty ELF flags in patch 1. An ELF64 core dump with a zero flags field now uses bfd_mach_mips4000 instead of bfd_mach_misp3000. - Add NEWS items for FreeBSD/mips in patches 2 and 3. - Move the attribution of the FreeBSD/mips patches out of the source files and into the contributors section of the docs. John Baldwin (3): Use bfd_mach_mips4000 as the default machine type for 64-bit MIPS ABIs. Add FreeBSD/mips architecture. Add native target for FreeBSD/mips. bfd/ChangeLog | 11 + bfd/elf32-mips.c | 2 +- bfd/elf64-mips.c | 2 +- bfd/elfn32-mips.c | 2 +- bfd/elfxx-mips.c | 11 +- bfd/elfxx-mips.h | 2 +- gdb/ChangeLog | 17 ++ gdb/Makefile.in | 3 + gdb/NEWS | 6 + gdb/config/mips/fbsd.mh | 3 + gdb/configure.host | 1 + gdb/configure.tgt | 5 + gdb/doc/ChangeLog | 5 + gdb/doc/gdb.texinfo | 5 + gdb/mips-fbsd-nat.c | 136 ++++++++++++ gdb/mips-fbsd-tdep.c | 560 ++++++++++++++++++++++++++++++++++++++++++++++++ gdb/mips-fbsd-tdep.h | 28 +++ 17 files changed, 791 insertions(+), 8 deletions(-) create mode 100644 gdb/config/mips/fbsd.mh create mode 100644 gdb/mips-fbsd-nat.c create mode 100644 gdb/mips-fbsd-tdep.c create mode 100644 gdb/mips-fbsd-tdep.h -- 2.11.0