From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100537 invoked by alias); 12 Apr 2017 18:37:44 -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 100021 invoked by uid 89); 12 Apr 2017 18:37:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy= 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; Wed, 12 Apr 2017 18:37:41 +0000 Received: from ralph.baldwin.cx.net (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 18FCD10A7B9 for ; Wed, 12 Apr 2017 14:37:41 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH 0/4] Cleanups for MIPS registers (mostly FreeBSD-specific) Date: Wed, 12 Apr 2017 18:37:00 -0000 Message-Id: <20170412183727.22483-1-jhb@FreeBSD.org> X-IsSubscribed: yes X-SW-Source: 2017-04/txt/msg00355.txt.bz2 Various small fixes to working with registers on FreeBSD/mips as well as one OS-agnostic fix to handle unavailable registers more gracefully in 'info registers'. Note that for the 32-bit info registers there isn't room in the table layout for the full "" string, so a truncated string "" but it is one character too wide for 32-bit (8 hex characters per register). John Baldwin (4): Cleanups to FreeBSD/mips native register operations. Use mips_regnum instead of constants for FreeBSD/mips register operations. Consistently use fprintf_filtered when displaying MIPS registers. Don't throw an error in 'info registers' for unavailable MIPS GP registers. gdb/ChangeLog | 28 ++++++++++++++++++++++++++++ gdb/mips-fbsd-nat.c | 26 ++++++++++++++------------ gdb/mips-fbsd-tdep.c | 29 ++++++++++++++++------------- gdb/mips-tdep.c | 12 +++++++++--- 4 files changed, 67 insertions(+), 28 deletions(-) -- 2.11.0