summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-16 00:27:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-16 00:27:46 +0000
commite76f1f2e332de69d2a48bd8ac7bf6d0390991f43 (patch)
treecf705bfaa288bfd083f9ef9f2999558450a55f79 /gdb/gdbarch.h
parentb3de5b86c2331bce5929f982e5b680227eb0fb1a (diff)
downloadbinutils-gdb-e76f1f2e332de69d2a48bd8ac7bf6d0390991f43.tar.gz
2002-08-15 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (vector_info): New function. (_initialize_infcmd): Add command "info vector". (print_vector_info): New function. * gdbarch.sh (PRINT_VECTOR_INFO): New method * gdbarch.h, gdbarch.c: Regenerate. Index: doc/ChangeLog 2002-08-15 Andrew Cagney <ac131313@redhat.com> * gdbint.texinfo (Target Architecture Definition): Document PRINT_VECTOR_INFO. * gdb.texinfo (Vector Unit): Document "info vectors" command.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r--gdb/gdbarch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 7857b09005c..ccdc0502a98 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -801,6 +801,12 @@ typedef void (gdbarch_print_float_info_ftype) (struct gdbarch *gdbarch, struct u
extern void gdbarch_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args);
extern void set_gdbarch_print_float_info (struct gdbarch *gdbarch, gdbarch_print_float_info_ftype *print_float_info);
+extern int gdbarch_print_vector_info_p (struct gdbarch *gdbarch);
+
+typedef void (gdbarch_print_vector_info_ftype) (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args);
+extern void gdbarch_print_vector_info (struct gdbarch *gdbarch, struct ui_file *file, struct frame_info *frame, const char *args);
+extern void set_gdbarch_print_vector_info (struct gdbarch *gdbarch, gdbarch_print_vector_info_ftype *print_vector_info);
+
/* MAP a GDB RAW register number onto a simulator register number. See
also include/...-sim.h. */