summaryrefslogtreecommitdiff
path: root/gdb/environ.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-02 03:39:15 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-02 03:39:15 +0000
commit639893384d5faeaa671f98dfc3ed169e9aa2ccc9 (patch)
tree40f7a4988d62134fc87b4150350a47248d3169a2 /gdb/environ.c
parente77463a15c9c8cdb06a47cf3f84bac76eddd1f25 (diff)
downloadbinutils-gdb-639893384d5faeaa671f98dfc3ed169e9aa2ccc9.tar.gz
Merge devo/bfd with GDB's bfd.
Get getopt and obstack from -liberty rather than compiling them here. * coffread.c: turn a printf into a complain(), and try to deal more gracefully with botched-looking lineno pointers. * dbxread.c: Use bfd_get_symcount rather than bfd_get_symcount_upper_bound. Don't coredump on files with zero symbols in them (a BFD bug showed this one). * environ.c: Pass GNUTARGET into the parent (gdb) as well as the child.
Diffstat (limited to 'gdb/environ.c')
-rw-r--r--gdb/environ.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/environ.c b/gdb/environ.c
index 4109472e4ea..45767e50536 100644
--- a/gdb/environ.c
+++ b/gdb/environ.c
@@ -157,6 +157,7 @@ set_in_environ (e, var, value)
if (!strcmp(var, "PATH") /* Object file location */
|| !strcmp (var, "G960BASE") /* Intel 960 downloads */
|| !strcmp (var, "G960BIN") /* Intel 960 downloads */
+ || !strcmp (var, "GNUTARGET") /* BFD object file type */
) {
putenv (strsave (s));
}