aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-udi.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-09 16:53:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-09 16:53:32 +0000
commit0685d95ff4b448c413fe9717c45116820f35ac58 (patch)
treec7adafcc1119e58e3ea529f719c9013362d5749b /gdb/remote-udi.c
parent95a98b5efa7b4ca7bffb156f1af26235611a3923 (diff)
downloadgdb-0685d95ff4b448c413fe9717c45116820f35ac58.zip
gdb-0685d95ff4b448c413fe9717c45116820f35ac58.tar.gz
gdb-0685d95ff4b448c413fe9717c45116820f35ac58.tar.bz2
* gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it. * Callers to bfd_*open*: Pass gnutarget instead of NULL as target. * environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not putenv. * symtab.c (decode_line_1): Give error on unmatched single quote.
Diffstat (limited to 'gdb/remote-udi.c')
-rw-r--r--gdb/remote-udi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c
index b796e90..0dc5d95 100644
--- a/gdb/remote-udi.c
+++ b/gdb/remote-udi.c
@@ -1038,7 +1038,7 @@ download(load_arg_string, from_tty)
}
}
- pbfd = bfd_openr (filename, 0);
+ pbfd = bfd_openr (filename, gnutarget);
if (!pbfd)
perror_with_name (filename);