xref: /openbsd-src/gnu/usr.bin/binutils/gdb/m2-lang.h (revision b725ae7711052a2233e31a66fefb8a752c388d7a)
1e93f7393Sniklas /* Modula 2 language support definitions for GDB, the GNU debugger.
2*b725ae77Skettenis    Copyright 1992, 1998, 2000 Free Software Foundation, Inc.
3e93f7393Sniklas 
4e93f7393Sniklas    This file is part of GDB.
5e93f7393Sniklas 
6e93f7393Sniklas    This program is free software; you can redistribute it and/or modify
7e93f7393Sniklas    it under the terms of the GNU General Public License as published by
8e93f7393Sniklas    the Free Software Foundation; either version 2 of the License, or
9e93f7393Sniklas    (at your option) any later version.
10e93f7393Sniklas 
11e93f7393Sniklas    This program is distributed in the hope that it will be useful,
12e93f7393Sniklas    but WITHOUT ANY WARRANTY; without even the implied warranty of
13e93f7393Sniklas    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14e93f7393Sniklas    GNU General Public License for more details.
15e93f7393Sniklas 
16e93f7393Sniklas    You should have received a copy of the GNU General Public License
17e93f7393Sniklas    along with this program; if not, write to the Free Software
18*b725ae77Skettenis    Foundation, Inc., 59 Temple Place - Suite 330,
19*b725ae77Skettenis    Boston, MA 02111-1307, USA.  */
20e93f7393Sniklas 
21*b725ae77Skettenis extern int m2_parse (void);	/* Defined in m2-exp.y */
22e93f7393Sniklas 
23*b725ae77Skettenis extern void m2_error (char *);	/* Defined in m2-exp.y */
24e93f7393Sniklas 
25*b725ae77Skettenis /* Defined in m2-typeprint.c */
26*b725ae77Skettenis extern void m2_print_type (struct type *, char *, struct ui_file *, int,
27*b725ae77Skettenis 			   int);
28e93f7393Sniklas 
29*b725ae77Skettenis extern int m2_val_print (struct type *, char *, int, CORE_ADDR,
30*b725ae77Skettenis 			 struct ui_file *, int, int, int,
31*b725ae77Skettenis 			 enum val_prettyprint);
32