Tag Info

New answers tagged


It appears that your SHELL variable is set to a file that doesn't exist. Try the following: export SHELL=/bin/sh gdb test ensuring that /bin/sh exists and is executable. This works via su not because of root permissions, but because su resets the SHELL environment variable. Per the su manual page: Note that the default behavior for the environment ...


First off, don't apologize for a question. If you did prior research then you are fine. If you didn't take the time to google it, then do that first. If you want the assembly of a program, then gdb might not be your program, instead try objdump; however, if you want to view the assembly while debugging use the gdb command disassemble once you've stopped at ...

Top 50 recent answers are included