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 cli/17368] New: Unhelpful error message "Unterminated string in expression."


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

            Bug ID: 17368
           Summary: Unhelpful error message "Unterminated string in
                    expression."
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: minor
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: ams at sourceware dot org

Back in GDB 7.2 this syntax used to work fine:

  (gdb) break "15 if i==20"

I've not checked 7.3, but GDB 7.4 rejects it:

  (gdb) break "15 if i==20"
  Unterminated string in expression.

And continues to do so in 7.7.1. Removing the quotes solves the problem, of
course.

I'm not sure why that form was ever accepted, or why my customer was trying to
use it, but the problem is that the error message is not at all helpful.

-- 
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]