haiku/headers
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
..
build Added some support for GCC 7. 2016-05-05 18:20:26 +02:00
clang Import lib/Headers from Clang 2015-11-09 18:01:18 +01:00
compatibility build: Convert to external libedit build package 2015-07-04 15:29:05 -05:00
config ARM: Be aware of ARMEL and ARMEL 2014-01-01 23:41:02 -07:00
cpp build fix. 2015-11-12 22:24:16 +01:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs headers/libs/mesa: Remove. 2016-07-29 18:41:30 -04:00
os elf.h: add some defines from Linux version 2016-08-27 09:10:01 +02:00
posix Remove pthread.h include from netdb.h 2016-08-27 09:04:22 +02:00
private Debugger: Fix #12940. 2016-09-13 22:14:10 -04:00
tools Revert "cppunit: Enable elf symbol patching for Haiku." 2016-06-18 18:57:48 -04:00