nomagic

no, it is not magic !

User Tools

Site Tools


gdbs:protocol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gdbs:protocol [2025/05/29 19:36] larsgdbs:protocol [2025/05/31 07:21] (current) – [replies] lars
Line 36: Line 36:
 The protocol is used over a serial byte data stream. Examples are a serial port (UART/COM Port) or a TCP port. The data is exchanged over this channel in [[packets|packets]]. In this communication the gdb sends commands and the gdb server sends replies. The protocol is used over a serial byte data stream. Examples are a serial port (UART/COM Port) or a TCP port. The data is exchanged over this channel in [[packets|packets]]. In this communication the gdb sends commands and the gdb server sends replies.
  
-=====  commands ===== +In the documentation format strings everything [inside of square brackets] is optional and can be missing. 
 + 
 +===== signals =====  
 + 
 +[[signals|include/gdb/signals.h]] 
 + 
 +===== commands ===== 
  
   * '!'                      [[cmd_exclamation_mark|Enable extended mode]] **must be supported**   * '!'                      [[cmd_exclamation_mark|Enable extended mode]] **must be supported**
Line 147: Line 153:
  
 =====  replies =====  =====  replies ===== 
-  * [[reply_empty|empty]] +  * "" [[reply_empty|empty]] 
-  * [[reply_e_xx|Error Hex]] +  * "E" [[reply_e_xx|Error Hex]] 
-  * [[reply_e_text|Error text]] +  * "E" [[reply_e_text|Error text]] 
-  * [[reply_stop_uc_s|stopped because of Signal]] +  * "S" [[reply_stop_uc_s|stopped because of Signal]] 
-  * [[reply_stop_uc_t|stopped because of Signal + infos]] +  * "T" [[reply_stop_uc_t|stopped because of Signal + infos]] 
-  * [[reply_stop_lc_w|thread exited]] +  * "w" [[reply_stop_lc_w|thread exited]] 
-  * [[reply_stop_uc_w|process exited]] +  * "W" [[reply_stop_uc_w|process exited]] 
-  * [[reply_stop_uc_x|process terminated]] +  * "X" [[reply_stop_uc_x|process terminated]] 
-  * [[reply_stop_uc_n|no more threads]] +  * "N" [[reply_stop_uc_n|no more threads]] 
-  * [[reply_stop_uc_o|console output]] +  * "O" [[reply_stop_uc_o|console output]] 
-  * [[reply_stop_uc_f|host function call]]+  * "F" [[reply_stop_uc_f|host function call]]
   * [[notification_stop|notification stop]]   * [[notification_stop|notification stop]]
  
Line 166: Line 172:
 | IDE | Integrated Development environment | | IDE | Integrated Development environment |
 | MCU | Micro Controller Unit | | MCU | Micro Controller Unit |
 +| addressable memory units | TODO |
gdbs/protocol.1748547372.txt.gz · Last modified: by lars