函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\gdbstub.c Create Date:2022-07-27 12:43:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:gdbstub_exit - Send an exit message to GDB*@status: The exit code to report.

函数原型:void gdbstub_exit(int status)

返回类型:void

参数:

类型参数名称
intstatus
1120  如果非kgdb_connected - Is a host GDB connected to us?则返回
1122  kgdb_connected - Is a host GDB connected to us?等于0
1124  如果非dbg_io_opsUse kdb or gdbserver mode 则返回
1127  buffer[0]等于'W'
1128  buffer[1]等于hex_asc_hi(status)
1129  buffer[2]等于hex_asc_lo(status)
1131  write_char('$')
1132  checksum等于0
1134 loop小于3循环
1135  ch等于buffer[loop]
1136  checksum加等于ch
1137  write_char(ch)
1140  write_char('#')
1141  write_char(hex_asc_hi(checksum))
1142  write_char(hex_asc_lo(checksum))
1145  如果flushflush()
调用者
名称描述
dbg_notify_reboot