aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-hms.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-hms.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-hms.c')
-rw-r--r--gdb/remote-hms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c
index 22d6c2b..126babc 100644
--- a/gdb/remote-hms.c
+++ b/gdb/remote-hms.c
@@ -412,7 +412,7 @@ hms_load (args, fromtty)
dcache_flush ();
inferior_pid = 0;
- abfd = bfd_openr (args, 0);
+ abfd = bfd_openr (args, gnutarget);
if (!abfd)
{
printf_filtered ("Unable to open file %s\n", args);