RTEMS gdb

Stephen Holford SHolford at WESCAM.com
Wed Dec 5 19:10:29 UTC 2001


Eric,

I'm curious, what effect do you get by not having the patch?
After all connect_rdbg_exception is called from within TgtAttach just before
all of the debugging tasks and semapores are created. FYI, the "FADS" bsp
I'm using is a quick mod of the mbx bsp from the 20011025 snapshot so my
environment should be pretty similar to your MBX860 one. I'll send my rdbg
changes with explanations your way in the next day or so.

Steve

----- Original Message -----
From: "VALETTE Eric" <valette at crf.canon.fr>
To: "Joel Sherrill" <joel.sherrill at oarcorp.com>
Cc: "Stephen Holford" <sholford at WESCAM.com>; <rtems-users at oarcorp.com>
Sent: Wednesday, December 05, 2001 11:04 AM
Subject: Re: RTEMS gdb


> VALETTE Eric wrote:
>
>
> > We had it working on MBX860 changing on a recent snapshot only one line
of
> > code. So please submit paches and I will check them (possibly in :-)).
>
>
> Here is the patch (quite badly needed I must admit :-()
>
>
> --
>     __
>    /  `                          Eric Valette - Canon CRF
>   /--   __  o _.                 Product Dev. Group Software Team Leader
> (___, / (_(_(__                 Rue de la touche lambert
>                                  35517 Cesson-Sevigne  Cedex
>                                  FRANCE
> Tel: +33 (0)2 99 87 68 91       Fax: +33 (0)2 99 84 11 30
> E-mail: valette at crf.canon.fr    http://www.crf.canon.fr
>
>


----------------------------------------------------------------------------
----


> *** rtems/c/src/librdbg/src/rdbg.c Wed Dec  5 17:01:05 2001
> --- rtems/c/src/librdbg/src/rdbg.c.new Wed Dec  5 17:00:21 2001
> ***************
> *** 83,89 ****
>           printf(stderr, "unable to register (REMOTEDEB, REMOTEVERS,
udp).");
>   return -4;
>       }
> !
>       return 0;
>   }
>
> --- 83,90 ----
>           printf(stderr, "unable to register (REMOTEDEB, REMOTEVERS,
udp).");
>   return -4;
>       }
> !     connect_rdbg_exception();
> !
>       return 0;
>   }
>
>



More information about the users mailing list