Instructor: Ding Yuan
Course Number: ECE344

Home
Discussion (piazza)
Lab Documentation
Lab Assignments
Schedule and Lecture Notes
Grades (UofT portal)

Operating Systems

ECE344, Winter 2017
University of Toronto


Using Cscope for Code Navigation

Cscope allows you to easily navigate code. In particular, it allows you to find the callers of a function (this is not supported by tags).

You will first need to setup cscope as follows:

  %  cd ~/ece344/os161/kern
  %  find . -name "*.[cshS]" > cscope.files

You will need to run the setup command above every time you add new files to OS161 or make significant modifications to your code.

Then you can invoke cscope anytime as follows:

  %  cd ~/ece344/os161/kern
  %  cscope

To exit cscope, you will need to type ctrl-d.

Look at man cscope for more details.