This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/17368] New: Unhelpful error message "Unterminated string in expression."
- From: "ams at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 10 Sep 2014 09:24:03 +0000
- Subject: [Bug cli/17368] New: Unhelpful error message "Unterminated string in expression."
- Auto-submitted: auto-generated
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.