Previously when I wrote this document, I felt the completed scripts was lengthy, redundant and not easy to read. So I didn't add complete examples in the previous commit.
However, in the recent discussion with @avogelsgesang, I found people may not know how to use debugging scripts to improve their debugging efficiency. So now, I feel like it is helpful to put the examples even if they are a little bit long.
I understand it may be better to provide debugging scripts for lldb too since we are in LLVM community : ) But I never used lldb before... So I put the examples for gdb only. I guess this won't be a blocking issue?
Test Plan: make docs-clang-html
Here we can't use .. code-block:: console since it will meet some parsing problems.