Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 210009 Details for
Bug 369594
GDB 7.4 now reports solib events in MI, but no longer in CLI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix
z.patch (text/plain), 2.68 KB, created by
Marc Khouzam
on 2012-01-24 15:24:51 EST
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Marc Khouzam
Created:
2012-01-24 15:24:51 EST
Size:
2.68 KB
patch
obsolete
>From fb0f9fd87a22bad556e890159ea1f3876a5409b9 Tue, 24 Jan 2012 15:24:21 -0500 >From: Marc Khouzam <marc.khouzam@ericsson.com> >Date: Tue, 24 Jan 2012 15:24:04 -0500 >Subject: [PATCH] Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI > >diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java >index 3eb0cc8..494f4e8 100644 >--- a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java >+++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/RxThread.java >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2010 QNX Software Systems and others. >+ * Copyright (c) 2000, 2012 QNX Software Systems and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -9,6 +9,7 @@ > * QNX Software Systems - Initial API and implementation > * Norbert Ploett, Siemens AG - fix for bug 119370 > * Hewlett-Packard Development Company - fix for bug 109733 (null check in setPrompt) >+ * Marc Khouzam (Ericsson) - Bug 369594: GDB 7.4 now reports solib events in MI, but no longer in CLI > *******************************************************************************/ > package org.eclipse.cdt.debug.mi.core; > >@@ -306,7 +307,7 @@ > } > > // GDB does not provide reason when stopping on a shared library >- // event or because of a catchpoint (in gdb < 7.0). >+ // event (gdb < 7.4) or because of a catchpoint (in gdb < 7.0). > // Hopefully this will be fixed in a future version. Meanwhile, > // we will use a hack to cope. On most platform we can detect by > // looking at the console stream for phrase. Although it is a >@@ -427,8 +428,8 @@ > } > } > } >- // GDB does not have reason when stopping on shared, hopefully >- // this will be fix in newer version meanwhile, we will use a hack >+ // GDB does not have reason when stopping on shared (gdb < 7.4) >+ // we will use a hack > // to cope. On most platform we can detect this state by looking at the > // console stream for the phrase: > // ~"Stopped due to shared library event\n" >@@ -533,7 +534,7 @@ > event = new MIInferiorSignalExitEvent(session, rr); > } > session.getMIInferior().setTerminated(0,false); >- } else if ("shlib-event".equals(reason)) { //$NON-NLS-1$ >+ } else if ("solib-event".equals(reason)) { //$NON-NLS-1$ > if (exec != null) { > event = new MISharedLibEvent(session, exec); > } else if (rr != null) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
marc.khouzam
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 369594
:
210009
|
210615