aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-03-13 17:39:52 -0600
committerTom Tromey <tom@tromey.com>2020-03-13 18:03:40 -0600
commit62c4663d3c59b53e622b2f83eeae7c8d47c656dd (patch)
treea05fbe09b2db386787c02bde23a99fd9b6232c99 /gdb/m2-lang.h
parent621821900289e9ef3472dc430d6fcf4d55b301e2 (diff)
downloadbinutils-62c4663d3c59b53e622b2f83eeae7c8d47c656dd.zip
binutils-62c4663d3c59b53e622b2f83eeae7c8d47c656dd.tar.gz
binutils-62c4663d3c59b53e622b2f83eeae7c8d47c656dd.tar.bz2
Introduce m2_value_print_inner
This introduces m2_value_print_inner. gdb/ChangeLog 2020-03-13 Tom Tromey <tom@tromey.com> * m2-valprint.c (m2_value_print_inner): New function. * m2-lang.h (m2_value_print_inner): Declare. * m2-lang.c (m2_language_defn): Use m2_value_print_inner.
Diffstat (limited to 'gdb/m2-lang.h')
-rw-r--r--gdb/m2-lang.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h
index 81c3460..636ba39 100644
--- a/gdb/m2-lang.h
+++ b/gdb/m2-lang.h
@@ -40,6 +40,11 @@ extern void m2_val_print (struct type *, int, CORE_ADDR,
struct value *,
const struct value_print_options *);
+/* Implement la_value_print_inner for Modula-2. */
+
+extern void m2_value_print_inner (struct value *, struct ui_file *, int,
+ const struct value_print_options *);
+
extern int get_long_set_bounds (struct type *type, LONGEST *low,
LONGEST *high);