This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Eliminate deprecated_tm_print_insn


On Thu, Aug 28, 2003 at 06:35:43PM -0400, Andrew Cagney wrote:
> 2003-08-28  Andrew Cagney  <cagney@redhat.com>
> 
> 	* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]