我在 $HOME 目录中创建了一个新文件 .gdbinit。当我执行 gdb 命令时,出现以下错误。
bld05 abc /users/abc 25 > gdb
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"./users/abc/.gdbinit:1: Error in sourced command file:
Undefined command: "TL". Try "help".
我不知道出了什么问题。谁能告诉我?
.gdbinit 文件包含http://www.yolinux.com/TUTORIALS/src/dbinit_stl_views-1.03.txt