aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-06-13 23:01:48 +0000
committerDJ Delorie <dj@redhat.com>2011-06-13 23:01:48 +0000
commitddee5e46a41c5c56e4b6a4357dd7ff8f61055f22 (patch)
treec76497eb0a5f02a5f1cc0f8a188316ab0b158dc0 /include
parent02d1f5acc508106feb8a23f7af70424d54181b52 (diff)
downloadgdb-ddee5e46a41c5c56e4b6a4357dd7ff8f61055f22.zip
gdb-ddee5e46a41c5c56e4b6a4357dd7ff8f61055f22.tar.gz
gdb-ddee5e46a41c5c56e4b6a4357dd7ff8f61055f22.tar.bz2
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/demangle.h8
2 files changed, 12 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 820c696..42546be 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * demangle.h (DMGL_RET_POSTFIX): Extend the comment.
+ (DMGL_RET_DROP): New.
+
2011-06-13 Walter Lee <walt@tilera.com>
* dis-asm.h (print_insn_tilegx): Declare.
diff --git a/include/demangle.h b/include/demangle.h
index c062455..53f6c54 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -45,7 +45,13 @@ extern "C" {
#define DMGL_VERBOSE (1 << 3) /* Include implementation details. */
#define DMGL_TYPES (1 << 4) /* Also try to demangle type encodings. */
#define DMGL_RET_POSTFIX (1 << 5) /* Print function return types (when
- present) after function signature */
+ present) after function signature.
+ It applies only to the toplevel
+ function type. */
+#define DMGL_RET_DROP (1 << 6) /* Suppress printing function return
+ types, even if present. It applies
+ only to the toplevel function type.
+ */
#define DMGL_AUTO (1 << 8)
#define DMGL_GNU (1 << 9)