public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/18301] New: add try/catch command to cli
@ 2015-04-22 19:19 dje at google dot com
  2015-04-23  8:50 ` [Bug cli/18301] " palves at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dje at google dot com @ 2015-04-22 19:19 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18301
           Summary: add try/catch command to cli
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

IWBN if gdb's scripting language had a try/catch command.

One use case is being able to do something regardless of whether python is
present (with python one can cope with errors in gdb commands).

"catch" is already a gdb command, so try/except would be better.

try
  foo
except
  bar
end

or some such.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug cli/18301] add try/catch command to cli
  2015-04-22 19:19 [Bug cli/18301] New: add try/catch command to cli dje at google dot com
@ 2015-04-23  8:50 ` palves at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: palves at redhat dot com @ 2015-04-23  8:50 UTC (permalink / raw)
  To: gdb-prs

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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
See Bug 8487.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-23  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 19:19 [Bug cli/18301] New: add try/catch command to cli dje at google dot com
2015-04-23  8:50 ` [Bug cli/18301] " palves 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).