What is the gdb command equivalent of bp MODULE_NAME+0x12345678 in WinDBG?

I found this command useful to debug with ASLR (w/o disabling it).

1 Answer 1


Reading through the man page shows the command break [file:][function|line]

More specifically you would load the file into gdb as normal, and then enter break function_name+offset_value such as: break main+12345678

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.