Hurd: Adapt to changed MIG output.

gdb/
	* reply_mig_hack.awk: Don't expect to see the auto keyword.

Based on a patch by David Michael <fedora.dm0@gmail.com>.
This commit is contained in:
Thomas Schwinge 2014-01-06 15:56:33 +01:00
parent 4ab98b5c97
commit bae8023e39
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
* reply_mig_hack.awk: Don't expect to see the auto keyword.
2014-02-14 Doug Evans <dje@google.com>
* target.c (target_write_partial): Fix result type.

View File

@ -78,9 +78,9 @@ 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] = $4;
arg_check_name[num_checks] = $(NF - 2);
num_checks++;
print; next;
}