tell gdb to disassemble "unknown" code
Yes. Use display/ni $pc
to disassemble the next n
instructions.
Also, download the GDB manual.
set disassemble-next-line auto
Is what I find most useful. You can also set it to "on" to disassemble even if source is available.
See the "Source and Machine Code" section in the documentation.