MCPcopy Create free account

hub / github.com/cyrus-and/gdb / functions

Functions42 in github.com/cyrus-and/gdb

↓ 30 callersFunctioncheckParseRecord
(t *testing.T, input, expected string)
parser_test.go:9
↓ 11 callersMethodSend
Send issues a command to GDB. Operation is the name of the MI2 command to execute without the leading "-" (this means that it is impossible send a CLI
commands.go:23
↓ 7 callersFunctionbind
(id, action)
web/example/static/script.js:47
↓ 6 callersFunctionyyTokname
(c int)
grammar.go:205
↓ 5 callersFunctiondie
(err error, w http.ResponseWriter)
web/handler.go:20
↓ 4 callersFunctionNew
New creates and starts a new GDB instance. onNotification if not nil is the callback used to deliver to the client the asynchronous notifications sent
gdb.go:35
↓ 4 callersMethodWrite
Write writes a number of bytes to the target program's input.
gdb.go:111
↓ 4 callersFunctionnewClassResult
avoid DRY due to a poor lexer
grammar.go:19
↓ 3 callersMethodExit
Exit sends the exit command to GDB and waits for the process to exit.
gdb.go:122
↓ 3 callersMethodRead
Read reads a number of bytes from the target program's output.
gdb.go:106
↓ 3 callersFunctionyyStatname
(s int)
grammar.go:214
↓ 2 callersMethodInterrupt
Interrupt sends a signal (SIGINT) to GDB so it can stop the target program and resume the processing of commands.
gdb.go:117
↓ 2 callersFunctionparseRecord
(data string)
lexer.go:117
↓ 2 callersFunctionyylex1
(lex yyLexer, lval *yySymType)
grammar.go:287
↓ 1 callersMethodError
(s string)
grammar.go:181
↓ 1 callersMethodLex
(lval *yySymType)
grammar.go:180
↓ 1 callersFunctionNewCmd
NewCmd creates a new GDB instance like New, but allows explicitely passing the gdb command to run (including all arguments). cmd is passed as-is to ex
gdb.go:69
↓ 1 callersFunctionNewCustom
Like New, but allows to specify the GDB executable path and arguments.
gdb.go:40
↓ 1 callersFunctionNewHandler
NewHandler returns a new http.ServeMux which automatically spawn a new instance of GDB and offers HTTP mount points to interact with. It is assumed th
web/handler.go:28
↓ 1 callersMethodParse
(yyLexer)
grammar.go:185
↓ 1 callersFunctionlexer
(input string)
lexer.go:22
↓ 1 callersFunctiononNotification
(t *testing.T, notification map[string]interface{})
commands_test.go:10
↓ 1 callersFunctiononNotification
(object)
web/example/static/script.js:52
↓ 1 callersFunctiononOutput
(data)
web/example/static/script.js:96
↓ 1 callersMethodrecordReader
()
commands.go:83
↓ 1 callersFunctionyyErrorMessage
(state, lookAhead int)
grammar.go:223
↓ 1 callersFunctionyyNewParser
()
grammar.go:199
↓ 1 callersFunctionyyParse
(yylex yyLexer)
grammar.go:322
MethodCheckedSend
CheckedSend works like Send, except that if the result returned by gdb has class=error, CheckedSend returns a non-nil error value (containing the gdb
commands.go:62
FunctionClient
(host, onNotification, onOutput)
web/example/static/script.js:1
MethodError
(err string)
lexer.go:112
MethodLex
(lval *yySymType)
lexer.go:100
MethodLookahead
()
grammar.go:186
MethodLookahead
()
grammar.go:195
MethodParse
(yylex yyLexer)
grammar.go:326
FunctionTestIO
(t *testing.T)
io_test.go:8
FunctionTestInterrupt
(t *testing.T)
interrupt_test.go:8
FunctionTestParseRecord
(t *testing.T)
parser_test.go:20
FunctionTestSend
(t *testing.T)
commands_test.go:16
FunctiondumpResult
(object)
web/example/static/script.js:102
Functionmain
()
web/example/main.go:10
Functionmain
web/example/test/dummy.c:3