PS2DEV network    

  > HOME
  > ABOUT

  > FORUMS
  > VIEW SVN
  > MAILING LIST
  > WIKI
  > QUOTES
  > DOCS

 PS2
  > TUTORIALS
  > LOADERS
  > TOOLS
  > SAMPLE CODE
  > DEMOS
  > PROJECTS

 PSP
  > TUTORIALS
  > TOOLS
  > DEMOS
  > PROJECTS

 PS3
  > LINKS
  > TUTORIALS
  > TOOLS
  > DEMOS
  > PROJECTS

   RSS


 USER ID (register)
 
 PASSWORD
 



 
  GDB-Insight Debugger
If you're looking to debug your PS2 applications you're going to need a debugger. The Insight debugger comes with cygwin and can be seen by typing 'gdb' at the cygwin bash shell. The default version is configured to debug cygwin applications on a intel environment. You need to recompile Insight to target the mips architecture to debug PS2.

Note This procedure is only going to be of use if you are working on building PSX or PS2 stubs for the debugger. When the remote stubs are complete this will become a very powerful tool to help build PS2 applications.

  1. You can download Insight sources from ftp://mirrors.rcm.net/sources.redhat.com/gdb/releases/insight-5.0.tar.gz

    Note Source file is 18meg so if you're on a modem be prepared to wait.

  2. Save the archive to your cygwin home directory. (eg. /home/administrator ) and then extract the file.

    >gzip -d insight-5.0.tar.gz
    >tar -xf insight-5.0.tar


  3. This will create a directory called 'insight-5.0'. Enter that directory and configure and compile the sources.

    >cd insight-5.0
    >CC='gcc -mwin32' ./configure --target=mipsel-elfl --prefix=/home/administrator/insight
    >make
    >make install

    Note The configure line must begin with CC='gcc -mwin32' on a cygwin installation only.

    Note If you want to work on PSX, not PS2. Set the target as mipsel-ecoff (eg --target=mipsel-ecoff ).

    As normal the configure step will take a short while. The make step will take a lot longer. The install step will be over before you know it! :)



  > Locked
  > Edit Topic
  > Add Topic
  > Add Link
  > Add File
  > Move Topic
  > Delete Topic
  > Order Topics
  > Versions

Owned by oobles
last updated by oobles on Wed Apr 25 00:00:00 GMT 2001
 
Site Content Copyright 2001-2007 © Authors. Read Legal Statement for Information
LiveKnowledge Software by Live Media