Services - tools - models - for embedded software development
Embecosm divider strip
Prev  

Index

A

A packet (see RSP packet types)
ABI
OpenRISC 1000 (see OpenRISC 1000)
application layer (see OSI layers)
asynchronous remote debugging, Asynchronous Remote Debugging , GDB Asynchronous Remote Command Dialogs
awatch command (see GDB commands)

B

b packet (see RSP packet types)
B packet (see RSP packet types)
bare metal, The target remote Command , RSP Server Implementation Example , Unsupported Packets , Unsupported Query Packets , Queries About Threads , File Handling
binary data (see RSP packet)
BP_HARDWARE constant, The Matchpoint Hash Table
BP_MEMORY constant, The Matchpoint Hash Table , Matchpoint Handling
break command (see GDB commands)
breakpoint
hardware, The break Command
memory (software), Exception handling , Continuing , Setting Matchpoints , Clearing Matchpoints
implementation for OpenRISC 1000, OpenRISC 1000 GDB Architectural Specification
memory (software) breakpoint, The break Command

C

c packet (see RSP packet types)
C packet (see RSP packet types)
cache (see memory cache)
checksum (see RSP packet)
continue command (see GDB commands)
control-C (see interrupt)
convenience functions, Convenience Functions
binary to hex char conversion, Conversion Between Binary and Hexadecimal Characters
binary to hex char register conversion, Conversion Between Binary and Hexadecimal Character Registers , Reading All Registers
data "unescaping", Data "Unescaping"
fixed string reply packets, Convenience String Packet Output
hex char to binary conversion, Conversion Between Binary and Hexadecimal Characters
hex char to binary register conversion, Conversion Between Binary and Hexadecimal Character Registers , Writing All Registers
next program counter, Setting the Program Counter
cpu_state data structure, Global Data Structures
cpu_state.delay_insn, Setting the Program Counter
cpu_state.pc, Setting the Program Counter , Continuing
cpu_state.regs, Writing All Registers
cpu_state.sprs, Continuing , Writing All Registers , Stepping

D

D packet (see RSP packet types)
d packet (see RSP packet types)
DCFGR (see Debug Configuration Register)
DCR (see Debug Control Register)
Debug Configuration Register (see Special Purpose Register)
Debug Control Register (see Special Purpose Register)
Debug Mode Register (see Special Purpose Register)
Debug Reason Register (see Special Purpose Register)
Debug Stop Register (see Special Purpose Register)
Debug Unit, The OpenRISC 1000 Debug Unit
JTAG interface, The OpenRISC 1000 JTAG Interface
Igor Mohor version, References
ORPSoC version, References
matchpoint, The OpenRISC 1000 Debug Unit
registers (see Special Purpose Register)
watchpoint, The OpenRISC 1000 Debug Unit
watchpoint counter, The OpenRISC 1000 Debug Unit
Debug Value Register (see Special Purpose Register)
Debug Watchpoint Counter Register (see Special Purpose Register)
debug_ignore_exception function , Exception handling
decr_pc_after_break function, The break Command
deprecated packet types (see RSP packet types)
detach command (see GDB commands)
direct serial connection (see serial device connection)
disassemble command (see GDB commands)
disconnect command (see GDB commands)
DMR (see Debug Mode Register)
Doxygen, References
use with RSP server for OpenRISC 1000, Written Documentation
DRR (see Debug Reason Register)
DSR (see Debug Stop Register)
DVR (see Debug Value Register)
DWCR (see Debug Watchpoint Counter Register)

E

Embecosm, About Embecosm
endianism, Glossary
escaped characters (see RSP packet)
eval_direct32 function, Setting Matchpoints
eval_direct8 function, Reading Memory
example
stub code for RSP server (see stub code for RSP server)
exceptionHandler function (see stub code for RSP server)
EXCEPT_NONE constant, Continuing
exec_main function, Top Level Behavior , Exception handling
extended remote debugging, Putting it All Together to Build a Server , Remote Debugging in GDB , GDB Extended Remote Command Dialogs , Simple Packets , Restart the Target , Extended Debugging Support

F

