public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13417] New: linespecs dont' accept operator<
@ 2011-11-17 19:01 tromey at redhat dot com
2011-11-18 14:06 ` [Bug c++/13417] " tromey at redhat dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-11-17 19:01 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13417
Bug #: 13417
Summary: linespecs dont' accept operator<
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
I ran a script to generate all the symbols from a C++ library:
nm --demangle libwebkitgtk-1.0.so.0.7.2.debug | sed -n 's/^.* [tT]
\(.*\)$/break \1/p' > /tmp/L
Then I sourced this script into gdb. It failed like:
/tmp/L:4187: Error in sourced command file:
malformed template specification in command
This line says:
break JSC::operator<(JSC::UString const&, JSC::UString const&)
linespec is trying to match the end of the template here, but it
doesn't recognize that this is in fact not a template.
--
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++/13417] linespecs dont' accept operator<
2011-11-17 19:01 [Bug c++/13417] New: linespecs dont' accept operator< tromey at redhat dot com
@ 2011-11-18 14:06 ` tromey at redhat dot com
2012-03-20 22:51 ` keiths at redhat dot com
2012-05-22 0:53 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2011-11-18 14:06 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13417
--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-11-18 14:06:13 UTC ---
Also affects
break WebCore::TextStream::operator<<(char const*)
--
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++/13417] linespecs dont' accept operator<
2011-11-17 19:01 [Bug c++/13417] New: linespecs dont' accept operator< tromey at redhat dot com
2011-11-18 14:06 ` [Bug c++/13417] " tromey at redhat dot com
@ 2012-03-20 22:51 ` keiths at redhat dot com
2012-05-22 0:53 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: keiths at redhat dot com @ 2012-03-20 22:51 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13417
Keith Seitz <keiths at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |keiths at redhat dot com
AssignedTo|unassigned at sourceware |keiths at redhat dot com
|dot org |
--- Comment #2 from Keith Seitz <keiths at redhat dot com> 2012-03-20 22:51:01 UTC ---
The pending linespec rewrite fixes this. From archer-keiths-linespec-rewrite:
(gdb) break JSC::operator<(JSC::UString const&, JSC::UString const&)
Breakpoint 1 at 0x13c4490: file Source/JavaScriptCore/wtf/RefPtr.h, line 68.
(gdb) break WebCore::TextStream::operator<<(char const*)
Breakpoint 2 at 0xb255f0: file Source/WebCore/platform/text/TextStream.cpp,
line 86.
(gdb) inf br
Num Type Disp Enb Address What
1 breakpoint keep y 0x00000000013c4490 in
JSC::operator<(JSC::UString const&, JSC::UString const&) at
Source/JavaScriptCore/wtf/RefPtr.h:68
2 breakpoint keep y 0x0000000000b255f0 in
WebCore::TextStream::operator<<(char const*) at
Source/WebCore/platform/text/TextStream.cpp:86
--
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++/13417] linespecs dont' accept operator<
2011-11-17 19:01 [Bug c++/13417] New: linespecs dont' accept operator< tromey at redhat dot com
2011-11-18 14:06 ` [Bug c++/13417] " tromey at redhat dot com
2012-03-20 22:51 ` keiths at redhat dot com
@ 2012-05-22 0:53 ` tromey at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-05-22 0:53 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=13417
Tom Tromey <tromey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |7.5
--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-05-22 00:52:54 UTC ---
Fixed.
--
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
end of thread, other threads:[~2012-05-22 0:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-17 19:01 [Bug c++/13417] New: linespecs dont' accept operator< tromey at redhat dot com
2011-11-18 14:06 ` [Bug c++/13417] " tromey at redhat dot com
2012-03-20 22:51 ` keiths at redhat dot com
2012-05-22 0:53 ` tromey at redhat dot com
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).