Alright bro. Thanks
Hello, everyone, i'm having some troubles with gdb
I'm trying to run gdb in a really simple C code that just prints a name passed as an argument to the program, just like:
./main <name>
I'm running gdb using these commands:
gdb -q main
> Reading symbols from main...
disas main
>Dump of assembler code for function main:
> 0x0000000000001169 <+0>: endbr64
> 0x000000000000116d <+4>: push rbp
> 0x000000000000116e <+5>: mov rbp,rsp
.
.
.
b *0x1169
> Breakpoint 1 at 0x1169: file main.c, line 4.
run
>Warning:
>Cannot insert breakpoint 1.
>Cannot access memory at address 0x1169
And when i try to run i get this error message, anyone knows how to solve this? I was using the gdb earlier and suddenly it start to have this problem