This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/13544] New: Error while converting hex to object pointer:"A syntax error in expression, near"
- From: "yuri at tsoft dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 29 Dec 2011 02:06:58 +0000
- Subject: [Bug c++/13544] New: Error while converting hex to object pointer:"A syntax error in expression, near"
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13544
Bug #: 13544
Summary: Error while converting hex to object pointer: "A
syntax error in expression, near"
Product: gdb
Version: 7.3
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: yuri@tsoft.com
Classification: Unclassified
I have the class XObject defined globally and application is built with the
debug info.
However, attempting to cast some hex value to the pointer to this class gives
me an error:
(gdb) p (XObject*)0x848cdd420
A syntax error in expression, near `)0x848cdd420'.
For some weird reason, casting to some subclass of XObject works fine.
gdb-7.3.1 on FreeBSD-8.2 (build from the source)
but this error was observed on several previous versions as well.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.