haiku/headers/private/debugger/model
Rene Gollent b65adbdfbc Debugger: Fix #12940.
- Add new interface TeamFunctionSourceInformation. Currently this
  exposes a single function allowing one to query for the currently
  active source code given a FunctionDebugInfo instance.
- Implement TeamFunctionSourceInformation on TeamDebugInfo.
- Pass TeamFunctionSourceInformation to Dwarf{Team,Image}DebugInfo.
  In turn, make use of it in DwarfImageDebugInfo::GetStatement() in
  order to determine whether to return the corresponding assembly
  or source statement.

With this piece of information, the debugger is now correctly able to
determine that the user is currently looking at disassembly despite debug
info being available, and consequently adjust its stepping behavior based on
that. Previously, the source code statement was always used, leading to it
not being possible to single step assembly lines in such a circumstance
without manually using run to cursor.

Other related cleanups:
- TeamDebugInfo now inherits BReferenceable directly, rather than relying on
  indirectly inheriting it from TeamTypeInformation.
- Remove BReferenceable from TeamTypeInformation. The latter is only an
  interface anyways, and inheriting that base class from multiple locations
  was causing GCC5 trouble when resolving BReference<TeamDebugInfo>, even
  when virtual inheritance was used.
2016-09-13 22:14:10 -04:00
..
AreaInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Breakpoint.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
DisassembledCode.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
ExpressionInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
ExpressionValues.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
FileSourceCode.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Image.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
ImageInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
LineDataSource.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
ReturnValueInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SemaphoreInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SignalInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SourceCode.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
StackFrame.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
StackFrameValueInfos.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
StackFrameValues.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
StackTrace.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Statement.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SymbolInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SyntheticPrimitiveType.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SyscallInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
SystemInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TargetHost.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Team.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TeamFunctionSourceInformation.h Debugger: Fix #12940. 2016-09-13 22:14:10 -04:00
TeamInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TeamMemory.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TeamMemoryBlock.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TeamTypeInformation.h Debugger: Fix #12940. 2016-09-13 22:14:10 -04:00
Thread.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
ThreadInfo.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Type.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TypeComponentPath.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
TypeLookupConstraints.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
UserBreakpoint.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Variable.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00
Watchpoint.h Debugger: Split into core library and application. 2016-06-04 13:18:39 -04:00