--- gdb "x" for "examine" commands --- x/ address repeat = how many, e.g. 16 or 32 format = x hex d decimal i instruction c character f float size = b byte ( 8 bits = 2 hex) w word (32 bits = 8 hex = 4 bytes) address = 0x8048420 or main or main+3 examples # Show 16 char bytes x/16cb 0x8048520 # Examine string at this location. x/s 0x8048520 # Show 16 hex bytes x/16xb 0x8048520 # Show 16 hex words x/16xw 0x8048520 # Show 16 address words x/16aw 0x8048520 # Show 16 decimal words x/16dw 0x8048520 # Show 16 instructions (whether they are or not) x/16iw 0x8048520 # Show as floating point x/16fw 0x8048520