From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22566 invoked by alias); 30 Oct 2004 14:16:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22552 invoked from network); 30 Oct 2004 14:16:55 -0000 Received: from unknown (HELO localhost.redhat.com) (24.42.65.225) by sourceware.org with SMTP; 30 Oct 2004 14:16:55 -0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D00C7129D8C; Sat, 30 Oct 2004 09:16:50 -0400 (EDT) Message-ID: <4183943E.8010900@gnu.org> Date: Sat, 30 Oct 2004 14:16:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] First stab at cleaning up tm-mips.h References: <200410292059.i9TKxNq5029422@elgar.sibelius.xs4all.nl> In-Reply-To: <200410292059.i9TKxNq5029422@elgar.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-10/txt/msg00490.txt.bz2 Mark Kettenis wrote: > This makes the mips*-tdep.c files and mipsnbsd-nat.c use the newly > introduced symbols in mips-tdep.h. I didn't touch the othe *-nat.c > files yet since I can't test them. > > Obvious? Ok. Andrew > Index: ChangeLog > from Mark Kettenis > > * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction) > (mips_mdebug_frame_cache, mips16_scan_prologue) > (mips32_scan_prologue, mips_stub_frame_cache) > (heuristic_proc_start, heuristic_proc_desc) > (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) > (mips_n32n64_return_value, mips_o32_push_dummy_call) > (mips_o32_return_value, mips_o64_push_dummy_call) > (mips_step_skips_delay, mips_skip_trampoline_code) > (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, > MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of > T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM > instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN > and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. > (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, > T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and > MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. > * mips-linux-tdep.c (mips_linux_o32_sigframe_init) > (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of > ZERO_REGNUM. > * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) > (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of > ZERO_REGNUM. > (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of > A0_REGNUM. > * mipsnbsd-nat.c: Include "mips-tdep.h". > (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. > * Makefile.in (mipsnbsd-nat.o): Update dependencies.