List Info

Thread: Re: A question about dejagnu for something like gdbsever




Re: A question about dejagnu for something like gdbsever
user name
2007-09-24 05:00:59
Dear Jacobowitz:

        I have had a try according to your approach, things
has become 
better, but some fatal problem has come.

        In our debug solution, If I want to debug a program
named 
example.out, then first I must run simulator with -g option
to make it 
like a gdbserver:

        PACDSPISS -g example.out  (PACDSPISS is our
simulator)

        The simulator then will listening on port 2002.
 
      ( this port number 2002  has been hardcoded within
simulator and 
there is no way to change it, I don't have sourcecode).

       If I run this simulator on another terminal 

        PACDSPISS -g another.out, it will not work

        [wangjiongb1sys1 ~]$ PACDSPISS -g another.out

        PACDSPv31ISS Version:v3.3d (Build:20061117)

        Waiting for connection from GDB. (timeout after 60
seconds)
        PACDSP GDB utility uses socket...
        GDB utility can not bind to TCP 2002!! Abort!

        There should only be one copy of this simultor
running, but 
dejagnu environment will try to run many copy of the
simultor so it can 
not work.

        Wish any advices
        Thanks.



 
Wang Jiong 

  tel:2254

Re: A question about dejagnu for something like gdbsever
country flaguser name
United States
2007-09-24 06:07:23
On Mon, Sep 24, 2007 at 06:00:59PM +0800, ???? wrote:
>         There should only be one copy of this simultor
running, but 
> dejagnu environment will try to run many copy of the
simultor so it can 
> not work.

Try using a current CVS snapshot.  It should work better.

-- 
Daniel Jacobowitz
CodeSourcery

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )