This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: Test insight with gdbserver
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: insight at sourceware dot org
- Date: Tue, 13 Jan 2009 10:38:51 +0800
- Subject: Re: Test insight with gdbserver
- References: <496B1CC3.9040905@analog.com> <496B7274.5060705@redhat.com>
Keith Seitz wrote:
Jie Zhang wrote:
Is there a way to run gdb.gdbtk with gdbserver? It seems to me that
gdb.gdbtk cannot load program using gdbserver. Is there anything I
missed?
If this is supported by gdb, it should work. Can you run gdb's test
suite with gdbserver as the target? What does your site.exp look like?
I can run gdb's testsuite with gdbserver. But I cannot do the same for
insight.
It seems that insight-support.exp can only deal with four target types:
monitor, simulator, sid and native. Neither of them will start gdbserver
on target machine. It looks to me that gdb.gdbtk sets file by using
gdbtk_test_file and then uses the gdb commands in info(init),
info(target), info(load) and info(run) to start test. It does not use
gdb_load which is used in the other part of gdb testsuite.
Which site.exp do you want to take a look?
Regards,
Jie