PATCH: Avoid accidentally opening files for write

Daniel Jacobowitz drow@false.org
Mon Jun 13 03:21:00 GMT 2005


On Tue, Jun 07, 2005 at 12:17:23AM -0700, Mark Mitchell wrote:
> 2005-06-06  Mark Mitchell  <mark@codesourcery.com>
> 
> 	* corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
> 	* exec.c (exec_file_attach): Likewise.
> 	* solib-frv.c (enable_break2): Likewise.
> 	* solib-svr4.c (enable_break): Likewise.
> 	* solib.c (solib_map_sections): Likewise.
> 	* symfile.c (symfile_bfd_open): Likewise.

The GDB portions of this patch are OK, now that the bfd side has been
hammered out.  Thanks.


-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Gdb-patches mailing list