delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/06/10:37:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 06 Oct 2000 10:39:57 -0400
From: Mike MacMillan <mmacmillan AT draper DOT com>
Subject: Connecting to PSIM from GDB on NT platform
X-Sender: mjm1431 AT imap DOT draper DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Message-id: <4.2.0.58.20001006100634.00a305a0@imap.draper.com>
MIME-version: 1.0
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58

Hello,

I am trying to connect to PSIM simulator from GDB. Previously installed 
ECOS 1-3-1,
cygwin,gdb5.0.1,gcc2.95.2,binutils2.1.0 on Windows NT.

 From a cygwin bash shell, entered gdb <return>. a GUI based debugger 
Window appeared.
Under file menu,selected  target settings and selected exec in target 
choice in the dialog box that came up. Back to main debug window(Source 
Window),under the view menu,clicked on console submenu. A console window 
appaeared with a gdb prompt.

Per ecos documentation,modified gdb.ini with following macro:
        define psim
        target sim -o '/iobus/pal AT 0xf0001000/regt 0xf0001000 32 '
        rbreak cyg_test_exit
        rbreak cyg_assert_fail
        end
then from gdb prompt in console window,tried to connect to simulator by 
issuing following
commands:
        (gdb) psim
        (gdb) target sim
        (gdb) target eabisim
        (gdb) target power-eabisim
        (gdb) target simulator
        (gdb) target psim

All of these returned a undefined target command error message.

Has anybody experiienced similar problems.Can PSIM run on NT machine

On the web, I read that the following macro should be defined in gdb.ini:
        define psimtarget sim -f 
BASE_DIR/packages/hal/powerpc/sim/v1_2_1/runtime/tree
        rbreak cyg_test_exit
        rbreak cyg_assert_fail
        end

I did not see all of that directory path on my system - in particular the 
runtime/tree portion is
missing. Does PSIM come with gdb5.0.1??

I do not know if there is a more appropriate mailing list to address my 
questions to. I could not
find one for PSIM. If there is one,please tell me.

Any comments would be greatly appreciated!



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019