This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH 02/10] type: add c99 variable length array support
- From: "Agovic, Sanimir" <sanimir dot agovic at intel dot com>
- To: 'Tom Tromey' <tromey at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 27 Nov 2013 15:57:04 +0000
- Subject: RE: [PATCH 02/10] type: add c99 variable length array support
- Authentication-results: sourceware.org; auth=none
- References: <1382366424-21010-1-git-send-email-sanimir dot agovic at intel dot com> <1382366424-21010-3-git-send-email-sanimir dot agovic at intel dot com> <87eh6sujea dot fsf at fleche dot redhat dot com> <0377C58828D86C4588AEEC42FC3B85A7176B7861 at IRSMSX105 dot ger dot corp dot intel dot com> <874n74b41k dot fsf at fleche dot redhat dot com> <0377C58828D86C4588AEEC42FC3B85A7176BC3DE at IRSMSX105 dot ger dot corp dot intel dot com>
> +gdb_test "ptype array" "type = char \\\[5]\\\" "ptype array"
>
This should be rather:
+gdb_test "ptype array" "type = char \\\[5\\\]" "ptype array"
Escaped the quote instead of closing bracket.
-Sanimir
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052