diff options
author | John Gilmore <gnu@cygnus> | 1991-05-02 03:39:15 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-05-02 03:39:15 +0000 |
commit | 639893384d5faeaa671f98dfc3ed169e9aa2ccc9 (patch) | |
tree | 40f7a4988d62134fc87b4150350a47248d3169a2 /gdb/environ.c | |
parent | e77463a15c9c8cdb06a47cf3f84bac76eddd1f25 (diff) | |
download | gdb-639893384d5faeaa671f98dfc3ed169e9aa2ccc9.zip gdb-639893384d5faeaa671f98dfc3ed169e9aa2ccc9.tar.gz gdb-639893384d5faeaa671f98dfc3ed169e9aa2ccc9.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/environ.c b/gdb/environ.c index 4109472..45767e5 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)); } |