* Test insight with gdbserver
@ 2009-01-12 10:35 Jie Zhang
2009-01-12 16:41 ` Keith Seitz
0 siblings, 1 reply; 4+ messages in thread
From: Jie Zhang @ 2009-01-12 10:35 UTC (permalink / raw)
To: insight
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?
Regards,
Jie
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Test insight with gdbserver
2009-01-12 10:35 Test insight with gdbserver Jie Zhang
@ 2009-01-12 16:41 ` Keith Seitz
2009-01-13 2:39 ` Jie Zhang
0 siblings, 1 reply; 4+ messages in thread
From: Keith Seitz @ 2009-01-12 16:41 UTC (permalink / raw)
To: Jie Zhang; +Cc: insight
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?
Keith
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Test insight with gdbserver
2009-01-12 16:41 ` Keith Seitz
@ 2009-01-13 2:39 ` Jie Zhang
2009-01-14 9:52 ` Jie Zhang
0 siblings, 1 reply; 4+ messages in thread
From: Jie Zhang @ 2009-01-13 2:39 UTC (permalink / raw)
To: Keith Seitz; +Cc: insight
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Test insight with gdbserver
2009-01-13 2:39 ` Jie Zhang
@ 2009-01-14 9:52 ` Jie Zhang
0 siblings, 0 replies; 4+ messages in thread
From: Jie Zhang @ 2009-01-14 9:52 UTC (permalink / raw)
To: Jie Zhang; +Cc: Keith Seitz, insight
Jie Zhang wrote:
> 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.
>
I now have a patch which works for me. To contribute it to Insight, is
there any paper work about copyright I need to do? My code can be
assigned to FSF. But the copyright line of the file I touch is
copyrighted by Red Hat (insight-support.exp):
# GDB Testsuite Support for Insight.
#
# Copyright 2001, 2004 Red Hat, Inc.
Jie
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-14 9:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-12 10:35 Test insight with gdbserver Jie Zhang
2009-01-12 16:41 ` Keith Seitz
2009-01-13 2:39 ` Jie Zhang
2009-01-14 9:52 ` Jie Zhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).