F packet (see RSP packet types)
fixed response packet types for OpenRISC 1000 (see RSP packet)
flash memory, v Packets , Flash Memory
frame pointer
in OpenRISC 1000, Glossary
free function, The Matchpoint Hash Table , Clearing Matchpoints

G

g packet (see RSP packet types)
G packet (see RSP packet types)
GDB
built in variables
$pc, The OpenRISC 1000 Architecture
$ps, The OpenRISC 1000 Architecture
Internals document, References
IRC, Other Information Channels
mailing lists, Other Information Channels
porting, References
Howto, Written Documentation
register specification, OpenRISC 1000 GDB Architectural Specification , Reading All Registers , Writing All Registers
User Guide, Written Documentation , References
website, Other Information Channels
wiki, Other Information Channels
GDB architecture specification, The stepi Command , The cont Command , The break Command , OpenRISC 1000 GDB Architectural Specification
GDB commands
awatch, The watch Command
break, The break Command
continue, Implementing Server Code on the Target , Asynchronous Remote Debugging , The target remote Command , The cont Command , Top Level Behavior , Continuing , Restart the Target
detach, The detach and disconnect Commands , Simple Packets
disassemble, Examining Memory
disconnect, The detach and disconnect Commands
hbreak, The break Command
info spr, Unsupported Query Packets
load, The load Command , Binary Data Transfer
monitor, Unsupported Query Packets
print, Examining Registers
rwatch, The watch Command
spr, Unsupported Query Packets
step, Implementing Server Code on the Target , Asynchronous Remote Debugging , The target remote Command , The stepi Command , The step Command , Top Level Behavior , Continuing , Restart the Target
stepi, The stepi Command
target extended-remote , Session Layer: The Serial Connection , Putting it All Together to Build a Server , Remote Debugging in GDB , The target extended-remote Command
target remote, Session Layer: The Serial Connection , Putting it All Together to Build a Server , Remote Debugging in GDB , The target remote Command
watch, The watch Command
gdbarch_single_step_through_delay function , The stepi Command , The cont Command
gdbserver, Putting it All Together to Build a Server , Using gdbserver
GDB_BUF_MAX constant, Query About Supported Functionality
General Purpose Register, The OpenRISC 1000 Architecture , Glossary
getDebugChar function (see stub code for RSP server)
get_packet function, Getting Packets , High Level Protocol Implementation
get_rsp_char function, Character Input , Sending Packets
GPRs (see General Purpose Register)

I

i packet (see RSP packet types)
I packet (see RSP packet types)
interrupt
from client to server, Interrupt , Implementing Server Code on the Target , Top Level Behavior
IRC (see GDB)

J

JTAG, Glossary (see Debug Unit)
supporting with RSP server, Implementing a Custom Server for JTAG

K

k packet (see RSP packet types)

L

listen function, Establishing the Server Listener Socket
load command (see GDB commands)

M

m packet (see RSP packet types)
M packet (see RSP packet types)
mailing lists (see GDB)
matchpoint, The OpenRISC 1000 Debug Unit , Matchpoint Handling
(see also Debug Unit)
clearing for OpenRISC 1000, Clearing Matchpoints
setting for OpenRISC 1000, Setting Matchpoints
types for OpenRISC 1000, The Matchpoint Hash Table , Matchpoint Handling
memory (software) breakpoint (see breakpoint)
memory cache
limitations with access for OpenRISC 1000, Reading Memory , Writing Memory , Binary Data Transfer , Setting Matchpoints , Clearing Matchpoints
memory management unit
limitations with access for OpenRISC 1000, Reading Memory , Writing Memory , Binary Data Transfer , Setting Matchpoints , Clearing Matchpoints
MMU (see memory management unit)
mp_entry data structure, The Matchpoint Hash Table , Matchpoint Handling , Clearing Matchpoints
mp_hash_add function, The Matchpoint Hash Table , Matchpoint Handling , Setting Matchpoints
mp_hash_delete function, The Matchpoint Hash Table , Matchpoint Handling , Clearing Matchpoints
mp_hash_init function, The Matchpoint Hash Table , Matchpoint Handling
mp_hash_lookup function, The Matchpoint Hash Table , Matchpoint Handling
MP_HASH_SIZE constant, The Matchpoint Hash Table

