2005-05-09 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / m2-valprint.c
CommitLineData
c906108c 1/* Support for printing Modula 2 values for GDB, the GNU debugger.
a8d6eb4a
AC
2
3 Copyright 1986, 1988, 1989, 1991, 1992, 1996, 1998, 2000, 2005 Free
4 Software Foundation, Inc.
c906108c 5
c5aa993b 6 This file is part of GDB.
c906108c 7
c5aa993b
JM
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
c906108c 12
c5aa993b
JM
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
c906108c 17
c5aa993b
JM
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
c906108c
SS
22
23#include "defs.h"
c906108c
SS
24#include "symtab.h"
25#include "gdbtypes.h"
c906108c 26#include "m2-lang.h"
a8d6eb4a 27#include "c-lang.h"
c906108c
SS
28
29int
fc1a4b47 30m2_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset,
fba45db2
KB
31 CORE_ADDR address, struct ui_file *stream, int format,
32 int deref_ref, int recurse, enum val_prettyprint pretty)
c906108c 33{
c906108c
SS
34 return (c_val_print (type, valaddr, 0, address, stream, format, deref_ref,
35 recurse, pretty));
36}
This page took 0.483537 seconds and 4 git commands to generate.