This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/20791] New: Watch returns "Attempt to use a type name as an expression"


https://sourceware.org/bugzilla/show_bug.cgi?id=20791

            Bug ID: 20791
           Summary: Watch returns "Attempt to use a type name as an
                    expression"
           Product: gdb
           Version: 7.11.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: carlson.engineer at gmail dot com
  Target Milestone: ---

Created attachment 9611
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9611&action=edit
Screenshot of source and gdb output

A watch created for variable tm for the barebones Fortran77 code (see
attachment) returns "Attempt to use a type name as an expression." See attached
screenshot. I am running gdb 7.11.1 and gfortran 5.4.0 under ubuntu 16.04.  The
executable is tm.

I get the same result for Fortran95.

Thanks.

Glenn

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]