[patch/rfc] Eliminate deprecated_tm_print_insn

Corinna Vinschen vinschen@redhat.com
Thu Sep 4 19:27:00 GMT 2003


On Thu, Sep 04, 2003 at 02:17:37PM -0400, Andrew Cagney wrote:
> >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 \
> >	          
> Check that your opcodes directory is up-to-date.  In particular it 
> contains dis-init.o.

Uh, thanks, that did it.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.



More information about the Gdb-patches mailing list