public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26996] New: document command in multi-line context doesn't work
@ 2020-12-02 14:35 simark at simark dot ca
  2020-12-02 14:36 ` [Bug gdb/26996] " simark at simark dot ca
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: simark at simark dot ca @ 2020-12-02 14:35 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26996
           Summary: document command in multi-line context doesn't work
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: simark at simark dot ca
  Target Milestone: ---

While it's possible to have a multi-line define inside a define:

(gdb) define define-my-command
Type commands for definition of "define-my-command".
End with a line saying just "end".
>define my-command
 >print 1
 >end
>end

It's not possible to have a multi-line document inside a define in a similar
way:

(gdb) define document-my-command
Type commands for definition of "document-my-command".
End with a line saying just "end".
>document my-command
>end

-- 
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:[~2021-05-09 23:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 14:35 [Bug gdb/26996] New: document command in multi-line context doesn't work simark at simark dot ca
2020-12-02 14:36 ` [Bug gdb/26996] " simark at simark dot ca
2020-12-16  3:11 ` rae.kim at gmail dot com
2021-05-09 23:58 ` brobecker at gnat 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).