This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: testcase for "absolute source" patch
Hi Baurjan,
mec> . since the script does not work with build != host, you can simplify
mec> all the "remote_exec host" calls to TCL primitives that run on the
mec> build machine anyways. Like: "file mkdir ...". Your choice.
mec> If you like "remote_exec host", you can keep it.
bi> I like it, since it works now and marks clearly the commands for the
bi> host. It can wait in the wings.
If you like it that way, okay.
bi> How does one do that? I've tried the following:
remote_exec doesn't throw an error; it returns a list:
# A two-element list is returned. The first value is the exit status of the
# program (-1 if the exec failed). The second is any output produced by
# the program (which may or may not be empty if output from the program was
# redirected).
Go into the dejagnu installation directory and look for
share/dejagnu/remote.exp.
More feedback later (tonight or tomorrow) -- this is all I have time
for today.
Michael