1013
C++ Moment (lemmy.world)
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 6 points 1 year ago

I use gdb with great success for x64, rv64, and c:

info registers rip or just setup tui:

# ~/.config/gdb/gdbinit:
tui new-layout default regs 1 {-horizontal src 1 asm 1} 2 status 0 cmd 1
tui layout default
tui enable
this post was submitted on 28 Feb 2024
1013 points (97.0% liked)

Programmer Humor

36533 readers
228 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS