gdb/testsuite: Detect and warn about duplicate test names
[deliverable/binutils-gdb.git] / gdb / gdb-gdb.gdb.in
CommitLineData
c906108c
SS
1echo Setting up the environment for debugging gdb.\n
2
edceb2a9
JK
3if !$gdb_init_done
4 set variable $gdb_init_done = 1
c906108c 5
edceb2a9 6 set complaints 1
c906108c 7
edceb2a9
JK
8 b internal_error
9
edceb2a9
JK
10 dir @srcdir@/../libiberty
11 dir @srcdir@/../bfd
12 dir @srcdir@
13 dir .
14
15 # Commands below are not fully compatible with wrapping into an 'if' block.
c906108c
SS
16end
17
c906108c 18set prompt (top-gdb)
d97bc12b
DE
19
20define pdie
21 if $argc == 1
22 call dump_die ($arg0, 1)
23 else
24 if $argc == 2
25 call dump_die ($arg0, $arg1)
26 else
27 printf "Syntax: pdie die [depth]\n"
28 end
29 end
30end
31
32document pdie
33Pretty print a DWARF DIE.
34Syntax: pdie die [depth]
35end
This page took 1.567679 seconds and 4 git commands to generate.