summaryrefslogtreecommitdiff
path: root/gdb/reply_mig_hack.awk
diff options
context:
space:
mode:
authorAlfred M. Szmidt <ams@gnu.org>2007-05-16 17:37:02 +0000
committerAlfred M. Szmidt <ams@gnu.org>2007-05-16 17:37:02 +0000
commit02b0d742808f41ef162821770309e923862559af (patch)
treeb3cad08c30270e0022b75670a68d4101fe88c729 /gdb/reply_mig_hack.awk
parent17e9917271a5f825f2e348c46045d54b875353b3 (diff)
downloadgdb-02b0d742808f41ef162821770309e923862559af.tar.gz
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t' declarations as well.
Diffstat (limited to 'gdb/reply_mig_hack.awk')
-rw-r--r--gdb/reply_mig_hack.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/reply_mig_hack.awk b/gdb/reply_mig_hack.awk
index aded177731a..8330f0c8828 100644
--- a/gdb/reply_mig_hack.awk
+++ b/gdb/reply_mig_hack.awk
@@ -80,7 +80,7 @@ parse_phase == 4 {
print; next;
}
-parse_phase == 5 && /^[ \t]*static const mach_msg_type_t/ {
+parse_phase == 5 && /^[ \t]*(auto|static) const mach_msg_type_t/ {
# The type check structure for an argument.
arg_check_name[num_checks] = $4;
num_checks++;