aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorCharles Wilson <cygwin@cwilson.fastmail.fm>2006-02-25 04:36:39 +0000
committerCharles Wilson <cygwin@cwilson.fastmail.fm>2006-02-25 04:36:39 +0000
commit637d6690a829770987bd4433aacb157fc59ffb77 (patch)
tree9353b781dfa9d5458cd39b152ec56c8a89ec795e /gdb/symfile.c
parent83d634e3da41ad929375686dbb12ee4e3ce60101 (diff)
downloadbinutils-637d6690a829770987bd4433aacb157fc59ffb77.zip
binutils-637d6690a829770987bd4433aacb157fc59ffb77.tar.gz
binutils-637d6690a829770987bd4433aacb157fc59ffb77.tar.bz2
* gdb/defs.h: unconditionally include <fcntl.h>, and
ensure that O_BINARY is defined. * gdb/solib.c(solib_open): ensure solib files are opened in binary mode. * gdb/corelow.c: Remove O_BINARY macro definition. * gdb/exec.c: Remove O_BINARY macro definition * gdb/remote-rdp.c: Remove O_BINARY macro definition * gdb/source.c: Remove O_BINARY macro definition * gdb/symfile.c: Remove O_BINARY macro definition
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 841d738..59cd3dc 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -60,9 +60,6 @@
#include <time.h>
#include <sys/time.h>
-#ifndef O_BINARY
-#define O_BINARY 0
-#endif
int (*deprecated_ui_load_progress_hook) (const char *section, unsigned long num);
void (*deprecated_show_load_progress) (const char *section,