This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH V4 4/6] Fortran: Typeprint, fix dangling types.
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Bernhard Heckel <bernhard dot heckel at intel dot com>
- Cc: qiyaoltc at gmail dot com, brobecker at adacore dot com, gdb-patches at sourceware dot org
- Date: Thu, 13 Oct 2016 14:52:49 +0100
- Subject: Re: [PATCH V4 4/6] Fortran: Typeprint, fix dangling types.
- Authentication-results: sourceware.org; auth=none
- References: <1473230295-809-1-git-send-email-bernhard.heckel@intel.com> <1473230295-809-5-git-send-email-bernhard.heckel@intel.com>
Bernhard Heckel <bernhard.heckel@intel.com> writes:
> +set test "ptype intap, not associated"
> +gdb_test_multiple "ptype intap" $test {
> + -re "type = PTR TO -> \\( $int \\(:,:\\)\\)\r\n$gdb_prompt $" {
> + pass $test
> + }
> + -re "type = $int \\(:,:\\)\r\n$gdb_prompt $" {
How does GDB print like this? I think GDB should always print
"type = PTR TO -> ....", no?
> + pass $test
> + }
> +}
--
Yao (齐尧)