summaryrefslogtreecommitdiff
path: root/gdb/arch-utils.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-11-09 23:52:28 +0000
committerAndrew Cagney <cagney@redhat.com>2003-11-09 23:52:28 +0000
commit1c01cd62eef759864678fa1e2459e00b00df085f (patch)
treeda22c2c557f071c1593a31b5337868b50a41daba /gdb/arch-utils.h
parentcb3b4da82343b738cf59f96ecba4de8befce2ab4 (diff)
downloadgdb-1c01cd62eef759864678fa1e2459e00b00df085f.tar.gz
2003-11-09 Andrew Cagney <cagney@redhat.com>
* Makefile.in (arch-utils.o): Update dependencies. * arch-utils.c: Include "osabi.h". (gdbarch_info_fill): New function. * arch-utils.h (gdbarch_info_fill): Declare. * gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill". * gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r--gdb/arch-utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index a180fda885c..db9d24ed635 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -153,6 +153,12 @@ extern int legacy_register_sim_regno (int regnum);
default values are not zero. */
extern void gdbarch_info_init (struct gdbarch_info *info);
+/* Similar it init, but this time fill in the blanks. Information is
+ obtained from the specified architecture, global "set ..." options,
+ and explicitly initialized INFO fields. */
+extern void gdbarch_info_fill (struct gdbarch *gdbarch,
+ struct gdbarch_info *info);
+
/* Return the architecture for ABFD. If no suitable architecture
could be find, return NULL. */