X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdb-demangle.h;h=e68973f5b37d3e1f0cef489214b1a07e25170725;hb=9d084466d740e40c655609f9c04b3bb2b9b9ca76;hp=2d62956d686b4159a82c83565d7f44e67e926fcc;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdb-demangle.h b/gdb/gdb-demangle.h index 2d62956d68..e68973f5b3 100644 --- a/gdb/gdb-demangle.h +++ b/gdb/gdb-demangle.h @@ -1,5 +1,5 @@ /* Basic C++ demangling support for GDB. - Copyright (c) 2011-2013 Free Software Foundation, Inc. + Copyright (C) 2011-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -19,19 +19,16 @@ #ifndef GDB_DEMANGLE_H #define GDB_DEMANGLE_H -/* Nonzero means that encoded C++/ObjC names should be printed out in their +/* True means that encoded C++/ObjC names should be printed out in their C++/ObjC form rather than raw. */ -extern int demangle; +extern bool demangle; -/* Nonzero means that encoded C++/ObjC names should be printed out in their +/* True means that encoded C++/ObjC names should be printed out in their C++/ObjC form even in assembler language displays. If this is set, but - DEMANGLE is zero, names are printed raw, i.e. DEMANGLE controls. */ -extern int asm_demangle; - -/* Fake a "set demangle-style" command. */ -extern void set_demangling_style (char *); + DEMANGLE is false, names are printed raw, i.e. DEMANGLE controls. */ +extern bool asm_demangle; /* Check if a character is one of the commonly used C++ marker characters. */ -extern int is_cplus_marker (int); +extern bool is_cplus_marker (int); #endif /* GDB_DEMANGLE_H */