O

OpenRISC 1000
ABI, OpenRISC 1000 GDB Architectural Specification
argument passing, Application Binary Interface (ABI)
result return register, Application Binary Interface (ABI)
stack frame alignment, Application Binary Interface (ABI)
variations from documented standard, Application Binary Interface (ABI)
architecture, The OpenRISC 1000 Architecture
GPRs (see General Purpose Register)
main memory, The OpenRISC 1000 Architecture
manual, References
SPRs (see Special Purpose Register)
link register, Glossary
tool chain, References
OpenRISC 1000 example, Rationale
Or1ksim, Or1ksim: the OpenRISC 1000 Architectural Simulator
or1ksim-rsp TCP/IP service , Establishing the Server Listener Socket
OR1K_TRAP_INSTR constant, Setting Matchpoints
OSI layers, Overview of the Remote Serial Protocol
application layer, Application Layer: Remote Serial Protocol
presentation layer, Presentation Layer: Packet Transfer
session layer, Session Layer: The Serial Connection

P

p packet (see RSP packet types)
P packet (see RSP packet types)
packet (see RSP packet)
data structure for OpenRISC 1000 (see RSP packet)
packet acknowledgment (see RSP packet)
packet format (see RSP packet)
pc_next variable, Setting the Program Counter
pipe connection, Overview of the Remote Serial Protocol , Session Layer: The Serial Connection , Implementing a Custom Server for JTAG
presentation layer (see OSI layers)
program counter
as Special Purpose Register, The OpenRISC 1000 Architecture
putDebugChar function (see stub code for RSP server)
put_packet function, Sending Packets , Convenience String Packet Output , Conversion Between Binary and Hexadecimal Characters
put_rsp_char function, Getting Packets , Character Output
put_str_packet function, Convenience String Packet Output , Conversion Between Binary and Hexadecimal Characters , Extended Debugging Support , Setting Matchpoints , Clearing Matchpoints

Q

qC packet (see RSP packet types)
qCRC packet (see RSP packet types)
QFrame packet (see RSP packet types)
qfThreadInfo packet (see RSP packet types)
qGetTLSAddr packet (see RSP packet types)
qOffsets packet (see RSP packet types)
QPassSignals packet (see RSP packet types)
qRcmd packet (see RSP packet types)
qsThreadInfo packet (see RSP packet types)
qSupported packet (see RSP packet types)
qSymbol packet (see RSP packet types)
QTDP packet (see RSP packet types)
qThreadExtraInfo packet (see RSP packet types)
QTinit packet (see RSP packet types)
QTro packet (see RSP packet types)
QTStart packet (see RSP packet types)
QTStop packet (see RSP packet types)
qXfer packet (see RSP packet types)

R

