Summary: | help catch is outdated regarding C++ exceptions | ||
---|---|---|---|
Product: | gdb | Reporter: | Phil Muldoon <pmuldoon> |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | gdb-prs, mark, tromey |
Priority: | P3 | ||
Version: | 6.8 | ||
Target Milestone: | 7.5 | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Phil Muldoon
2008-08-05 15:08:02 UTC
Fix: The generic section of catch catch/throw needs to be deleted while preserving the C++ specific text. Or instead of removing the help text about being able to handle only named catch/throws, implement the <exceptionname> feature. It actually looks useful. I was a little sad it didn't work after reading the help text. CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2012-01-11 18:30:20 Modified files: gdb : ChangeLog breakpoint.c Log message: PR gdb/9598: * breakpoint.c (_initialize_breakpoint): Fix help for "catch catch" and "catch throw". Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13730&r2=1.13731 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.639&r2=1.640 (In reply to comment #2) > Or instead of removing the help text about being able to handle only named > catch/throws, implement the <exceptionname> feature. It actually looks useful. > I was a little sad it didn't work after reading the help text. I filed PR 13588 for this. Meanwhile, the documentation bug is fixed. |