public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug python/12175] New: show_doc for gdb.Parameter has strange behaviour
@ 2010-10-31 20:53 markflorisson88 at gmail dot com
  2010-10-31 20:53 ` [Bug python/12175] " markflorisson88 at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: markflorisson88 at gmail dot com @ 2010-10-31 20:53 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=12175

           Summary: show_doc for gdb.Parameter has strange behaviour
           Product: gdb
           Version: 7.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
        AssignedTo: unassigned@sourceware.org
        ReportedBy: markflorisson88@gmail.com


The show doc is not shown properly. In the next example the show_doc is totally
different from the output that's actually shown. Not only does it drop
everything after the '.', it also manages to translate 'This' to 'Is'.

(gdb) python
>class Param(gdb.Parameter):
>    show_doc = "This is the show doc. This part is not shown!"
>
>Param("some-param", gdb.COMMAND_NONE, gdb.PARAM_BOOLEAN)
>end
(gdb) show some-param
Is the show doc is off.

-- 
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] 10+ messages in thread

end of thread, other threads:[~2011-03-16 10:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-31 20:53 [Bug python/12175] New: show_doc for gdb.Parameter has strange behaviour markflorisson88 at gmail dot com
2010-10-31 20:53 ` [Bug python/12175] " markflorisson88 at gmail dot com
2010-11-16 12:15 ` pmuldoon at redhat dot com
2010-11-16 12:16 ` pmuldoon at redhat dot com
2010-11-16 14:35 ` pmuldoon at redhat dot com
2010-11-16 15:14 ` pedro at codesourcery dot com
2010-11-16 15:30 ` pmuldoon at redhat dot com
2010-11-16 16:29 ` pedro at codesourcery dot com
2011-03-14 17:57 ` pmuldoon at redhat dot com
2011-03-16 10:29 ` pmuldoon 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).