aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-hms.c
diff options
context:
space:
mode:
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);