aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-06-10 05:37:47 +0000
committerAndrew Cagney <cagney@redhat.com>2000-06-10 05:37:47 +0000
commit4b9b395931f9b9ed5bff797fad1e128fe9da136b (patch)
tree5fc33561e02978b777ebd0105af0d555347d7831 /gdb/arch-utils.c
parentdee8b1a1c52bb43245e6b0ac2958ea6de4f6ba29 (diff)
downloadfsf-binutils-gdb-4b9b395931f9b9ed5bff797fad1e128fe9da136b.zip
fsf-binutils-gdb-4b9b395931f9b9ed5bff797fad1e128fe9da136b.tar.gz
fsf-binutils-gdb-4b9b395931f9b9ed5bff797fad1e128fe9da136b.tar.bz2
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.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c4
1 files changed, 2 insertions, 2 deletions
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