* ARM - RDI ethernet support
@ 1999-12-29 13:05 Dave Vogel
1999-12-29 22:41 ` James Ingham
2000-01-04 16:52 ` Fernando Nasser
0 siblings, 2 replies; 4+ messages in thread
From: Dave Vogel @ 1999-12-29 13:05 UTC (permalink / raw)
To: Insight mail-list
Does any one know if Insight supports the ARM RDI protocol over
ethernet? I know that GDB supports it. I am successfully able to
connect to my target (using a "JEENI ICE") by opening a console window
and issuing the GDB target command "target rdi e=xxyyzz". However,
things such as "Ctrl-C"/Stop to force my target to halt doesn't seem to
work. Thanks in advance for any help...
-dave-
--
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Dave Vogel dave@lightsurf.com
LightSurf Technologies, Inc. www.lightsurf.com
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ARM - RDI ethernet support
1999-12-29 13:05 ARM - RDI ethernet support Dave Vogel
@ 1999-12-29 22:41 ` James Ingham
2000-01-04 16:52 ` Fernando Nasser
1 sibling, 0 replies; 4+ messages in thread
From: James Ingham @ 1999-12-29 22:41 UTC (permalink / raw)
To: Dave Vogel; +Cc: Insight mail-list
Dave,
The code that gdb uses to do ARM/RDI over UDP is all code that ARM
contributed. It does not use the main GDB TCP/IP code. The ARM code
was originally incorporated to provide serial support for the ANGEL
monitor, and it has been tested to some extent for that purpose. The
UDP code just came along for the ride. It has not been extensively
tested by anyone here at cygnus. I don't know of anyone else who has
used it much either.
At present, I don't think we have a way to test this, but if you can
fix any of the bugs you are seeing, we will be happy to help get the
patches into the main line of gdb...
Jim
> Does any one know if Insight supports the ARM RDI protocol over
> ethernet? I know that GDB supports it. I am successfully able to
> connect to my target (using a "JEENI ICE") by opening a console window
> and issuing the GDB target command "target rdi e=xxyyzz". However,
> things such as "Ctrl-C"/Stop to force my target to halt doesn't seem to
> work. Thanks in advance for any help...
>
> -dave-
>
> --
> *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> Dave Vogel dave@lightsurf.com
> LightSurf Technologies, Inc. www.lightsurf.com
> *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>
--
++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++
Jim Ingham jingham@cygnus.com
Cygnus Solutions Inc.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ARM - RDI ethernet support
1999-12-29 13:05 ARM - RDI ethernet support Dave Vogel
1999-12-29 22:41 ` James Ingham
@ 2000-01-04 16:52 ` Fernando Nasser
2000-01-05 11:53 ` RDI debugging Fernando Nasser
1 sibling, 1 reply; 4+ messages in thread
From: Fernando Nasser @ 2000-01-04 16:52 UTC (permalink / raw)
To: Dave Vogel; +Cc: Insight mail-list, gdb-patches, grante
Hi Dave,
Thank you for your patches.
I will incorporate the Tcl part of it soon, so we will be able to select
RDI over UDP on Insight.
As soon as I find some time, I will try to figure why pressing the STOP
button does not work. Note that it will be somewhat difficult for me as
I don't have an interruptible target on hands, but I will at least check
if interrupt_target() gets called.
With regards to the interrupt patch to ardi.c, we have already
incorporated a patch from Grant Edwards that does the same thing. Due
to my vacations and the difficulties I have to test (lack of ICE
target), I had no time to incorporate it in the snapshots, which I was
planning to do this week.
I am attaching the current patch and I would appreciate if you give it a
spin. If you have any problems please let us know. We can try to merge
the two patches (I don't think it will be necessary though).
Regards,
Fernando
--
Fernando Nasser
Cygnus Solutions - Toronto Office E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
Index: ardi.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/rdi-share/ardi.c,v
retrieving revision 1.5
diff -c -r1.5 ardi.c
*** ardi.c 1999/11/01 15:29:56 1.5
--- ardi.c 1999/12/13 22:31:16
***************
*** 392,397 ****
--- 392,398 ----
#endif
static bool boot_interrupted = FALSE;
+ static volatile bool interrupt_request = FALSE;
static void ardi_sigint_handler(int sig) {
#ifdef DEBUG
***************
*** 401,406 ****
--- 402,408 ----
IGNORE(sig);
#endif
boot_interrupted = TRUE;
+ interrupt_request = TRUE;
#ifndef __unix
signal(SIGINT, ardi_sigint_handler);
#endif
***************
*** 1306,1312 ****
return RDIError_NoError;
}
- static volatile bool interrupt_request = FALSE;
static void interrupt_target( void )
{
--- 1308,1313 ----
***************
*** 1397,1402 ****
--- 1398,1404 ----
angel_DebugPrint("Waiting for program to finish...\n");
#endif
+ signal(SIGINT, ardi_sigint_handler);
while( executing )
{
if (interrupt_request)
***************
*** 1406,1411 ****
--- 1408,1415 ----
}
Adp_AsynchronousProcessing( async_block_on_nothing );
}
+ signal(SIGINT, SIG_IGN);
+
#ifdef TEST_DC_APPL
Adp_Install_DC_Appl_Handler( NULL );
^ permalink raw reply [flat|nested] 4+ messages in thread
* RDI debugging
2000-01-04 16:52 ` Fernando Nasser
@ 2000-01-05 11:53 ` Fernando Nasser
0 siblings, 0 replies; 4+ messages in thread
From: Fernando Nasser @ 2000-01-05 11:53 UTC (permalink / raw)
To: Dave Vogel, Insight mail-list, gdb-patches, grante, James Ingham
The following patches have been commited and will show up in the next
snapshot:
Thank you Dave, Grant and Thomas.
2000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Dave Vogel (dave@lightsurf.com):
* targetselection.itb (init_target_db, config_dialog): Add support
for selecting a target running the Angel monitor (RDI protocol)
over an UDP connection.
* interface.tcl (set_target_name): Set hostname when target is RDI
over UDP (see previous entry).
2000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
From Grant Edwards <grante@visi.com> (original patch from Thomas
Zenker ):
* rdi-share/ardi.c: Allow interruption of interruptible
targets with a <CNTL-C>.
--
Fernando Nasser
Cygnus Solutions - Toronto Office E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-01-05 11:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-12-29 13:05 ARM - RDI ethernet support Dave Vogel
1999-12-29 22:41 ` James Ingham
2000-01-04 16:52 ` Fernando Nasser
2000-01-05 11:53 ` RDI debugging Fernando Nasser
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).