summaryrefslogtreecommitdiff
path: root/linux-user/linuxload.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-11-19 20:29:35 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-11-19 20:29:35 +0000
commit38d0662a4cf196cc059c9e27f634b13fb24fce2d (patch)
treebd4c37654250a2fe94a30d42f8bdc4b29b9cd474 /linux-user/linuxload.c
parent1be9e1dc569eb3817441baf60d26648c5dcef12d (diff)
Arm semihosted commandline support (Wolfgang Schildbach).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2216 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/linuxload.c')
-rw-r--r--linux-user/linuxload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c
index ef5409b95f..2d20c000db 100644
--- a/linux-user/linuxload.c
+++ b/linux-user/linuxload.c
@@ -162,6 +162,8 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
retval = prepare_binprm(&bprm);
+ infop->host_argv = argv;
+
if(retval>=0) {
if (bprm.buf[0] == 0x7f
&& bprm.buf[1] == 'E'