This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] reply_mig_hack.awk: Support MiG >1.3 type declarations
- From: "Alfred M. Szmidt" <ams at gnu dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 17 May 2007 15:56:11 +0200 (CEST)
- Subject: [commit] reply_mig_hack.awk: Support MiG >1.3 type declarations
- Reply-to: ams at gnu dot org
MiG >1.3 changed the declaration of mach_msg_type_t.
Committed (part of Hurdy bits).
2007-05-16 Alfred M. Szmidt <ams@gnu.org>
* reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
declarations as well.
Index: reply_mig_hack.awk
===================================================================
RCS file: /cvs/src/src/gdb/reply_mig_hack.awk,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- reply_mig_hack.awk 9 Jan 2007 17:58:57 -0000 1.4
+++ reply_mig_hack.awk 16 May 2007 17:37:02 -0000 1.5
@@ -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++;