diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2014-01-06 15:56:33 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2014-02-16 08:26:08 +0100 |
commit | bae8023e39868ab2065ff05be61e151b3c082492 (patch) | |
tree | a4bdd1b32a7e03fc4a25ef2db35ce9a7599435b2 /gdb/reply_mig_hack.awk | |
parent | 4ab98b5c97a88c913aa1dcdc7452bd044fca4ab5 (diff) | |
download | gdb-bae8023e39868ab2065ff05be61e151b3c082492.zip gdb-bae8023e39868ab2065ff05be61e151b3c082492.tar.gz gdb-bae8023e39868ab2065ff05be61e151b3c082492.tar.bz2 |
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>.
Diffstat (limited to 'gdb/reply_mig_hack.awk')
-rw-r--r-- | gdb/reply_mig_hack.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/reply_mig_hack.awk b/gdb/reply_mig_hack.awk index 075ab02..6d27685 100644 --- a/gdb/reply_mig_hack.awk +++ b/gdb/reply_mig_hack.awk @@ -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; } |