summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-03-25 15:37:56 +0000
committerTamas Berghammer <tberghammer@google.com>2015-03-25 15:37:56 +0000
commitd542efde8b773e1fd3e99bf5fe0797de6210f94b (patch)
tree545fd9cb30c3c13c1eb67b6fc34334aab0f85b69 /lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
parent327ec24b4d9f6cbbc5be60e53157a809259d0ab1 (diff)
downloadbcm5719-llvm-d542efde8b773e1fd3e99bf5fe0797de6210f94b.tar.gz
bcm5719-llvm-d542efde8b773e1fd3e99bf5fe0797de6210f94b.zip
Remove virtual and add override for lots of function.
Effeted pathes: * Host/posix/* * Platform/gdb-server/* * Process/Linux/* * Process/POSIX/* llvm-svn: 233193
Diffstat (limited to 'lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h')
-rw-r--r--lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h170
1 files changed, 85 insertions, 85 deletions
diff --git a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
index a920cf5ffac..cb3257ad699 100644
--- a/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
+++ b/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
@@ -47,14 +47,14 @@ public:
//------------------------------------------------------------
// lldb_private::PluginInterface functions
//------------------------------------------------------------
- virtual lldb_private::ConstString
- GetPluginName()
+ lldb_private::ConstString
+ GetPluginName() override
{
return GetPluginNameStatic();
}
- virtual uint32_t
- GetPluginVersion()
+ uint32_t
+ GetPluginVersion() override
{
return 1;
}
@@ -63,158 +63,158 @@ public:
//------------------------------------------------------------
// lldb_private::Platform functions
//------------------------------------------------------------
- virtual lldb_private::Error
+ lldb_private::Error
ResolveExecutable (const lldb_private::ModuleSpec &module_spec,
lldb::ModuleSP &module_sp,
- const lldb_private::FileSpecList *module_search_paths_ptr);
+ const lldb_private::FileSpecList *module_search_paths_ptr) override;
- virtual bool
+ bool
GetModuleSpec (const lldb_private::FileSpec& module_file_spec,
const lldb_private::ArchSpec& arch,
- lldb_private::ModuleSpec &module_spec);
+ lldb_private::ModuleSpec &module_spec) override;
- virtual const char *
- GetDescription ();
+ const char *
+ GetDescription () override;
- virtual lldb_private::Error
+ lldb_private::Error
GetFileWithUUID (const lldb_private::FileSpec &platform_file,
const lldb_private::UUID *uuid_ptr,
- lldb_private::FileSpec &local_file);
+ lldb_private::FileSpec &local_file) override;
- virtual bool
+ bool
GetProcessInfo (lldb::pid_t pid,
- lldb_private::ProcessInstanceInfo &proc_info);
+ lldb_private::ProcessInstanceInfo &proc_info) override;
- virtual uint32_t
+ uint32_t
FindProcesses (const lldb_private::ProcessInstanceInfoMatch &match_info,
- lldb_private::ProcessInstanceInfoList &process_infos);
+ lldb_private::ProcessInstanceInfoList &process_infos) override;
- virtual lldb_private::Error
- LaunchProcess (lldb_private::ProcessLaunchInfo &launch_info);
+ lldb_private::Error
+ LaunchProcess (lldb_private::ProcessLaunchInfo &launch_info) override;
- virtual lldb_private::Error
- KillProcess (const lldb::pid_t pid);
+ lldb_private::Error
+ KillProcess (const lldb::pid_t pid) override;
- virtual lldb::ProcessSP
+ lldb::ProcessSP
DebugProcess (lldb_private::ProcessLaunchInfo &launch_info,
lldb_private::Debugger &debugger,
lldb_private::Target *target, // Can be NULL, if NULL create a new target, else use existing one
- lldb_private::Error &error);
+ lldb_private::Error &error) override;
- virtual lldb::ProcessSP
+ lldb::ProcessSP
Attach (lldb_private::ProcessAttachInfo &attach_info,
lldb_private::Debugger &debugger,
lldb_private::Target *target, // Can be NULL, if NULL create a new target, else use existing one
- lldb_private::Error &error);
+ lldb_private::Error &error) override;
- virtual bool
- GetSupportedArchitectureAtIndex (uint32_t idx, lldb_private::ArchSpec &arch);
+ bool
+ GetSupportedArchitectureAtIndex (uint32_t idx, lldb_private::ArchSpec &arch) override;
- virtual size_t
+ size_t
GetSoftwareBreakpointTrapOpcode (lldb_private::Target &target,
- lldb_private::BreakpointSite *bp_site);
+ lldb_private::BreakpointSite *bp_site) override;
- virtual bool
- GetRemoteOSVersion ();
+ bool
+ GetRemoteOSVersion () override;
- virtual bool
- GetRemoteOSBuildString (std::string &s);
+ bool
+ GetRemoteOSBuildString (std::string &s) override;
- virtual bool
- GetRemoteOSKernelDescription (std::string &s);
+ bool
+ GetRemoteOSKernelDescription (std::string &s) override;
// Remote Platform subclasses need to override this function
- virtual lldb_private::ArchSpec
- GetRemoteSystemArchitecture ();
+ lldb_private::ArchSpec
+ GetRemoteSystemArchitecture () override;
- virtual lldb_private::ConstString
- GetRemoteWorkingDirectory();
+ lldb_private::ConstString
+ GetRemoteWorkingDirectory() override;
- virtual bool
- SetRemoteWorkingDirectory(const lldb_private::ConstString &path);
+ bool
+ SetRemoteWorkingDirectory(const lldb_private::ConstString &path) override;
// Remote subclasses should override this and return a valid instance
// name if connected.
- virtual const char *
- GetHostname ();
+ const char *
+ GetHostname () override;
- virtual const char *
- GetUserName (uint32_t uid);
+ const char *
+ GetUserName (uint32_t uid) override;
- virtual const char *
- GetGroupName (uint32_t gid);
+ const char *
+ GetGroupName (uint32_t gid) override;
- virtual bool
- IsConnected () const;
+ bool
+ IsConnected () const override;
- virtual lldb_private::Error
- ConnectRemote (lldb_private::Args& args);
+ lldb_private::Error
+ ConnectRemote (lldb_private::Args& args) override;
- virtual lldb_private::Error
- DisconnectRemote ();
+ lldb_private::Error
+ DisconnectRemote () override;
- virtual lldb_private::Error
- MakeDirectory (const char *path, uint32_t file_permissions);
+ lldb_private::Error
+ MakeDirectory (const char *path, uint32_t file_permissions) override;
- virtual lldb_private::Error
- GetFilePermissions (const char *path, uint32_t &file_permissions);
+ lldb_private::Error
+ GetFilePermissions (const char *path, uint32_t &file_permissions) override;
- virtual lldb_private::Error
- SetFilePermissions (const char *path, uint32_t file_permissions);
+ lldb_private::Error
+ SetFilePermissions (const char *path, uint32_t file_permissions) override;
- virtual lldb::user_id_t
+ lldb::user_id_t
OpenFile (const lldb_private::FileSpec& file_spec,
uint32_t flags,
uint32_t mode,
- lldb_private::Error &error);
+ lldb_private::Error &error) override;
- virtual bool
+ bool
CloseFile (lldb::user_id_t fd,
- lldb_private::Error &error);
+ lldb_private::Error &error) override;
- virtual uint64_t
+ uint64_t
ReadFile (lldb::user_id_t fd,
uint64_t offset,
void *data_ptr,
uint64_t len,
- lldb_private::Error &error);
+ lldb_private::Error &error) override;
- virtual uint64_t
+ uint64_t
WriteFile (lldb::user_id_t fd,
uint64_t offset,
const void* data,
uint64_t len,
- lldb_private::Error &error);
+ lldb_private::Error &error) override;
- virtual lldb::user_id_t
- GetFileSize (const lldb_private::FileSpec& file_spec);
+ lldb::user_id_t
+ GetFileSize (const lldb_private::FileSpec& file_spec) override;
- virtual lldb_private::Error
+ lldb_private::Error
PutFile (const lldb_private::FileSpec& source,
const lldb_private::FileSpec& destination,
uint32_t uid = UINT32_MAX,
- uint32_t gid = UINT32_MAX);
+ uint32_t gid = UINT32_MAX) override;
- virtual lldb_private::Error
- CreateSymlink (const char *src, const char *dst);
+ lldb_private::Error
+ CreateSymlink (const char *src, const char *dst) override;
- virtual bool
- GetFileExists (const lldb_private::FileSpec& file_spec);
+ bool
+ GetFileExists (const lldb_private::FileSpec& file_spec) override;
- virtual lldb_private::Error
- Unlink (const char *path);
+ lldb_private::Error
+ Unlink (const char *path) override;
- virtual lldb_private::Error
- RunShellCommand (const char *command, // Shouldn't be NULL
- const char *working_dir, // Pass NULL to use the current working directory
- int *status_ptr, // Pass NULL if you don't want the process exit status
- int *signo_ptr, // Pass NULL if you don't want the signal that caused the process to exit
- std::string *command_output, // Pass NULL if you don't want the command output
- uint32_t timeout_sec); // Timeout in seconds to wait for shell program to finish
+ lldb_private::Error
+ RunShellCommand (const char *command, // Shouldn't be NULL
+ const char *working_dir, // Pass NULL to use the current working directory
+ int *status_ptr, // Pass NULL if you don't want the process exit status
+ int *signo_ptr, // Pass NULL if you don't want the signal that caused the process to exit
+ std::string *command_output, // Pass NULL if you don't want the command output
+ uint32_t timeout_sec) override; // Timeout in seconds to wait for shell program to finish
- virtual void
- CalculateTrapHandlerSymbolNames ();
+ void
+ CalculateTrapHandlerSymbolNames () override;
protected:
GDBRemoteCommunicationClient m_gdb_client;
OpenPOWER on IntegriCloud