public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/12461] New: gdb unable to print char* values in Solaris-10/i386 @ 2011-02-03 21:44 yuri at tsoft dot com 2011-02-03 21:46 ` [Bug c++/12461] " yuri at tsoft dot com ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: yuri at tsoft dot com @ 2011-02-03 21:44 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12461 Summary: gdb unable to print char* values in Solaris-10/i386 Product: gdb Version: 7.2 Status: NEW Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned@sourceware.org ReportedBy: yuri@tsoft.com I can't print in gdb the value of std::string: normally in linux it prints ok, but on Solaris I see this: > p var._M_dataplus._M_p > $14 = 0x9e7120c <error reading variable> But when I try to read the first part of it as pointer it prints value corresponding to characters: > p *(int**)var._M_dataplus._M_p > $16 = (int *) 0x74706f2f -- 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/12461] gdb unable to print char* values in Solaris-10/i386 2011-02-03 21:44 [Bug c++/12461] New: gdb unable to print char* values in Solaris-10/i386 yuri at tsoft dot com @ 2011-02-03 21:46 ` yuri at tsoft dot com 2011-08-19 16:07 ` tromey at redhat dot com 2022-12-23 19:30 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: yuri at tsoft dot com @ 2011-02-03 21:46 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12461 --- Comment #1 from yuri at tsoft dot com 2011-02-03 21:45:48 UTC --- I need to add that I compiled gdb from sources -- not from package. Also the easiest way to run Solaris 10 is to download Solaris VirtualBox appliance from oracle.com. -- 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/12461] gdb unable to print char* values in Solaris-10/i386 2011-02-03 21:44 [Bug c++/12461] New: gdb unable to print char* values in Solaris-10/i386 yuri at tsoft dot com 2011-02-03 21:46 ` [Bug c++/12461] " yuri at tsoft dot com @ 2011-08-19 16:07 ` tromey at redhat dot com 2022-12-23 19:30 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at redhat dot com @ 2011-08-19 16:07 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12461 Tom Tromey <tromey at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING CC| |tromey at redhat dot com --- Comment #2 from Tom Tromey <tromey at redhat dot com> 2011-08-19 15:49:14 UTC --- Could you possibly try gdb 7.3, or CVS gdb? Some changes were made to iconv configury that might possibly affect this. -- 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/12461] gdb unable to print char* values in Solaris-10/i386 2011-02-03 21:44 [Bug c++/12461] New: gdb unable to print char* values in Solaris-10/i386 yuri at tsoft dot com 2011-02-03 21:46 ` [Bug c++/12461] " yuri at tsoft dot com 2011-08-19 16:07 ` tromey at redhat dot com @ 2022-12-23 19:30 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2022-12-23 19:30 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=12461 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org Resolution|--- |OBSOLETE Status|WAITING |RESOLVED --- Comment #3 from Tom Tromey <tromey at sourceware dot org> --- No response in 10 years. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-23 19:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-02-03 21:44 [Bug c++/12461] New: gdb unable to print char* values in Solaris-10/i386 yuri at tsoft dot com 2011-02-03 21:46 ` [Bug c++/12461] " yuri at tsoft dot com 2011-08-19 16:07 ` tromey at redhat dot com 2022-12-23 19:30 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).