⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 refcard.ps

📁 早期freebsd实现
💻 PS
📖 第 1 页 / 共 3 页
字号:
y Fg(c)310 b Fd(continue)12 b(running)g(your)h(program)-240213 y Fg(n)310 b Fd(next)13 b(line,)h(stepping)e(over)h(function)g(calls)-240255 y Fg(s)310 b Fd(next)13 b(line,)h(stepping)e(into)i(function)e(calls)-240354 y Fh(Starting)h(GDB)-240 400 y Fg(gdb)270 b Fd(start)14b(GDB,)g(with)g(no)f(debugging)e(\256les)-240 442 y Fg(gdb)jFf(pr)o(ogram)139 b Fd(begin)13 b(debugging)e Ff(pr)o(ogram)-240484 y Fg(gdb)j Ff(pr)o(ogram)d(cor)o(e)69 b Fd(debug)12 b(coredump)gFf(cor)o(e)g Fd(produced)g(by)h Ff(pr)o(ogram)-240 526 y Fg(gdb)h(--help)136b Fd(describe)12 b(command)g(line)i(options)-240 625 y Fh(Stopping)f(GDB)-240670 y Fg(quit)250 b Fd(exit)14 b(GDB;)g(also)f Fg(q)h Fd(or)fFg(EOF)h Fd(\(eg)f Fg(C-d)p Fd(\))-240 712 y Fg(INTERRUPT)150b Fd(\(eg)13 b Fg(C-c)p Fd(\))h(terminate)f(current)g(command,)f(or)111750 y(send)g(to)i(running)e(process)-240 848 y Fh(Getting)i(Help)-240894 y Fg(help)250 b Fd(list)14 b(classes)g(of)f(commands)-240936 y Fg(help)h Ff(class)169 b Fd(one-line)13 b(descriptions)f(for)i(commands)d(in)j Ff(class)-240 979 y Fg(help)g Ff(command)105b Fd(describe)12 b Ff(command)-240 1076 y Fh(Executing)h(your)h(Pr)o(ogram)-240 1121 y Fg(run)g Ff(ar)o(glist)170 b Fd(start)14 b(your)f(program)f(with)i Ff(ar)o(glist)-240 1163 y Fg(run)270 b Fd(start)14 b(your)f(program)f(with)i(current)f(ar)o(gument)111 1201 y(list)-240 1236 y Fg(run)hFc(:)7 b(:)g(:)12 b Fg(<)p Ff(inf)i Fg(>)p Ff(outf)53 b Fd(start)14b(your)f(program)f(with)i(input,)f(output)111 1274 y(redirected)-2401324 y Fg(kill)250 b Fd(kill)14 b(running)e(program)-240 1399y Fg(tty)i Ff(dev)209 b Fd(use)13 b Ff(dev)g Fd(as)h(stdin)f(and)g(stdout)g(for)g(next)g Fg(run)-240 1441 y(set)h(args)f Ff(ar)o(glist)77b Fd(specify)13 b Ff(ar)o(glist)g Fd(for)h(next)f Fg(run)-2401483 y(set)h(args)176 b Fd(specify)13 b(empty)g(ar)o(gument)f(list)-2401525 y Fg(show)i(args)156 b Fd(display)13 b(ar)o(gument)f(list)-2401600 y Fg(show)i(environment)i Fd(show)d(all)h(environment)e(variables)-2401637 y Fg(show)i(env)f Ff(var)118 b Fd(show)13 b(value)g(of)g(environment)f(variable)h Ff(var)-240 1674 y Fg(set)h(env)f Ff(var)g(string)47b Fd(set)14 b(environment)d(variable)i Ff(var)-240 1716 y Fg(unset)g(env)hFf(var)98 b Fd(remove)12 b Ff(var)i Fd(from)f(environment)-2401809 y Fh(Shell)h(Commands)-240 1855 y Fg(cd)g Ff(dir)237 bFd(change)12 b(working)g(directory)h(to)h Ff(dir)-240 1897y Fg(pwd)270 b Fd(Print)14 b(working)f(directory)-240 1939y Fg(make)h Fc(:)7 b(:)g(:)186 b Fd(call)14 b(\252)p Fg(make)pFd(\272)-240 1976 y Fg(shell)f Ff(cmd)161 b Fd(execute)12 b(arbitrary)h(shell)h(command)e(string)-240 2100 y Fe([)i(])f Fi(surround)k(optional)e(arguments)254 b Fc(:)7 b(:)g(:)12 b Fi(show)i(one)h(or)g(more)g(arguments)-125 2175 y Fb(\323)p Fi(1991,)h(1992)g(Free)e(Software)g(Foundation,)j(Inc.)51 b(Permissions)14 b(on)h(back)p 788 -217 1 9 v 788 2175 V840 -183 a Fh(Br)o(eakpoints)f(and)g(W)n(atchpoints)840 -138y Fg(break)f Fe([)p Ff(\256le)p Fg(:)p Fe(])p Ff(line)840 -100y Fg(b)h Fe([)p Ff(\256le)p Fg(:)p Fe(])p Ff(line)1170 -138y Fd(set)g(breakpoint)e(at)h Ff(line)h Fd(number)e Fe([)p Fd(in)iFf(\256le)p Fe(])1170 -100 y Fd(eg:)33 b Fg(break)13 b(main.c:37)840-53 y(break)g Fe([)p Ff(\256le)p Fg(:)p Fe(])p Ff(function)18b Fd(set)c(breakpoint)e(at)h Ff(function)g Fe([)p Fd(in)h Ff(\256le)pFe(])840 -10 y Fg(break)f(+)p Ff(offset)840 27 y Fg(break)g(-)pFf(offset)1170 -10 y Fd(set)h(break)e(at)i Ff(offset)g Fd(lines)g(from)f(current)g(stop)840 69 y Fg(break)g(*)p Ff(addr)133 b Fd(set)14b(breakpoint)e(at)h(address)g Ff(addr)840 111 y Fg(break)230b Fd(set)14 b(breakpoint)e(at)h(next)g(instruction)840 153y Fg(break)g Fc(:)7 b(:)g(:)13 b Fg(if)g Ff(expr)41 b Fd(break)13b(conditionally)f(on)h(nonzero)f Ff(expr)840 201 y Fg(cond)iFf(n)f Fe([)p Ff(expr)p Fe(])118 b Fd(new)13 b(conditional)f(expression)g(on)h(breakpoint)f Ff(n)p Fd(;)1191 238 y(make)h(unconditional)e(if)j(no)fFf(expr)840 280 y Fg(tbreak)g Fc(:)7 b(:)g(:)147 b Fd(temporary)12b(break;)h(disable)g(when)g(reached)840 322 y Fg(rbreak)g Ff(r)o(egex)123b Fd(break)13 b(on)g(all)h(functions)e(matching)h Ff(r)o(egex)840364 y Fg(watch)g Ff(expr)157 b Fd(set)14 b(a)f(watchpoint)g(for)g(expression)f Ff(expr)840 406 y Fg(catch)h Ff(x)202 b Fd(break)13 b(at)g(C++)h(handler)e(for)i(exception)e Ff(x)840 481 y Fg(info)i(break)136 b Fd(show)13b(de\256ned)g(breakpoints)840 523 y Fg(info)h(watch)136 b Fd(show)13b(de\256ned)g(watchpoints)840 598 y Fg(clear)230 b Fd(delete)13b(breakpoints)f(at)i(next)f(instruction)840 646 y Fg(clear)gFe([)p Ff(\256le)p Fg(:)p Fe(])p Ff(fun)85 b Fd(delete)13 b(breakpoints)f(at)i(entry)f(to)g Ff(fun)p Fd(\(\))840 693 y Fg(clear)g Fe([)pFf(\256le)p Fg(:)p Fe(])p Ff(line)78 b Fd(delete)13 b(breakpoints)f(on)h(source)f(line)840 741 y Fg(delete)h Fe([)p Ff(n)p Fe(])152b Fd(delete)13 b(breakpoints)f Fe([)p Fd(or)h(breakpoint)fFf(n)p Fe(])840 816 y Fg(disable)h Fe([)p Ff(n)p Fe(])132 bFd(disable)13 b(breakpoints)f Fe([)p Fd(or)h(breakpoint)f Ff(n)pFe(])840 863 y Fg(enable)h Fe([)p Ff(n)p Fe(])152 b Fd(enable)13b(breakpoints)e Fe([)p Fd(or)j(breakpoint)d Ff(n)p Fe(])840911 y Fg(enable)i(once)h Fe([)p Ff(n)p Fe(])58 b Fd(enable)13b(breakpoints)e Fe([)p Fd(or)j(breakpoint)d Ff(n)p Fe(])p Fd(;)j(disable)1191948 y(again)f(when)f(reached)840 996 y Fg(enable)h(del)h Fe([)pFf(n)p Fe(])78 b Fd(enable)13 b(breakpoints)e Fe([)p Fd(or)j(breakpoint)dFf(n)p Fe(])p Fd(;)j(delete)1191 1033 y(when)f(reached)8401084 y Fg(ignore)g Ff(n)h(count)91 b Fd(ignore)13 b(breakpoint)fFf(n)p Fd(,)h Ff(count)g Fd(times)840 1158 y Fg(commands)gFf(n)906 1196 y Fe([)p Fg(silent)p Fe(])906 1233 y Ff(command-list)11701158 y Fd(execute)f(GDB)i Ff(command-list)f Fd(every)f(time)11911196 y(breakpoint)g Ff(n)h Fd(is)h(reached.)19 b Fe([)p Fg(silent)11911233 y Fd(suppresses)12 b(default)h(display)p Fe(])840 1276y Fg(end)270 b Fd(end)13 b(of)g Ff(command-list)840 1363 yFh(Pr)o(ogram)h(Stack)840 1408 y Fg(backtrace)f Fe([)p Ff(n)pFe(])840 1446 y Fg(bt)h Fe([)p Ff(n)p Fe(])1170 1408 y Fd(print)g(trace)f(of)g(all)h(frames)g(in)f(stack;)h(or)f(of)h Ff(n)1191 1446 y Fd(frames\320innermost)e(if)i Ff(n)p Fg(>0)p Fd(,)g(outermost)e(if)11911483 y Ff(n)p Fg(<0)840 1525 y(frame)h Fe([)p Ff(n)p Fe(])172b Fd(select)13 b(frame)h(number)e Ff(n)h Fd(or)h(frame)f(at)h(address)11911562 y Ff(n)p Fd(;)f(if)i(no)e Ff(n)p Fd(,)g(display)g(current)g(frame)8401604 y Fg(up)h Ff(n)259 b Fd(select)13 b(frame)h Ff(n)f Fd(frames)g(up)8401646 y Fg(down)h Ff(n)219 b Fd(select)13 b(frame)h Ff(n)f Fd(frames)g(down)840 1688 y Fg(info)h(frame)f Fe([)p Ff(addr)p Fe(])31 b Fd(describe)12b(selected)h(frame,)h(or)f(frame)h(at)f Ff(addr)840 1725 yFg(info)h(args)156 b Fd(ar)o(guments)13 b(of)g(selected)g(frame)8401767 y Fg(info)h(locals)116 b Fd(local)13 b(variables)g(of)h(selected)e(frame)840 1809 y Fg(info)i(reg)f Fe([)p Ff(rn)p Fe(])p Fc(:)7b(:)g(:)840 1847 y Fg(info)14 b(all-reg)f Fe([)p Ff(rn)p Fe(])11701809 y Fd(register)g(values)g Fe([)p Fd(for)g(regs)h Ff(rn)pFe(])f Fd(in)h(selected)1191 1847 y(frame;)f Fg(all-reg)h Fd(includes)e(\257oating)h(point)840 1889 y Fg(info)h(catch)136 b Fd(exception)12b(handlers)g(active)h(in)h(selected)f(frame)p 1868 -217 V 18682175 V 1920 -183 a Fh(Execution)g(Contr)o(ol)1920 -138 y Fg(continue)gFe([)p Ff(count)p Fe(])1920 -100 y Fg(c)h Fe([)p Ff(count)pFe(])2250 -138 y Fd(continue)e(running;)h(if)h Ff(count)e Fd(speci\256ed,)i(ignore)2271 -100 y(this)g(breakpoint)d(next)i Ff(count)g Fd(times)1920-43 y Fg(step)h Fe([)p Ff(count)p Fe(])1920 -6 y Fg(s)g Fe([)pFf(count)p Fe(])2250 -43 y Fd(execute)e(until)i(another)e(line)i(reached;)e(repeat)2271 -6 y Ff(count)g Fd(times)i(if)g(speci\256ed)192042 y Fg(stepi)f Fe([)p Ff(count)p Fe(])1920 79 y Fg(si)h Fe([)pFf(count)p Fe(])2250 42 y Fd(step)f(by)g(machine)g(instructions)g(rather)g(than)2271 79 y(source)f(lines)1920 135 y Fg(next)i Fe([)pFf(count)p Fe(])1920 173 y Fg(n)g Fe([)p Ff(count)p Fe(])2250135 y Fd(execute)e(next)h(line,)h(including)f(any)f(function)2271173 y(calls)1920 219 y Fg(nexti)h Fe([)p Ff(count)p Fe(])1920257 y Fg(ni)h Fe([)p Ff(count)p Fe(])2250 219 y Fd(next)f(machine)f(instruction)h(rather)h(than)f(source)2271 257 y(line)1920313 y Fg(until)g Fe([)p Ff(location)p Fe(])79 b Fd(run)13 b(until)h(next)f(instruction)g(\(or)g Ff(location)p Fd(\))1920 350 y Fg(finish)210b Fd(run)13 b(until)h(selected)f(stack)g(frame)g(returns)1920392 y Fg(return)g Fe([)p Ff(expr)p Fe(])109 b Fd(pop)13 b(selected)f(stack)i(frame)f(without)g(executing)2271 430 y Fe([)p Fd(setting)g(return)g(value)pFe(])1920 472 y Fg(signal)g Ff(num)139 b Fd(resume)13 b(execution)f(with)i(signal)f Ff(s)g Fd(\(none)g(if)h Fg(0)p Fd(\))1920 514 y Fg(jump)gFf(line)1920 551 y Fg(jump)g(*)p Ff(addr)o(ess)2250 514 y Fd(resume)f(execution)f(at)i(speci\256ed)e Ff(line)i Fd(number)e(or)2271551 y Ff(addr)o(ess)1920 593 y Fg(set)i(var=)p Ff(expr)116b Fd(evaluate)12 b Ff(expr)h Fd(without)h(displaying)e(it;)i(use)g(for)2271631 y(altering)f(program)f(variables)1920 728 y Fh(Display)1920773 y Fg(print)h Fe([)p Fg(/)p Ff(f)5 b Fe(])14 b([)p Ff(expr)pFe(])1920 811 y Fg(p)g Fe([)p Fg(/)p Ff(f)5 b Fe(])13 b([)pFf(expr)p Fe(])2250 773 y Fd(show)g(value)g(of)g Ff(expr)gFe([)p Fd(or)g(last)h(value)f Fg($)p Fe(])2271 811 y Fd(according)f(to)h(format)h Ff(f)p Fd(:)1986 853 y Fg(x)244 b Fd(hexadecimal)1986890 y Fg(d)g Fd(signed)13 b(decimal)1986 932 y Fg(u)244 b Fd(unsigned)12b(decimal)1986 974 y Fg(o)244 b Fd(octal)1986 1012 y Fg(t)gFd(binary)1986 1054 y Fg(a)g Fd(address,)13 b(absolute)f(and)h(relative)19861091 y Fg(c)244 b Fd(character)1986 1129 y Fg(f)g Fd(\257oating)13b(point)1920 1176 y Fg(call)h Fe([)p Fg(/)p Ff(f)5 b Fe(])13b Ff(expr)101 b Fd(like)14 b Fg(print)f Fd(but)g(does)g(not)g(display)gFg(void)1920 1224 y(x)h Fe([)p Fg(/)p Ff(Nuf)5 b Fe(])13 bFf(expr)122 b Fd(examine)12 b(memory)h(at)h(address)e Ff(expr)pFd(;)h(optional)2271 1261 y(format)g(spec)g(follows)g(slash)19531303 y Ff(N)275 b Fd(count)13 b(of)g(how)g(many)g(units)g(to)h(display)19531345 y Ff(u)280 b Fd(unit)14 b(size;)f(one)g(of)2316 1383 yFg(b)h Fd(individual)f(bytes)2316 1425 y Fg(h)h Fd(halfwords)f(\(two)h(bytes\))2316 1467 y Fg(w)g Fd(words)f(\(four)g(bytes\))23161509 y Fg(g)h Fd(giant)f(words)g(\(eight)h(bytes\))1953 1551y Ff(f)288 b Fd(printing)13 b(format.)21 b(Any)13 b Fg(print)gFd(format,)h(or)2316 1593 y Fg(s)g Fd(null-terminated)f(string)23161635 y Fg(i)h Fd(machine)f(instructions)1920 1673 y Fg(disassem)gFe([)p Ff(addr)p Fe(])65 b Fd(display)13 b(memory)f(as)i(machine)e(instructions)1920 1770 y Fh(Automatic)h(Display)1920 1816y Fg(display)g Fe([)p Fg(/)p Ff(f)5 b Fe(])13 b Ff(expr)42b Fd(show)13 b(value)g(of)g Ff(expr)g Fd(each)g(time)h(program)e(stops)22711853 y Fe([)p Fd(according)f(to)j(format)f Ff(f)5 b Fe(])19201895 y Fg(display)190 b Fd(display)13 b(all)h(enabled)e(expressions)g(on)h(list)1920 1937 y Fg(undisplay)g Ff(n)120 b Fd(remove)12 b(number\(s\))hFf(n)g Fd(from)h(list)g(of)2271 1975 y(automatically)e(displayed)h(expressions)1920 2017 y Fg(disable)g(disp)h Ff(n)66 b Fd(disable)13b(display)g(for)g(expression\(s\))f(number)g Ff(n)1920 2059y Fg(enable)h(disp)h Ff(n)86 b Fd(enable)13 b(display)f(for)i(expression\(s\))e(number)g Ff(n)1920 2101 y Fg(info)i(display)96b Fd(numbered)12 b(list)i(of)g(display)e(expressions)p eop%%Page: 2 2bop -240 -183 a Fh(Expr)o(essions)-240 -138 y Ff(expr)270 bFd(an)13 b(expression)f(in)i(C,)g(C++,)g(or)f(Modula-2)111-100 y(\(including)f(function)h(calls\),)h(or:)-240 -58 y Ff(addr)pFg(@)p Ff(len)205 b Fd(an)13 b(array)g(of)h Ff(len)f Fd(elements)g(beginning)

⌨️ 快捷键说明

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