1-gdb-show interpreter
=thread-group-added,id="i1"
~"GNU gdb (GDB) 8.1\n"
~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.\n"
~"This GDB was configured as "x86_64-apple-darwin17.3.0".\nType "show configuration" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"http://www.gnu.org/software/gdb/bugs/.\n"
~"Find the GDB manual and other documentation resources online at:\nhttp://www.gnu.org/software/gdb/documentation/.\n"
~"For help, type "help".\n"
~"Type "apropos word" to search for commands related to "word"...\n"
=cmd-param-changed,param="startup-with-shell",value="off"
&"./A: No such file or directory.\n"
(gdb)
1^error,msg="Undefined show command: "interpreter". Try "help show"."
(gdb)
2-inferior-tty-set /var/folders/5g/yfnn_z8n0rzdsbnzfp9p5r8m0000gq/T/tmpisaybh
2^done
(gdb)
3-enable-pretty-printing
4-gdb-set target-async 1
3^done
(gdb)
5-gdb-set pagination off
4^done
(gdb)
6-gdb-set disassembly-flavor intel
5^done
(gdb)
6^done
(gdb)
7-exec-run
7^error,msg="No executable file specified.\nUse the "file" or "exec-file" command."
(gdb)
8-exec-interrupt --all
8^done
(gdb)
9-break-insert ""/Users/B0203394/Desktop/A.cpp":6"
9^error,msg="No symbol table is loaded. Use the "file" command."
(gdb)
1-gdb-show interpreter
=thread-group-added,id="i1"
~"GNU gdb (GDB) 8.1\n"
~"Copyright (C) 2018 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.\n"
~"This GDB was configured as "x86_64-apple-darwin17.3.0".\nType "show configuration" for configuration details."
~"\nFor bug reporting instructions, please see:\n"
~"http://www.gnu.org/software/gdb/bugs/.\n"
~"Find the GDB manual and other documentation resources online at:\nhttp://www.gnu.org/software/gdb/documentation/.\n"
~"For help, type "help".\n"
~"Type "apropos word" to search for commands related to "word"...\n"
=cmd-param-changed,param="startup-with-shell",value="off"
&"./A: No such file or directory.\n"
(gdb)
1^error,msg="Undefined show command: "interpreter". Try "help show"."
(gdb)
2-inferior-tty-set /var/folders/5g/yfnn_z8n0rzdsbnzfp9p5r8m0000gq/T/tmpisaybh
2^done
(gdb)
3-enable-pretty-printing
4-gdb-set target-async 1
3^done
(gdb)
5-gdb-set pagination off
4^done
(gdb)
6-gdb-set disassembly-flavor intel
5^done
(gdb)
6^done
(gdb)
7-exec-run
7^error,msg="No executable file specified.\nUse the "file" or "exec-file" command."
(gdb)
8-exec-interrupt --all
8^done
(gdb)
9-break-insert ""/Users/B0203394/Desktop/A.cpp":6"
9^error,msg="No symbol table is loaded. Use the "file" command."
(gdb)