* exec.c (map_vmap): Cast return from xmalloc to its proper type,
authorJim Kingdon <jkingdon@engr.sgi.com>
Sat, 15 Oct 1994 18:13:47 +0000 (18:13 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sat, 15 Oct 1994 18:13:47 +0000 (18:13 +0000)
commite080a68fce6b8e73c9869a6016d726f820dee7fc
treee4b54e9e71c3a7a58e9e9bbfd30ae019f0dd7134
parent966b6b3b9e1d3fee5eade33f59cff7e0264874dc
* exec.c (map_vmap): Cast return from xmalloc to its proper type,
not to PTR.

* symfile.c (reread_symbols): Include bfd_errmsg string in error
message if bfd_close fails.
* exec.c (exec_close), solib.c (clear_solib), corelow.c
(core_close), objfiles.c (free_objfile), irix5-nat.c
(clear_solib), remote-utils.c (gr_load_image):
Check for errors from bfd_close.
* solib.c (look_for_base), remote-utils.c (gr_load_image),
remote-udi.c (download), corelow.c (core_open), symfile.c
(symfile_bfd_open), symfile.c (generic_load): Add comment
regarding error from bfd_close.
* remote-udi.c (download), remote-utils.c (gr_load_image): Add
comment about bogus handling of errors from bfd_openr.
* exec.c (exec_close): Add comment regarding memory leak and
dangling reference to vp->name.
gdb/ChangeLog
gdb/remote-udi.c