dje at google dot com
2015-04-22 19:19:32 UTC
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.
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.
You are receiving this mail because:
You are on the CC list for the bug.