From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28857 invoked by alias); 4 Sep 2003 18:05:39 -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 28830 invoked from network); 4 Sep 2003 18:05:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 4 Sep 2003 18:05:38 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h84I5Yl07994 for ; Thu, 4 Sep 2003 14:05:35 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h84I5XL21906; Thu, 4 Sep 2003 14:05:33 -0400 Received: from cygbert.vinschen.de (vpn50-3.rdu.redhat.com [172.16.50.3]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h84I5Vw05829; Thu, 4 Sep 2003 11:05:31 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id B7A365804E; Thu, 4 Sep 2003 20:05:29 +0200 (CEST) Date: Thu, 04 Sep 2003 18:05:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Cc: Andrew Cagney Subject: Re: [patch/rfc] Eliminate deprecated_tm_print_insn Message-ID: <20030904180529.GK1859@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com Mail-Followup-To: gdb-patches@sources.redhat.com, Andrew Cagney References: <3F4E83BF.1040702@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4E83BF.1040702@redhat.com> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-09/txt/msg00047.txt.bz2 On Thu, Aug 28, 2003 at 06:35:43PM -0400, Andrew Cagney wrote: > 2003-08-28 Andrew Cagney > > * arch-utils.h (legacy_print_insn): Delete declaration. > * arch-utils.c (legacy_print_insn): Delete function. > * disasm.c (deprecated_tm_print_insn_info): Delete. > (_initialize_disasm): Delete function, contained code initializing > deprecated_tm_print_insn_info. > * gdbarch.sh (deprecated_tm_print_insn): Delete. > (deprecated_tm_print_insn_info): Delete. > (TARGET_PRINT_INSN): Do not provide a default. > * gdbarch.h, gdbarch.c: Re-generate. After this change I'm getting an error when building: gcc -g \ -o gdb gdb.o main.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o cli-logging.o cli-interp.o mi-out.o mi-console.o mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o libgdb.a \ ../sim/sh/libsim.a ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a -lncurses -lm ../libiberty/libiberty.a -ldl -rdynamic libgdb.a(disasm.o): In function `gdb_disassemble_info': /home/corinna/src/gdb/src/gdb/disasm.c:331: undefined reference to `init_disassemble_info' collect2: ld returned 1 exit status make: *** [gdb] Error 1 Grepping for init_disassemble_info in all sources just reveals the call to init_disassemble_info in disasm.c. Where's the function? Corinna -- Corinna Vinschen Cygwin Developer Red Hat, Inc.