My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DebuggingCFserver  
Instructions on how to attach GDB to cf-server
Updated Jul 13, 2010 by mzakh...@gmail.com

Introduction

Instructions on how to checkout, build, load, and start debugging on ecelinux and cf-server

Details

  • on ecelinux, checkout the source with "svn checkout http://coldfire-gdb-stub.googlecode.com/svn/trunk/ coldfire-gdb-stub-read-only"
  • cd to coldfire-gdb-stub-read-only/src and type "make debug" to make the rtx.s19 file
  • use cfcp or whatever method to transfer the rtx.s19 file to the cf-server
  • telnet to cf-server.uwaterloo.ca, and record the second serial port value
  • on cf-server, load the .s19 file, and type "go 10100000"
  • on ecelinux, type "make gdbinit GPORT=### - where ### is the value of the second serial port
  • type "make gdb" on ecelinux to start the debugging session

Happy debugging :)


Sign in to add a comment
Powered by Google Project Hosting