X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fgdb-demangle.h;h=faee5de5c9a999efa90ce37e258d86c448742892;hb=8677059126a84cb9f71371beb8688138a41014fc;hp=2d62956d686b4159a82c83565d7f44e67e926fcc;hpb=28e7fd62340426746f9c896cbc40c5d374ec47aa;p=binutils-gdb.git diff --git a/gdb/gdb-demangle.h b/gdb/gdb-demangle.h index 2d62956d686..faee5de5c9a 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-2021 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 */