darling-gdb/gdb/.gdbinit
Jim Kingdon f3601320cc * .gdbinit: Restore `end'; it was not excess. Reindent
list-objfiles to make this clear.  Comment out all of
	list-objfiles because old gdb's choke on it.
1994-10-13 20:36:04 +00:00

29 lines
591 B
Plaintext

echo Setting up the environment for debugging gdb.\n
set complaints 1
b fatal
b info_command
commands
silent
return
end
dir ../mmalloc
dir ../libiberty
dir ../bfd
set prompt (top-gdb)
# This only works with recent (post-4.13) GDB's, but there is no way to
# tell what version we are. So leave it commented out for now.
#define list-objfiles
# set $obj = object_files
# printf "objfile bfd msyms name\n"
# while $obj != 0
# printf "0x%-8x 0x%-8x %6d %s\n", $obj, $obj->obfd, \
# $obj->minimal_symbol_count, $obj->name
# set var $obj = $obj->next
# end
#end