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 c++/13544] New: Error while converting hex to object pointer:"A syntax error in expression, near"


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.


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