R packet, Extended Debugging Support (see RSP packet types)
r packet (see RSP packet types)
readspr, Unsupported Query Packets
reg2hex function, Conversion Between Binary and Hexadecimal Character Registers , Reading All Registers
reply packet (see RSP packet)
resp_insert_matchpoint function , Matchpoint Handling
resp_remove_matchpoint function , Matchpoint Handling
rsp data structure, Global Data Structures
(see also RSP server for OpenRISC 1000)
rsp.client_fd, Global Data Structures, Establishing the Client Connection , Character Input , Simple Packets
rsp.client_waiting , Global Data Structures, Continuing
rsp.mp_hash , Global Data Structures, Matchpoint Handling
rsp.proto_num , Global Data Structures
rsp.server_fd , Global Data Structures, Establishing the Server Listener Socket
rsp.sigval , Global Data Structures, Exception handling , Reporting the Last Exception
rsp.start_addr , Global Data Structures, Restart the Target
RSP GDB command dialogs
awatch, The watch Command
break, The break Command
continue, The cont Command
detach, The detach and disconnect Commands
disassemble, Examining Memory
disconnect, The detach and disconnect Commands
hbreak, The break Command
load, The load Command
rwatch, The watch Command
step, The step Command
stepi, The stepi Command
target extended-remote , The target extended-remote Command
target remote, The target remote Command
watch, The watch Command
RSP packet
acknowledgment, Packet Acknowledgment , Getting Packets , Sending Packets
binary data, Presentation Layer: Packet Transfer , The load Command , Binary Data Transfer
checksum, Presentation Layer: Packet Transfer , Getting Packets , Sending Packets
data structure for OpenRISC 1000, Packet Representation
deprecated packets, Deprecated Query Packets
error handling, Getting Packets , Sending Packets , Reading Memory , Writing Memory , Unsupported Query Packets , Flash Memory , Binary Data Transfer , Clearing Matchpoints
escaped characters, Presentation Layer: Packet Transfer , Binary Data Transfer
fixed response for OpenRISC 1000, Simple Packets
format, Presentation Layer: Packet Transfer , Getting Packets
maximum size, Query About Supported Functionality
reply packet, Presentation Layer: Packet Transfer
run-length encoding, Presentation Layer: Packet Transfer
types (see RSP packet types)
RSP packet types
! packet, Extended Remote Debugging , The target extended-remote Command , Simple Packets
? packet, Standard Remote Debugging , The target remote Command , Reporting the Last Exception
A packet, Unsupported Packets
b packet, Deprecated Packets
B packet, Deprecated Packets
c packet, Implementing Server Code on the Target , Standard Remote Debugging , The stepi Command , The cont Command , The break Command , Continuing , Stepping , Non-stop Support
C packet, Implementing Server Code on the Target , Standard Remote Debugging , The stepi Command , Unsupported Packets , Continuing
D packet, Standard Remote Debugging , The detach and disconnect Commands , Simple Packets
d packet, Deprecated Packets
deprecated packets, Application Layer: Remote Serial Protocol , Deprecated Packets
F packet, Unsupported Packets
g packet, Standard Remote Debugging , The target remote Command , The stepi Command , The step Command , The cont Command , The break Command , Reading and Writing All Registers
G packet, Standard Remote Debugging , Reading and Writing All Registers
H packet, Standard Remote Debugging , Asynchronous Remote Debugging , The target remote Command , The stepi Command , The step Command , The cont Command , Simple Packets
i packet, Implementing Server Code on the Target , Unsupported Packets
I packet, Implementing Server Code on the Target , Unsupported Packets
k packet, Standard Remote Debugging , Simple Packets
m packet, Standard Remote Debugging , Examining Memory , The stepi Command , The step Command , The cont Command , The break Command , Reading and Writing Memory , Reading Memory
M packet, Standard Remote Debugging , The load Command , Reading and Writing Memory , Writing Memory , Binary Data Transfer
p packet, Standard Remote Debugging , Reading and Writing Individual Registers
P packet, Standard Remote Debugging , The load Command , The break Command , Reading and Writing Individual Registers
q packets, Query Packets
deprecated query packets, Deprecated Query Packets
qC packet, Standard Remote Debugging , The target remote Command , Deprecated Query Packets , Queries About Threads
qCRC packet, Unsupported Query Packets
qfThreadInfo packet, Asynchronous Remote Debugging , Deprecated Query Packets , Queries About Threads
qGetTLSAddr packet, Deprecated Query Packets , Unsupported Query Packets
qL packet, Deprecated Query Packets
qOffsets packet, Standard Remote Debugging , The target remote Command , Query About Executable Relocation
qP packet, Deprecated Query Packets
qRcmd packet, Unsupported Query Packets
qsThreadInfo packet, Asynchronous Remote Debugging , Deprecated Query Packets , Queries About Threads
qSupported packet, Standard Remote Debugging , The target remote Command , Unsupported Query Packets , Query About Supported Functionality , Set Packets
qSymbol packet, Standard Remote Debugging , The target remote Command , Query About Symbol Table Data
qThreadExtraInfo packet, Asynchronous Remote Debugging , Deprecated Query Packets , Queries About Threads
qXfer packet, Unsupported Query Packets , Query About Supported Functionality
unsupported for OpenRISC 1000, Unsupported Query Packets
Q packets, Set Packets
QFrame packet, Tracepoint Packets
QPassSignals packet, Query About Supported Functionality , Set Packets
QTDP packet, Tracepoint Packets
QTinit packet, Tracepoint Packets
QTro packet, Tracepoint Packets
QTStart packet, Tracepoint Packets
QTStop packet, Tracepoint Packets
unsupported for OpenRISC 1000, Tracepoint Packets
R packet, Extended Remote Debugging , Restart the Target
r packet, Deprecated Packets
requiring no acknowledgment, Application Layer: Remote Serial Protocol
requiring simple acknowledgment, Application Layer: Remote Serial Protocol
returning data or error, Application Layer: Remote Serial Protocol
s packet, Implementing Server Code on the Target , Standard Remote Debugging , The stepi Command , The step Command , The cont Command , Stepping , Non-stop Support
S packet, Implementing Server Code on the Target , Standard Remote Debugging , The stepi Command , Unsupported Packets
T packet, Asynchronous Remote Debugging , Simple Packets
t packet, Unsupported Packets
unsupported for OpenRISC 1000, Unsupported Query Packets
unsupported for OpenRISC 1000, Unsupported Packets , Tracepoint Packets , Non-stop Support , File Handling , Flash Memory
v packets, v Packets
unsupported for OpenRISC 1000, Non-stop Support , File Handling , Flash Memory
vAttach packet, Extended Remote Debugging , Extended Debugging Support
vCont packet, Asynchronous Remote Debugging , The stepi Command , Non-stop Support
vCont? packet, Standard Remote Debugging , The stepi Command , The step Command , The cont Command , Non-stop Support
vFile packet, File Handling
vFlashDone packet, Flash Memory
vFlashErase packet, Flash Memory
vFlashWrite packet, Flash Memory
vRun packet, Extended Remote Debugging , Extended Debugging Support
X packet, Standard Remote Debugging , The load Command , Binary Data Transfer
z packets, Standard Remote Debugging , The break Command , Matchpoint Handling
z0 packet (memory breakpoint) , The break Command , Matchpoint Handling
z1 packet (memory breakpoint) , The break Command
z2 packet (write watchpoint) , The watch Command
z3 packet (read watchpoint) , The watch Command
z4 packet (access watchpoint) , The watch Command
Z packets, Standard Remote Debugging , The break Command , Matchpoint Handling
Z0 packet (memory breakpoint) , The break Command , Matchpoint Handling
Z1 packet (memory breakpoint) , The break Command
Z2 packet (write watchpoint) , The watch Command
Z3 packet (read watchpoint) , The watch Command
Z4 packet (access watchpoint) , The watch Command
RSP server for OpenRISC 1000
external code interface, External Code Interface
global data structures, Global Data Structures
rsp data structure, Global Data Structures
initialization, Top Level Behavior
location of source code, Overview of the RSP Server Implementation
matchpoint hash table, Global Data Structures, The Matchpoint Hash Table
RSP stop packet types, Extended Debugging Support
S stop packet, The target remote Command , The stepi Command , The step Command , The cont Command , The break Command , Reporting the Last Exception
Sstop packet, Extended Debugging Support
T stop packet, Asynchronous Remote Debugging
W stop packet, The target remote Command
X stop packet, The target remote Command
rsp_buf data structure, Packet Representation , Sending Packets
rsp_client_request function, Communicating with the Client , High Level Protocol Implementation
rsp_continue function, Continuing
rsp_continue_generic function, Continuing
rsp_exception function, External Code Interface , Exception handling
rsp_init function, External Code Interface , Top Level Behavior , Establishing the Server Listener Socket
rsp_query function, Query Packets
rsp_read_all_regs function, Reading and Writing All Registers , Reading and Writing Individual Registers
rsp_read_mem function, Reading and Writing Memory , Reading Memory
rsp_read_reg function, Reading and Writing Individual Registers
rsp_report_exception function, Reporting the Last Exception
rsp_restart function, Restart the Target
rsp_server_request function, Establishing the Client Connection
rsp_set function, Set Packets
rsp_step function, Stepping
rsp_step_generic function, Stepping
rsp_unescape function, Data "Unescaping"
rsp_vpkt function, v Packets
rsp_write_all_regs function, Reading and Writing All Registers , Reading and Writing Individual Registers
rsp_write_mem function, Reading and Writing Memory , Writing Memory
rsp_write_mem_bin function, Binary Data Transfer
rsp_write_reg function, Reading and Writing Individual Registers
run-length encoding (see RSP packet)
rwatch command (see GDB commands)

