Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312846 - ENABLE_DebugContext is required for a number of other capabilities
Summary: ENABLE_DebugContext is required for a number of other capabilities
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.3   Edit
Assignee: Project Inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 17:41 EDT by Peder Andersen CLA
Modified: 2013-06-05 06:27 EDT (History)
2 users (show)

See Also:


Attachments
Fix for ENABLE_Symbols dependency (1.88 KB, patch)
2010-05-13 17:43 EDT, Peder Andersen CLA
mober.at+eclipse: iplog-
Details | Diff
Fix for ENABLE_LineNumbersProxy dependency (1.58 KB, patch)
2010-05-13 17:51 EDT, Peder Andersen CLA
mober.at+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peder Andersen CLA 2010-05-13 17:41:38 EDT
Build Identifier: http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk@958

When compiling an agent without ENABLE_DebugContext, you'll run into a number of errors, for example:
> In file included from services/diagnostics.c:31:
> services/symbols.h:165: error: expected declaration specifiers or '...' before 'StackFrame'


Reproducible: Always

Steps to Reproduce:
1.make CFLAGS='-DENABLE_DebugContext=0 -DENABLE_ELF=0 -DSERVICE_StackTrace=0 -DSERVICE_Breakpoints=0 -DSERVICE_Memory=0 -DSERVICE_Registers=0 -DSERVICE_RunControl=0 -DSERVICE_LineNumbers=0 -DSERVICE_Processes=0 -DSERVICE_Expressions=0 -DSERVICE_MemoryMap=0'
Comment 1 Peder Andersen CLA 2010-05-13 17:43:08 EDT
Created attachment 168479 [details]
Fix for ENABLE_Symbols dependency

Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Comment 2 Peder Andersen CLA 2010-05-13 17:49:19 EDT
(In reply to comment #0)
> Steps to Reproduce:
> 1.make CFLAGS='-DENABLE_DebugContext=0 -DENABLE_ELF=0 -DSERVICE_StackTrace=0
> -DSERVICE_Breakpoints=0 -DSERVICE_Memory=0 -DSERVICE_Registers=0
> -DSERVICE_RunControl=0 -DSERVICE_LineNumbers=0 -DSERVICE_Processes=0
> -DSERVICE_Expressions=0 -DSERVICE_MemoryMap=0'

Actually, this was seen building for VxWorks targets, which means it also requires -DENABLE_SymbolsProxy=1 asserted to reproduce.
Comment 3 Peder Andersen CLA 2010-05-13 17:51:44 EDT
Created attachment 168480 [details]
Fix for ENABLE_LineNumbersProxy dependency

This is the other ENABLE switch I found which was really dependent on DebugContext.


Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Comment 4 Eugene Tarassov CLA 2010-05-18 17:17:51 EDT
Fixed. I have made sightly different changes to achieve same result.

Thanks
Comment 5 Martin Oberhuber CLA 2010-05-28 14:00:59 EDT
Comment on attachment 168479 [details]
Fix for ENABLE_Symbols dependency

Marking iplog- as a reminder that this patch was not used.
Comment 6 Martin Oberhuber CLA 2010-05-28 14:01:11 EDT
Comment on attachment 168480 [details]
Fix for ENABLE_LineNumbersProxy dependency

Marking iplog- as a reminder that this patch was not used.
Comment 7 Martin Oberhuber CLA 2010-05-28 14:09:03 EDT
Bulk update: Marking all TCF fixes from the Helios period (2009-06-29 until 2010-06-01) as target 3.2 since they go through release review along with the TM 3.2 release.
Comment 8 Doug Schaefer CLA 2011-05-17 10:50:16 EDT
Moving bugs to new home for IP log.
Comment 9 Martin Oberhuber CLA 2013-05-23 19:44:10 EDT
Comment on attachment 168479 [details]
Fix for ENABLE_Symbols dependency

Marking patch obsolete since it was not used.
Comment 10 Martin Oberhuber CLA 2013-05-23 19:44:27 EDT
Comment on attachment 168480 [details]
Fix for ENABLE_LineNumbersProxy dependency

Marking patch obsolete since it was not used.
Comment 11 Martin Oberhuber CLA 2013-06-05 06:27:57 EDT
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3