vivier / qemu-m68k

Other
40 stars 6 forks source link

qemu-m68k: fix '-strace' not to accept arguments #5

Closed trofi closed 8 years ago

trofi commented 8 years ago

Noticed today when ran in strace mode:

$ qemu-m68k-git -L /usr/m68k-unknown-linux-gnu/ -strace /tmp/a +RTS -D{s,i,w,G,g,b,S,t,p,a,l,m,z,c,r}
Error while loading +RTS: No such file or directory

Upstream handles options correctly:

$ qemu-m68k -L /usr/m68k-unknown-linux-gnu/ -strace /tmp/a +RTS -D{s,i,w,G,g,b,S,t,p,a,l,m,z,c,r}
qemu: fatal: Illegal instruction: ebc0 @ f67e36a8

Signed-off-by: Sergei Trofimovich siarheit@google.com

vivier commented 8 years ago

Thanks for the fix, if you agree I will merge it with the commit (https://github.com/vivier/qemu-m68k/commit/59082aa709a7334ece4c54a7c8d3ceed1daf8c92) introducing the problem on my next rebase.

trofi commented 8 years ago

Thanks for the fix, if you agree I will merge it with the commit (59082aa) introducing the problem on my next rebase.

Sure. No problem!