S

s packet (see RSP packet types)
S packet (see RSP packet types)
S stop packet (see RSP stop packet types)
serial device connection, Overview of the Remote Serial Protocol , Session Layer: The Serial Connection
server stub code (see for RSP)
session layer (see OSI layers)
set_npc function, Setting the Program Counter , Continuing , Writing All Registers , Restart the Target
set_program32 function, Setting Matchpoints , Clearing Matchpoints
set_program8 function, Writing Memory , Binary Data Transfer
set_stall_state function, Simple Packets , Continuing
SIGIO signal, Top Level Behavior
simulator
connecting via RSP, Implementing Server Code for Simulators
sim_init function, Top Level Behavior
software (memory) breakpoint (see breakpoint)
Special Purpose Register, The OpenRISC 1000 Architecture , Glossary
configuration registers
CPU Configuration Register , The OpenRISC 1000 Architecture
Debug Configuration Register , The OpenRISC 1000 Architecture
Unit Present Register , The OpenRISC 1000 Architecture
Debug Unit
Debug Control Registers , The OpenRISC 1000 Debug Unit
Debug Mode Registers , The OpenRISC 1000 Debug Unit , Continuing , Stepping
Debug Reason Register , The OpenRISC 1000 Debug Unit , Continuing
Debug Stop Register , The OpenRISC 1000 Debug Unit , Exception handling , Continuing
Debug Value Registers , The OpenRISC 1000 Debug Unit
Debug Watchpoint Counter Registers , The OpenRISC 1000 Debug Unit
program counters
Next Program Counter, The OpenRISC 1000 Architecture
Previous Program Counter, The OpenRISC 1000 Architecture
Supervision Register, The OpenRISC 1000 Architecture
SPRs (see Special Purpose Register)
SR (see Supervision Register)
sscanf function, Continuing , Reading Memory
stack frame
alignment
for OpenRISC 1000, Application Binary Interface (ABI)
stack pointer
in OpenRISC 1000, Glossary
step command (see GDB commands)
stepi command (see GDB commands)
struct rsp_buf data structure , Convenience String Packet Output , Conversion Between Binary and Hexadecimal Characters
stub code for RSP server, Rationale , Implementing Server Code on the Target
exceptionHandler, Implementing Server Code on the Target
getDebugChar, Implementing Server Code on the Target
limitations, Implementing Server Code on the Target
putDebugChar, Implementing Server Code on the Target
Supervision Register (see Special Purpose Register )

