How can I make GDB do extra dereferences in a printing function like x/s? When I try explicit dereferences in x/ I get the error "Attempt to dereference a generic pointer". Using x/ multiple times works, since each use includes an implicit dereference, but this is annoying since I have to copy and paste each intermediate result. Example Consider the very useful C program, example.c: #include <stdi