I'm unable to run gdb. After break main and after i type run, i get the below error and nothing happens.
Error: Error disabling address space randomization: Operation not permitted
I tried running gdb on initials program from pset2, which works perfectly fine and GDB is working fine for the same program when i run it in online ide.
Also, when i tried to run the gdb using the new gui, i get the following errors
gdbserver: linux_ptrace_test_ret_to_nx: Cannot PTRACE_TRACEME: Operation not permitted gdbserver: linux_ptrace_test_ret_to_nx: status 256 is not WIFSTOPPED! gdbserver: Error disabling address space randomization: Operation not permitted
Please help.
set disable-randomization off
ingdb
?break 15
instead ofbreak main
?