xref: /dflybsd-src/contrib/gdb-7/gdb/d-lang.h (revision cf7f2e2d389e8012d562650bd94d7e433f449d6e)
1*cf7f2e2dSJohn Marino /* D language support definitions for GDB, the GNU debugger.
2*cf7f2e2dSJohn Marino 
3*cf7f2e2dSJohn Marino    Copyright (C) 2005, 2006, 2008, 2009, 2010 Free Software Foundation, Inc.
4*cf7f2e2dSJohn Marino 
5*cf7f2e2dSJohn Marino    This file is part of GDB.
6*cf7f2e2dSJohn Marino 
7*cf7f2e2dSJohn Marino    This program is free software; you can redistribute it and/or modify
8*cf7f2e2dSJohn Marino    it under the terms of the GNU General Public License as published by
9*cf7f2e2dSJohn Marino    the Free Software Foundation; either version 3 of the License, or
10*cf7f2e2dSJohn Marino    (at your option) any later version.
11*cf7f2e2dSJohn Marino 
12*cf7f2e2dSJohn Marino    This program is distributed in the hope that it will be useful,
13*cf7f2e2dSJohn Marino    but WITHOUT ANY WARRANTY; without even the implied warranty of
14*cf7f2e2dSJohn Marino    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*cf7f2e2dSJohn Marino    GNU General Public License for more details.
16*cf7f2e2dSJohn Marino 
17*cf7f2e2dSJohn Marino    You should have received a copy of the GNU General Public License
18*cf7f2e2dSJohn Marino    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
19*cf7f2e2dSJohn Marino 
20*cf7f2e2dSJohn Marino #if !defined (D_LANG_H)
21*cf7f2e2dSJohn Marino #define D_LANG_H 1
22*cf7f2e2dSJohn Marino 
23*cf7f2e2dSJohn Marino #include "symtab.h"
24*cf7f2e2dSJohn Marino 
25*cf7f2e2dSJohn Marino extern char *d_demangle (const char *mangled, int options);
26*cf7f2e2dSJohn Marino 
27*cf7f2e2dSJohn Marino extern int d_val_print (struct type *type, const gdb_byte *valaddr,
28*cf7f2e2dSJohn Marino 			int embedded_offset, CORE_ADDR address,
29*cf7f2e2dSJohn Marino 			struct ui_file *stream, int recurse,
30*cf7f2e2dSJohn Marino 			const struct value *val,
31*cf7f2e2dSJohn Marino 			const struct value_print_options *options);
32*cf7f2e2dSJohn Marino 
33*cf7f2e2dSJohn Marino #endif /* !defined (D_LANG_H) */
34