From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15842 invoked by alias); 2 Jun 2003 22:55:19 -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 15835 invoked from network); 2 Jun 2003 22:55:19 -0000 Received: from unknown (HELO mout0.freenet.de) (194.97.50.131) by sources.redhat.com with SMTP; 2 Jun 2003 22:55:19 -0000 Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with asmtp (Exim 4.20) id 19MyD0-0004gG-C5 for gdb-patches@sources.redhat.com; Tue, 03 Jun 2003 00:55:18 +0200 Received: from b04c9.pppool.de ([213.7.4.201] helo=whitebox.local) by mx1.freenet.de with esmtp (Exim 4.20 #1) id 19MyCz-0002dp-IO for gdb-patches@sources.redhat.com; Tue, 03 Jun 2003 00:55:18 +0200 Received: from whitebox.local (localhost [127.0.0.1]) by whitebox.local (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h52MsF4Y030595 for ; Tue, 3 Jun 2003 00:54:15 +0200 Received: (from andreas@localhost) by whitebox.local (8.12.7/8.12.7/Submit) id h52MsEu1030592; Tue, 3 Jun 2003 00:54:14 +0200 X-Authentication-Warning: whitebox.local: andreas set sender to schwab@suse.de using -f To: gdb-patches@sources.redhat.com Subject: Undeprecate print_insn_m68k X-Yow: Feel th' WHIRLING BUFFERS buffing away all that stress... Years of ROAD TAR gently washing away... From: Andreas Schwab Date: Mon, 02 Jun 2003 22:55:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-06/txt/msg00095.txt.bz2 2003-06-03 Andreas Schwab * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... (_initialize_m68k_tdep): ... instead of deprecated_tm_print_insn. --- gdb/m68k-tdep.c.~1.64.~ 2003-06-03 00:08:46.000000000 +0200 +++ gdb/m68k-tdep.c 2003-06-03 00:20:13.000000000 +0200 @@ -966,6 +966,9 @@ m68k_gdbarch_init (struct gdbarch_info i /* Should be using push_dummy_call. */ set_gdbarch_deprecated_dummy_write_sp (gdbarch, generic_target_write_sp); + /* Disassembler. */ + set_gdbarch_print_insn (gdbarch, print_insn_m68k); + #if defined JB_PC && defined JB_ELEMENT_SIZE tdep->jb_pc = JB_PC; tdep->jb_elt_size = JB_ELEMENT_SIZE; @@ -999,5 +1002,4 @@ void _initialize_m68k_tdep (void) { gdbarch_register (bfd_arch_m68k, m68k_gdbarch_init, m68k_dump_tdep); - deprecated_tm_print_insn = print_insn_m68k; }