I donβt know if it is possible to provide full backtrace, but you can give the numeric argument βbtβ to get more frames:
(gdb) bt 10
#0 x () at test.c:4
#1 0x080483bf in x () at test.c:4
#2 0x080483bf in x () at test.c:4
#3 0x080483bf in x () at test.c:4
#4 0x080483bf in x () at test.c:4
#5 0x080483bf in x () at test.c:4
#6 0x080483bf in x () at test.c:4
#7 0x080483bf in x () at test.c:4
#8 0x080483bf in x () at test.c:4
#9 0x080483bf in x () at test.c:4
(More stack frames follow...)
This also works with negative numbers that give the outermost frames:
(gdb) bt -2
#122467 0x080483bf in x () at test.c:4
#122468 0x080483bf in x () at test.c:4
, , .