Just either type: backtrace, bt or where.
backtrace
bt
where
For a full backtrace type: backtrace full or type: bt full
backtrace full
bt full
See also: https://visualgdb.com/gdbreference/commands/backtrace