From 4b9b395931f9b9ed5bff797fad1e128fe9da136b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 10 Jun 2000 05:37:47 +0000 Subject: Re-implement gdbach_dump() so that it prints out the macro values. Add ``maint print arch'' command. Add ``gdbarch_register()'' function that also takes gdbarch_dump_tdep(). Use in mips-tdep.c. --- gdb/arch-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/arch-utils.c') diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index a7904d3..bf637b5 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -413,7 +413,7 @@ set_arch (const struct bfd_arch_info *arch, break; } if (gdbarch_debug) - gdbarch_dump (); + gdbarch_dump (current_gdbarch, gdb_stdlog); } /* Set the architecture from arch/machine (deprecated) */ @@ -564,7 +564,7 @@ set_gdbarch_from_file (abfd) extern const bfd_arch_info_type DEFAULT_BFD_ARCH; static const bfd_arch_info_type *default_bfd_arch = &DEFAULT_BFD_ARCH; #else -static const bfd_arch_info_type *default_bfd_arch +static const bfd_arch_info_type *default_bfd_arch; #endif #ifdef DEFAULT_BFD_VEC -- cgit v1.1