aboutsummaryrefslogtreecommitdiff
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
commitbf922ad9fa36a3072ec439b024f3285feddbee7d (patch)
tree5a50e4117108245392fa4ac743c30f76c2c082c8 /gdb/arch-utils.h
parent0800d55de8af4966eac7c03dea5f90158004921f (diff)
downloadgdb-bf922ad9fa36a3072ec439b024f3285feddbee7d.zip
gdb-bf922ad9fa36a3072ec439b024f3285feddbee7d.tar.gz
gdb-bf922ad9fa36a3072ec439b024f3285feddbee7d.tar.bz2
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 a180fda..db9d24e 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. */