Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Register description for GDB stub. More...
#include <gdbstub.h>
Data Fields | |
uint32_t | val |
Register value. | |
uint8_t | idx |
GDB register index (for p/P packets) | |
uint8_t | byte_size |
Size of register. | |
uint16_t | regno |
Xtensa register number. | |
int16_t | gpkt_offset |
Offset of this register in GDB G-packet. | |
int8_t | stack_offset |
Offset of saved register in stack frame. | |
uint8_t | seqno |
Sequence number. | |
uint8_t | is_read_only:1 |
Set to 1 if register should not be written to during debugging. | |
Register description for GDB stub.
Values are based on gdb/gdb/xtensa-config.c in the Xtensa overlay, where registers are defined using XTREG() macro: XTREG(index,ofs,bsz,sz,al,tnum,flg,cp,ty,gr,name,fet,sto,mas,ct,x,y)
Translation: idx : index regno : tnum 0x00xx : General Registers (A0 - A15, PC) 0x01xx : Address Registers (AR0 - AR31/AR63) 0x02xx : Special Registers (access via RSR/WSR) 0x03xx : User Registers (access via RUR/WUR) byte_size : sz gpkt_offset : ofs
uint8_t xtensa_register::byte_size |
Size of register.
int16_t xtensa_register::gpkt_offset |
Offset of this register in GDB G-packet.
-1 if register is not in G-packet.
uint8_t xtensa_register::idx |
GDB register index (for p/P packets)
uint8_t xtensa_register::is_read_only |
Set to 1 if register should not be written to during debugging.
uint16_t xtensa_register::regno |
Xtensa register number.
uint8_t xtensa_register::seqno |
Sequence number.
int8_t xtensa_register::stack_offset |
Offset of saved register in stack frame.
0 if not saved in stack frame.
uint32_t xtensa_register::val |
Register value.