[PATCHv5 3/4] gdb/fortran: add support for parsing array strides in expressions

Tom Tromey tom@tromey.com
Tue Oct 20 20:17:31 GMT 2020


>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

Andrew> With this commit GDB now understands the syntax of Fortran array
Andrew> strides, a user can type an expression including an array stride, but
Andrew> they will only get an error informing them that array strides are not
Andrew> supported.

Andrew> This alone is an improvement on what we had before in GDB, better to
Andrew> give the user a helpful message that a particular feature is not
Andrew> supported than to just claim a syntax error.

Aside from the test suite nit that Simon pointed out, this looks good to
me.

Tom


More information about the Gdb-patches mailing list