Debugging with GDB (September 2007)
Chapter 3: GDB Commands 21
Here are three misce llaneous show subcommands, all of which are exceptional in lacking
corresponding set commands:
show version
Show what version of GDB is running. You should include this information in
GDB bug-reports. If multiple versions of GDB are in use at your site, you may
need to determine which version of GDB you are running; as GDB evolves, new
commands are introduced, and old ones may wither away. Also, many system
vendors ship variant versions of GDB, and there are variant versions of GDB
in gnu/Linux distributions as well. The version number is the same as the one
announced when you start GDB.
show copying
Display information ab out permiss ion for copying GDB.
show warranty
Display the gnu “NO WARRANTY” statement, or a warranty, if your version
of GDB comes with one.