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 exp/18603] New: print L'a' triggers inadequate error message: "No type named wchar_t."


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

            Bug ID: 18603
           Summary: print L'a'  triggers inadequate error message: "No
                    type named wchar_t."
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: minor
          Priority: P2
         Component: exp
          Assignee: unassigned at sourceware dot org
          Reporter: joehtg at joehtg dot co.at
  Target Milestone: ---

print wide literal, e.g. print L'a', causes error message
No type named wchar_t.
when no executable file is loaded or when the executable does not have wchar_t
variables. 
gdb should get sizeof(wchar_t) from target-wide-charset
This would be useful for Debugging of programs using ICU or OCI (in UTF-16
mode) under Linux.
I'd like to use the command
print (wchar_t*)utext
for UChar * utext
if the program does not use native 32-bit wchar_t

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