gdb/
[deliverable/binutils-gdb.git] / gdb / gdbinit.in
1 echo Setting up the environment for debugging gdb.\n
2
3 set complaints 1
4
5 b internal_error
6
7 b info_command
8 commands
9 silent
10 return
11 end
12
13 dir @srcdir@/../libiberty
14 dir @srcdir@/../bfd
15 dir @srcdir@
16 dir .
17 set prompt (top-gdb)
18
19 define 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
29 end
30
31 document pdie
32 Pretty print a DWARF DIE.
33 Syntax: pdie die [depth]
34 end
This page took 0.031425 seconds and 4 git commands to generate.