* source.c (symtab_to_fullname): Test 'r >= 0'.
authorTom Tromey <tromey@redhat.com>
Thu, 30 Oct 2008 18:42:28 +0000 (18:42 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 Oct 2008 18:42:28 +0000 (18:42 +0000)
commit9fe4a2165de29f0802f0f9eb4801875e0f15c40a
tree57e0cbb83e955478f8ef776fdf63e64be3c4fc84
parentc22261528c50f7760dd6a2e29314662b377eebb4
* source.c (symtab_to_fullname): Test 'r >= 0'.
(psymtab_to_fullname): Likewise.
(get_filename_and_charpos): Make a cleanup.
(forward_search_command): Likewise.
(reverse_search_command): Likewise.
* exec.c (exec_file_attach): Close scratch_chan on failure.
* nto-procfs.c (procfs_open): Make a cleanup.
(procfs_pidlist): Likewise.
(do_closedir_cleanup): New function.
gdb/ChangeLog
gdb/exec.c
gdb/nto-procfs.c
gdb/source.c