]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/gdbinit.in
daily update
[thirdparty/binutils-gdb.git] / gdb / gdbinit.in
CommitLineData
c906108c
SS
1echo Setting up the environment for debugging gdb.\n
2
3set complaints 1
4
7be570e7 5b internal_error
c906108c
SS
6
7b info_command
8commands
9 silent
10 return
11end
12
c906108c
SS
13dir @srcdir@/../libiberty
14dir @srcdir@/../bfd
67f07146
JB
15dir @srcdir@
16dir .
c906108c 17set prompt (top-gdb)
d97bc12b
DE
18
19define pdie
20 if $argc == 1
21 call dump_die ($arg0, 1)
22 else
23 if $argc == 2
24 call dump_die ($arg0, $arg1)
25 else
26 printf "Syntax: pdie die [depth]\n"
27 end
28 end
29end
30
31document pdie
32Pretty print a DWARF DIE.
33Syntax: pdie die [depth]
34end