aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2014-01-17 09:54:56 +0000
committerPedro Alves <palves@redhat.com>2014-01-17 09:54:56 +0000
commit69f9764846ca76d780e0ecd8b688200561f7c9bb (patch)
treed1f5c59e5c47df18340a295eb805e20235b87721 /gdb/gdbarch.h
parent7225345dbbe39f61b1c7e52732b621cfb1d830c5 (diff)
downloadgdb-69f9764846ca76d780e0ecd8b688200561f7c9bb.zip
gdb-69f9764846ca76d780e0ecd8b688200561f7c9bb.tar.gz
gdb-69f9764846ca76d780e0ecd8b688200561f7c9bb.tar.bz2
Add comments to gdbarch_address_class_name_to_type_flags.
gdb/ChangeLog 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add comments. * gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 6b59371..b28a80e 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -694,6 +694,10 @@ typedef const char * (gdbarch_address_class_type_flags_to_name_ftype) (struct gd
extern const char * gdbarch_address_class_type_flags_to_name (struct gdbarch *gdbarch, int type_flags);
extern void set_gdbarch_address_class_type_flags_to_name (struct gdbarch *gdbarch, gdbarch_address_class_type_flags_to_name_ftype *address_class_type_flags_to_name);
+/* Return the appropriate type_flags for the supplied address class.
+ This function should return 1 if the address class was recognized and
+ type_flags was set, zero otherwise. */
+
extern int gdbarch_address_class_name_to_type_flags_p (struct gdbarch *gdbarch);
typedef int (gdbarch_address_class_name_to_type_flags_ftype) (struct gdbarch *gdbarch, const char *name, int *type_flags_ptr);