aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.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-sim.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-sim.c')
-rw-r--r--gdb/remote-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 005515d..310b75d 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -73,7 +73,7 @@ int fromtty;
asection *s;
inferior_pid = 0;
- abfd = bfd_openr(args, (char*)0);
+ abfd = bfd_openr (args, (char*)gnutarget);
if (!abfd)
{