Summary: | cannot step in catch block after exception is thrown | ||
---|---|---|---|
Product: | gdb | Reporter: | Toma Bilius <Toma.Bilius> |
Component: | breakpoints | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | sergiodj, Toma.Bilius |
Priority: | P2 | ||
Version: | 7.4 | ||
Target Milestone: | --- | ||
Host: | Target: | arm-elf | |
Build: | Last reconfirmed: |
Description
Toma Bilius
2013-10-25 15:51:47 UTC
Thanks for the report. Would it be possible for you to test with a more recent GDB and GCC? I think I implemented the support for this on ARM last year, but you will need a recent GDB with support to SystemTap SDT probes (and a recent GCC/libgcc too). (In reply to Sergio Durigan Junior from comment #1) > Thanks for the report. Would it be possible for you to test with a more > recent GDB and GCC? I think I implemented the support for this on ARM last > year, but you will need a recent GDB with support to SystemTap SDT probes > (and a recent GCC/libgcc too). I tested with GDB 7.6.1 and the behavior is the same (compiler version is 4.6.3). Unfortunately updating the compiler is a more complex task for our project. Does the new version of GCC insert a default probe that GDB will look after when installing the breakpoints? Thank you. (In reply to Toma Bilius from comment #2) > I tested with GDB 7.6.1 and the behavior is the same (compiler version is > 4.6.3). Unfortunately updating the compiler is a more complex task for our > project. Does the new version of GCC insert a default probe that GDB will > look after when installing the breakpoints? Yeah, just updating GDB won't solve the problem. It needs support from the GCC side (libgcc specifically), and you won't have it until you update GCC. Newer versions of GCC provide a probe located at libgcc which makes it possible for GDB to do what you want. I implemented it with the following patch: <http://gcc.gnu.org/ml/gcc-patches/2011-11/msg02246.html> As you can see there, before the patch libgcc for ARM did not provide even _Unwind_DebugHook, so it is not possible to use it even without probes... I can't think of anything you could do except updating the GCC version you are using (maybe someone else can, let's wait to see if others can say something about this). If nobody answers in a few days, I will close this as INVALID because it is not GDB's fault, and because your GCC version does not provide the necessary infrastructure unfortunately. But please, don't hesitate to reopen this bug if you have some new information about this. Thanks. Ops, I meant to say that I was going to close this bug now. Reopen if needed, please. (In reply to Sergio Durigan Junior from comment #4) > Ops, I meant to say that I was going to close this bug now. Reopen if > needed, please. Ok, thank you for your input. |