mdb.1

来自「minix操作系统最新版本(3.1.1)的源代码」· 1 代码 · 共 155 行

1
155
字号
.TH MDB 1.SH NAMEmdb \- MINIX 3 debugger.SH SYNOPSIS.B mdb.RB [ \-fc ].I file.br.B mdb .BR [-L|-l]log\-file.I exec-file .RI [ core\-file ].RI [ @command\-file ].SH DESCRIPTION.de SP.if t .sp 0.4.if n .sp...B mdbis the MINIX 3 debugger. .SH OPTIONSIts command line options are:.TP.B \-fJust examine the specified file..TP.B \-cExamine 'core' file. No exec-file will be supplied..TP.B \-Llog\-fileLog to file only.TP.B \-llog\-fileLog to file..SP .IR exec\-fileUnless the -c option has been specified, the exec-file is required..SP.IR core\-fileThe core-file is optional..SPIf the core-file is supplied, .B mdbassumes that the user wishes to examine the core file.Otherwise .B mdb assumes that the user will run the exec-file and trace it..SP.IR @command\-file.B mdb executes command from command-file..SH OVERVIEW.br.B mdb commands are of the form: .I [ expression ].I command.SP.I expressioncan be of the form:.IP.I address which defaults to text segment.IPaddress .I overridenby .I T:for Text segmentor .I D:for Data segmentor.I S:for Stack segment.IP.I symbolwhere .B mdb does a lookup for the symbol first as a .I text symbol and then as a .I data symbol..SP.TP.I command.SPThe help command is ?. .SPFor detailed help on a command type: .I command ?..SPA semi-colon can be used to separate commands on a line..SP.SH MDB COMMANDS.SP! Shell escape.SP#  Set Variable or register.SP Tt Current call / Backtrace all.SP/nsf Display for n size s with format f.SPXx [n] Disasm / & display reg for n instructions.SPRr a Run / with arguments a.SPCc [n] Continue with current signal / no signal n times.SPIi [n] Single step with / no signal for n instructions.SPMm t n Trace until / Stop when modified t type for n instructions.SPk  Kill.SPBb Display / Set Break-pt.SPDd Delete all / one break-points.SPP Toggle Pagging.SPLl name Log to file name / and to standard output.SPVv Toggle debug flag / Version info.SPV Version info.SPe [t] List symbols for type t.SPy Print segment mappings.SPs [n] Dump stack for n words.SPz [a] Trace syscalls with address a.SP? Help - short help.SP@ file Execute commands from file.SPQq Quit / and kill traced process.SP.SH "SEE ALSO".SPtrace(2)..SH DIAGNOSTICS.SH NOTES.SH BUGS.SH AUTHORPhilip Murton and others

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?