fce4895d18
- Add subfolder src/kits/debugger which contains the debugger's core functionality and lower layers. Correspondingly add headers/private/debugger for shared headers to be used by clients such as the Debugger application and eventual remote_debug_server. Adjust various files to account for differences as a result of the split and moves. - Add libdebugger.so to minimal Jamfile.
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
/*
|
|
* Copyright 2013, Rene Gollent, rene@gollent.com.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef SYSCALL_INFO_H
|
|
#define SYSCALL_INFO_H
|
|
|
|
#include "Types.h"
|
|
|
|
|
|
class SyscallInfo {
|
|
public:
|
|
SyscallInfo();
|
|
SyscallInfo(const SyscallInfo& other);
|
|
SyscallInfo(bigtime_t startTime,
|
|
bigtime_t endTime,
|
|
uint64 returnValue,
|
|
uint32 syscall,
|
|
const uint8* args);
|
|
|
|
void SetTo(bigtime_t startTime,
|
|
bigtime_t endTime,
|
|
uint64 returnValue,
|
|
uint32 syscall,
|
|
const uint8* args);
|
|
|
|
bigtime_t StartTime() const { return fStartTime; }
|
|
bigtime_t EndTime() const { return fEndTime; }
|
|
uint64 ReturnValue() const { return fReturnValue; }
|
|
uint32 Syscall() const { return fSyscall; }
|
|
|
|
const uint8* Arguments() const { return fArguments; }
|
|
|
|
private:
|
|
bigtime_t fStartTime;
|
|
bigtime_t fEndTime;
|
|
uint64 fReturnValue;
|
|
uint32 fSyscall;
|
|
uint8 fArguments[128];
|
|
};
|
|
|
|
|
|
#endif // SYSCALL_INFO_H
|