X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fm2-lang.h;h=772221fd17df222cebe091cb1e6f2166f8a3b28a;hb=2117c711ae07700adb57ea5b5ca61e4c32d7e3d2;hp=f99e31a116f734e51eae3defca8aa503cf84d189;hpb=79a45b7d67b37d45cdb44d3ee2761a768474dd73;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/m2-lang.h b/gdb/m2-lang.h index f99e31a116..772221fd17 100644 --- a/gdb/m2-lang.h +++ b/gdb/m2-lang.h @@ -1,7 +1,6 @@ /* Modula 2 language support definitions for GDB, the GNU debugger. - Copyright (C) 1992, 1998, 2000, 2005, 2007, 2008 - Free Software Foundation, Inc. + Copyright (C) 1992-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -18,13 +17,15 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +struct type_print_options; + extern int m2_parse (void); /* Defined in m2-exp.y */ extern void m2_error (char *); /* Defined in m2-exp.y */ /* Defined in m2-typeprint.c */ -extern void m2_print_type (struct type *, char *, struct ui_file *, int, - int); +extern void m2_print_type (struct type *, const char *, struct ui_file *, int, + int, const struct type_print_options *); extern void m2_print_typedef (struct type *, struct symbol *, struct ui_file *); @@ -32,9 +33,10 @@ extern void m2_print_typedef (struct type *, struct symbol *, extern int m2_is_long_set (struct type *type); extern int m2_is_unbounded_array (struct type *type); -extern int m2_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, - struct ui_file *, int, - const struct value_print_options *); +extern void m2_val_print (struct type *, const gdb_byte *, int, CORE_ADDR, + struct ui_file *, int, + const struct value *, + const struct value_print_options *); extern int get_long_set_bounds (struct type *type, LONGEST *low, LONGEST *high);