| Summary: | Cannot use 'kill' in a post-mortem session | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> | ||||
| Component: | cdt-debug-dsf-gdb | Assignee: | Marc Khouzam <marc.khouzam> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Marc Khouzam <marc.khouzam> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug, john.cortell, pawel.1.piech | ||||
| Version: | 8.0 | Flags: | john.cortell:
review+
|
||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Marc Khouzam
Created attachment 192432 [details]
Fix
This patch checks if we are dealing with a post-mortem session, and if so, a terminate request will always terminate GDB, instead of trying 'kill' on the inferior.
Committed to HEAD.
Fixed. John, can you review? (3 lines) *** cdt cvs genie on behalf of mkhouzam *** Bug 339591: Cannot use 'kill' in a post-mortem session [*] GDBProcesses.java 1.24 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses.java?root=Tools_Project&r1=1.23&r2=1.24 [*] GDBProcesses_7_0.java 1.47 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBProcesses_7_0.java?root=Tools_Project&r1=1.46&r2=1.47 Looks good to me |