I can't think of any reason why host-sh would not like gdb. Make sure that
you are not trying to use cs161-gdb to debug your host shell. YOu need to
use the gdb installed on the Alpha.
On Sat, 22 Feb 2003, Brian Michael Greenberg wrote:
Ok, I run the host-sh program in the bin/sh directory,
and it just prints
the prompt and hangs, not accepting any input. The host-sh executable
uses system calls from digital unix, right? Like if our read() system
call isn't working correctly, it shouldn't matter, because host-sh uses
the unix system calls, right? If so, I can't think of any reason why the
program should just hang there, and host-sh doesn't seem to like gdb.
Thanks,
Brian
=======================
Brian Greenberg
bgreenb(a)fas.harvard.edu
=======================
On Sat, 22 Feb 2003, David Holland wrote:
It says
in the assignment that we can compile the shell for the alpha, and
that the supplied makefile already does this. I've written the shell, and
I'd like to run a few quick tests, and I'm wondering how to run it (my
partner is doing fork/exec and it's not done yet, so I have to run it on
digital unix). Does anyone know how to do this?
When you compile it, both "sh" and "host-sh" are created. The latter
is the version that runs on the host OS. (There are host-* versions of
a few other programs, too. They all get installed in $(OSTREE)/hostbin.)
--
- David A. Holland / dholland(a)eecs.harvard.edu
_______________________________________________
cs161-list mailing list
cs161-list(a)fas.harvard.edu
http://www.fas.harvard.edu/mailman/listinfo/cs161-list
_______________________________________________
cs161-list mailing list
cs161-list(a)fas.harvard.edu
http://www.fas.harvard.edu/mailman/listinfo/cs161-list