From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99266 invoked by alias); 21 Feb 2020 15:46:29 -0000 Mailing-List: contact gdb-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: gdb-cvs-owner@sourceware.org List-Subscribe: Sender: gdb-cvs-owner@sourceware.org Received: (qmail 98629 invoked by uid 306); 21 Feb 2020 15:46:14 -0000 Date: Fri, 21 Feb 2020 15:46:00 -0000 Message-ID: <20200221154614.98628.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Fix two more mips-tdep.h declarations X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 1eb731795357d77ac1f6200edd04f86d210bec79 X-Git-Newrev: e94e944bf2834d9bceafa1e1e4246bfa87b89677 X-SW-Source: 2020-02/txt/msg00217.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e94e944bf2834d9bceafa1e1e4246bfa87b89677 commit e94e944bf2834d9bceafa1e1e4246bfa87b89677 Author: Tom Tromey Date: Fri Feb 21 08:41:11 2020 -0700 Fix two more mips-tdep.h declarations My earlier patch to fix a declaration mismatch in mips-tdep.h missed a couple of spots. Basically, I sent it too soon. This patch fixes a couple more mismatches between a declaration (using bfd_vma) and the definition (using CORE_ADDR). gdb/ChangeLog 2020-02-21 Tom Tromey * mips-tdep.h (mips_pc_is_mips16, mips_pc_is_micromips): Parameter type is CORE_ADDR. Diff: --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90eb475..6ac818b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-02-21 Tom Tromey + + * mips-tdep.h (mips_pc_is_mips16, mips_pc_is_micromips): Parameter + type is CORE_ADDR. + 2020-02-21 Tom de Vries PR gdb/25534 diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h index 17589e3..9954620 100644 --- a/gdb/mips-tdep.h +++ b/gdb/mips-tdep.h @@ -166,11 +166,11 @@ extern int mips_pc_is_mips (CORE_ADDR memaddr); /* Tell if the program counter value in MEMADDR is in a MIPS16 function. */ -extern int mips_pc_is_mips16 (struct gdbarch *gdbarch, bfd_vma memaddr); +extern int mips_pc_is_mips16 (struct gdbarch *gdbarch, CORE_ADDR memaddr); /* Tell if the program counter value in MEMADDR is in a microMIPS function. */ -extern int mips_pc_is_micromips (struct gdbarch *gdbarch, bfd_vma memaddr); +extern int mips_pc_is_micromips (struct gdbarch *gdbarch, CORE_ADDR memaddr); /* Return the currently configured (or set) saved register size. */ extern unsigned int mips_abi_regsize (struct gdbarch *gdbarch);