1999-04-16 01:35:26 +00:00
|
|
|
echo Setting up the environment for debugging gdb.\n
|
|
|
|
|
|
|
|
set complaints 1
|
|
|
|
|
1999-08-16 19:57:19 +00:00
|
|
|
b internal_error
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
b info_command
|
|
|
|
commands
|
|
|
|
silent
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
dir @srcdir@/../libiberty
|
|
|
|
dir @srcdir@/../bfd
|
2002-07-30 07:01:23 +00:00
|
|
|
dir @srcdir@
|
|
|
|
dir .
|
1999-04-16 01:35:26 +00:00
|
|
|
set prompt (top-gdb)
|
2008-10-06 22:23:18 +00:00
|
|
|
|
|
|
|
define pdie
|
|
|
|
if $argc == 1
|
|
|
|
call dump_die ($arg0, 1)
|
|
|
|
else
|
|
|
|
if $argc == 2
|
|
|
|
call dump_die ($arg0, $arg1)
|
|
|
|
else
|
|
|
|
printf "Syntax: pdie die [depth]\n"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
document pdie
|
|
|
|
Pretty print a DWARF DIE.
|
|
|
|
Syntax: pdie die [depth]
|
|
|
|
end
|