T

T packet (see RSP packet types)
T stop packet (see RSP stop packet types)
target extended-remote command (see GDB commands)
target remote command (see GDB commands)
TCP/IP connection, Overview of the Remote Serial Protocol , Session Layer: The Serial Connection , Establishing the Server Listener Socket
or1ksim-rsp service, Establishing the Server Listener Socket
TRAP exception, Exception handling , Continuing , Stepping , Extended Debugging Support
using l.trap for OpenRISC 1000, Matchpoint Handling , Setting Matchpoints , Clearing Matchpoints

U

UDP/IP connection, Overview of the Remote Serial Protocol , Session Layer: The Serial Connection
unsupported packet types for OpenRISC 1000 (see RSP packet types)

V

vAttach packet (see RSP packet types)
vCont packet (see RSP packet types)
vCont? packet (see RSP packet types)
verify_memoryarea function, Reading Memory , Writing Memory , Binary Data Transfer
vRun packet (see RSP packet types)

W

W stop packet (see RSP stop packet types)
watch command (see GDB commands)
watchpoint
in OpenRISC 1000 (see Debug Unit)
software, The watch Command
website (see GDB)
wiki (see GDB)
WP_ACCESS constant, The Matchpoint Hash Table
WP_READ constant, The Matchpoint Hash Table
WP_WRITE constant, The Matchpoint Hash Table
writespr, Unsupported Query Packets

X

X packet (see RSP packet types)
X stop packet (see RSP stop packet types)

Z

z packets (see RSP packet types)
Z packets (see RSP packet types)
Embecosm divider strip