Hurd: Make gdb/reply_mig_hack.awk script compatible to "mawk"
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 12 Jan 2016 11:53:09 +0000 (12:53 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 12 Jan 2016 11:53:09 +0000 (12:53 +0100)
The "mawk" AWK implementation did't like that regular expression:

    mawk: [...]/gdb/reply_mig_hack.awk: line 98: regular expression compile failed (missing operand)

gdb/
* reply_mig_hack.awk: Rewrite one regular expression.

gdb/ChangeLog
gdb/reply_mig_hack.awk

index 099a9a90c5aa9b15f28bd9a59212be9aeb156564..73b001c0288c803e45064268619f27c8ba6d757d 100644 (file)
@@ -1,3 +1,7 @@
+2016-01-12  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * reply_mig_hack.awk: Rewrite one regular expression.
+
 2016-01-11  Mike Frysinger  <vapier@gentoo.org>
 
        * acinclude.m4: Include new warning.m4 file.
index 1e2387aeb4aa76f04dbc01e1ac5976f81885fb13..e4c513bc924a8f04582ca03b9a171f4ba379c392 100644 (file)
@@ -95,7 +95,7 @@ parse_phase == 4 {
   print; next;
 }
 
-parse_phase == 5 && /^[ \t]*(auto |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] = $(NF - 2);
   num_checks++;
This page took 0.035431 seconds and 4 git commands to generate.