aboutsummaryrefslogtreecommitdiff
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
commitb970e5bc67dfc3d27658df23196f65ac91ed9453 (patch)
treeae80013a97077725e98f146579fad79e1909ddcf /gdb/reply_mig_hack.awk
parent190dce0965f152d147a0a57a65719c004bbe4648 (diff)
downloadgdb-b970e5bc67dfc3d27658df23196f65ac91ed9453.zip
gdb-b970e5bc67dfc3d27658df23196f65ac91ed9453.tar.gz
gdb-b970e5bc67dfc3d27658df23196f65ac91ed9453.tar.bz2
* 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 aded177..8330f0c 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++;