LOGBOOK

HELP

Quiz Entry - updated: 2026.12.01

When GDB loads an ELF, it can print "No debugging symbols found". What is missing, and what can you still do?

The ELF has a symbol table (function names and addresses) but no DWARF debug information (source lines, variable names and types). You can still break on function names and addresses and step by instruction, but not by source line or variable.

Three nested layers: code and data (the .bin) inside the symbol table inside DWARF debug info, each with the GDB commands it enables

* Each layer adds what the debugger can do. Without the outer one, you work by function name and address. *

Two different kinds of information are easy to confuse:

Symbol table Debug info (DWARF, from -g)
Contains Names and addresses of functions and globals Source files and line numbers, local variables, types
Lets GDB do break function_name, show function names in disass and bt break file.c:42, next/step by line, print local_var
Removed by strip strip --strip-debug, or never compiling with -g

With only symbols, the source-level commands have nothing to work with. You switch to the machine level: break *0x400d1234 on an address, nexti to execute one instruction, disass to see the assembly and info registers to see the values the CPU is holding. That is slower to read than C, but every decision the program makes is still visible at this level.

Tip: "Symbols say where, debug info says what it meant."

Go deeper:

From Quiz: SIOT / Firmware Analysis and Hardening Against JTAG Attacks | Updated: Dec 01, 2026