v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::gdb_server::Session Class Reference

#include <session.h>

Collaboration diagram for v8::internal::wasm::gdb_server::Session:

Public Member Functions

 Session (TransportBase *transport)
 
 Session (const Session &)=delete
 
Sessionoperator= (const Session &)=delete
 
bool SendPacket (Packet *packet, bool expect_ack=true)
 
bool GetPacket (Packet *packet)
 
bool IsDataAvailable () const
 
bool IsConnected () const
 
void Disconnect ()
 
void WaitForDebugStubEvent ()
 
bool SignalThreadEvent ()
 
void EnableAck (bool ack_enabled)
 

Private Member Functions

bool GetChar (char *ch)
 
bool GetPayload (Packet *pkt, uint8_t *checksum)
 

Private Attributes

TransportBaseio_
 
bool connected_
 
bool ack_enabled_
 

Detailed Description

Definition at line 19 of file session.h.

Constructor & Destructor Documentation

◆ Session() [1/2]

v8::internal::wasm::gdb_server::Session::Session ( TransportBase * transport)
explicit

Definition at line 14 of file session.cc.

◆ Session() [2/2]

v8::internal::wasm::gdb_server::Session::Session ( const Session & )
delete

Member Function Documentation

◆ Disconnect()

void v8::internal::wasm::gdb_server::Session::Disconnect ( )

Definition at line 25 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnableAck()

void v8::internal::wasm::gdb_server::Session::EnableAck ( bool ack_enabled)
inline

Definition at line 54 of file session.h.

◆ GetChar()

bool v8::internal::wasm::gdb_server::Session::GetChar ( char * ch)
private

Definition at line 30 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPacket()

bool v8::internal::wasm::gdb_server::Session::GetPacket ( Packet * packet)

Definition at line 91 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPayload()

bool v8::internal::wasm::gdb_server::Session::GetPayload ( Packet * pkt,
uint8_t * checksum )
private

Definition at line 67 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsConnected()

bool v8::internal::wasm::gdb_server::Session::IsConnected ( ) const

Definition at line 23 of file session.cc.

Here is the caller graph for this function:

◆ IsDataAvailable()

bool v8::internal::wasm::gdb_server::Session::IsDataAvailable ( ) const

Definition at line 21 of file session.cc.

Here is the call graph for this function:

◆ operator=()

Session & v8::internal::wasm::gdb_server::Session::operator= ( const Session & )
delete

◆ SendPacket()

bool v8::internal::wasm::gdb_server::Session::SendPacket ( Packet * packet,
bool expect_ack = true )

Definition at line 39 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SignalThreadEvent()

bool v8::internal::wasm::gdb_server::Session::SignalThreadEvent ( )

Definition at line 19 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WaitForDebugStubEvent()

void v8::internal::wasm::gdb_server::Session::WaitForDebugStubEvent ( )

Definition at line 17 of file session.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ack_enabled_

bool v8::internal::wasm::gdb_server::Session::ack_enabled_
private

Definition at line 65 of file session.h.

◆ connected_

bool v8::internal::wasm::gdb_server::Session::connected_
private

Definition at line 64 of file session.h.

◆ io_

TransportBase* v8::internal::wasm::gdb_server::Session::io_
private

Definition at line 63 of file session.h.


The documentation for this class was generated from the following files: