| Summary: | GDB 7.4 now reports solib events in MI, but no longer in CLI | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> | ||||||
| Component: | cdt-debug-cdi-gdb | Assignee: | Marc Khouzam <marc.khouzam> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Elena Laskavaia <elaskavaia.cdt> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, nobody, pawel.1.piech | ||||||
| Version: | 8.0 | Flags: | nobody:
review+
|
||||||
| Target Milestone: | 8.0.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Marc Khouzam
The result of this bug is that CDI, with GDB 7.4 will always stop at every solib event, even if the user didn't choose that option. Created attachment 210009 [details]
Fix
Fix to look for the 'solib-event' reason.
I think this should go both into master and cdt_8_0
Mikhail, can you review and let me know if you agree? This brought to my attention by Tom Tromey: http://sourceware.org/ml/gdb-patches/2012-01/msg00828.html BTW, this is not a problem with DSF because we don't do anything with solib-event yet: Bug 309704 (In reply to comment #3) > Mikhail, can you review and let me know if you agree? > > This brought to my attention by Tom Tromey: > http://sourceware.org/ml/gdb-patches/2012-01/msg00828.html Hi Mikhail, any opinion on this one-line fix for CDI, I would like to put it in the 8.0.2 release which is next Monday. If you don't have time to review, I'll commit this later this week, as I think it is pretty safe. Thanks (In reply to comment #5) > (In reply to comment #3) > > Mikhail, can you review and let me know if you agree? > > > > This brought to my attention by Tom Tromey: > > http://sourceware.org/ml/gdb-patches/2012-01/msg00828.html > > Hi Mikhail, > > any opinion on this one-line fix for CDI, I would like to put it in the 8.0.2 > release which is next Monday. > > If you don't have time to review, I'll commit this later this week, as I think > it is pretty safe. Marc, Sorry, I've lost the review reminder. I don't remember why we are looking for 'shlib-event' and want to uderstand it first. Will do it later today. Thanks. (In reply to comment #6) > Marc, > Sorry, I've lost the review reminder. I don't remember why we are looking for > 'shlib-event' and want to uderstand it first. Will do it later today. > Thanks. Actually, you are right. Why not play it safe and do: } else if ("shlib-event".equals(reason) || "solib-event".equals(reason)) { instead of removing the "shlib-event". I'd feel safer with that anyway. Created attachment 210615 [details]
Safer fix
Here is the safer fix.
Let me know what you think.
Thanks
(In reply to comment #8) > Created attachment 210615 [details] > Safer fix > > Here is the safer fix. > Let me know what you think. > > Thanks Yes, this is a better solution. The only link to "shlib-event" (except this discussion) I found was http://permalink.gmane.org/gmane.comp.gdb.devel/6063. It seems that it was and maybe is still used by Apple's GDB. Thanks Mikhail. I have committed the "safer fix" patch to both master and cdt_8_0. *** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8a73a23e9d27e3b2065394ef76c0e722226cf700
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8a73a23e9d27e3b2065394ef76c0e722226cf700
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8a73a23e9d27e3b2065394ef76c0e722226cf700
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8a73a23e9d27e3b2065394ef76c0e722226cf700
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=dbdee9975bbfd8f3608cfe817f2012c8314ef3f3
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=dbdee9975bbfd8f3608cfe817f2012c8314ef3f3
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=dbdee9975bbfd8f3608cfe817f2012c8314ef3f3
*** cdt git genie on behalf of Marc Khouzam ***
Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=dbdee9975bbfd8f3608cfe817f2012c8314ef3f3
|