projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support 128-bit IEEE floating-point types on Intel and Power
[deliverable/binutils-gdb.git]
/
gdb
/
cp-support.c
diff --git
a/gdb/cp-support.c
b/gdb/cp-support.c
index a71c6ad722743d982bd07869e08176e07388dda9..ea6dcb2fe20fde59ba46b21949584c1d3c1faaa9 100644
(file)
--- a/
gdb/cp-support.c
+++ b/
gdb/cp-support.c
@@
-34,7
+34,7
@@
#include "cp-abi.h"
#include "namespace.h"
#include <signal.h>
#include "cp-abi.h"
#include "namespace.h"
#include <signal.h>
-
+#include "gdb_setjmp.h"
#include "safe-ctype.h"
#define d_left(dc) (dc)->u.s_binary.left
#include "safe-ctype.h"
#define d_left(dc) (dc)->u.s_binary.left
@@
-1601,7
+1601,9
@@
gdb_demangle (const char *name, int options)
"demangler-warning", short_msg);
make_cleanup (xfree, long_msg);
"demangler-warning", short_msg);
make_cleanup (xfree, long_msg);
- target_terminal_ours ();
+ make_cleanup_restore_target_terminal ();
+ target_terminal_ours_for_output ();
+
begin_line ();
if (core_dump_allowed)
fprintf_unfiltered (gdb_stderr,
begin_line ();
if (core_dump_allowed)
fprintf_unfiltered (gdb_stderr,
@@
-1625,6
+1627,15
@@
gdb_demangle (const char *name, int options)
return result;
}
return result;
}
+/* See cp-support.h. */
+
+int
+gdb_sniff_from_mangled_name (const char *mangled, char **demangled)
+{
+ *demangled = gdb_demangle (mangled, DMGL_PARAMS | DMGL_ANSI);
+ return *demangled != NULL;
+}
+
/* Don't allow just "maintenance cplus". */
static void
/* Don't allow just "maintenance cplus". */
static void
This page took
0.024867 seconds
and
4
git commands to generate.