2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef BASIC_FUNCTION_DEBUG_INFO_H
6 #define BASIC_FUNCTION_DEBUG_INFO_H
10 #include "FunctionDebugInfo.h"
13 class BasicFunctionDebugInfo
: public FunctionDebugInfo
{
15 BasicFunctionDebugInfo(
16 SpecificImageDebugInfo
* imageDebugInfo
,
17 target_addr_t address
,
20 const BString
& prettyName
);
21 virtual ~BasicFunctionDebugInfo();
23 virtual SpecificImageDebugInfo
* GetSpecificImageDebugInfo() const;
24 virtual target_addr_t
Address() const;
25 virtual target_size_t
Size() const;
26 virtual const BString
& Name() const;
27 virtual const BString
& PrettyName() const;
29 virtual bool IsMain() const;
31 virtual LocatableFile
* SourceFile() const;
32 virtual SourceLocation
SourceStartLocation() const;
33 virtual SourceLocation
SourceEndLocation() const;
36 SpecificImageDebugInfo
* fImageDebugInfo
;
37 target_addr_t fAddress
;
40 const BString fPrettyName
;
44 #endif // BASIC_FUNCTION_DEBUG_INFO_H