Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature parity with GDBINIT #2

Open
16 of 25 tasks
zachriggle opened this issue Apr 13, 2015 · 0 comments
Open
16 of 25 tasks

Feature parity with GDBINIT #2

zachriggle opened this issue Apr 13, 2015 · 0 comments
Labels
enhancement For enhancements to existing features help wanted
Milestone

Comments

@zachriggle
Copy link
Contributor

zachriggle commented Apr 13, 2015

https://github.com/gdbinit/Gdbinit/blob/master/gdbinit

  • init - Run program and break on _init
  • start - Run program and break on _start
  • sstart - Run program and break on __libc_start_main
  • main - Run program and break on main
  • argv - Show argv
  • stack - Print backtrace
  • frame - Show info {frame, args, locals}
  • lib(s) - Display shared libraries
  • go - Step one instruction
    (Windbg compatibility of go is favored)
  • n - Step N instructions
  • pret - Finish frame, print return value
    Won't implement, use the finish command.
  • stepo - Step over calls
  • stepoh - Uses hardware breakpoints
  • skip - Skip over N instructions
  • nop - Nop out address
  • null - Zero out address
  • int3 - Patch in an int3 / BKPT at address
  • unpatch - Restore original value pre-patch
  • entry_point - Prints entrypoint

Interesting settings:

  • set arm show-opcode-bytes 1

Useful aliases:

  • bl / bpl - List breakpoints
  • bp - Breakpoint
  • bc / bpc - Clear breakpoint
  • be / bpe - Enable breakpoint
  • bd / bpd - Disable breakpoint
@zachriggle zachriggle added enhancement For enhancements to existing features and removed enhancement For enhancements to existing features labels Jun 10, 2016
@zachriggle zachriggle self-assigned this Jun 10, 2016
@zachriggle zachriggle modified the milestone: Someday Feb 28, 2017
disconnect3d pushed a commit that referenced this issue Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For enhancements to existing features help wanted
Development

No branches or pull requests

2 participants