****************************************
* LUG meet on 12 Jan. 2003 @ VJTI
****************************************

On Thu, 19 Dec 2002 23:05:45 +0530
Rahul Saxena wrote:

>Can i look at values of constants or expressions, probably from
>an another file, say a header or somthing, using emacs.
>I guess it  would involve going going through all the #defines
>or constructs in the header files ?

Yes, you can use Emacs as a programming environment. The C major
mode of Emacs can do syntax highlighting and auto-indentation.
You can use gdb debugger within emacs to look at the values of
constants, evaluate expressions etc. or trace the program
execution.

Please refer to _Linux_Programming_Bible_ by John Goerzen. It has
an excellent explanation of how to use gcc compiler, gdb
debugger, and GNU Make utility to maintain groups of programs(aka
projects), all within the Emacs environment.

HTH

-- 
Tahir Hashmi (VSE, NCST)
http://staff.ncst.ernet.in/tahir
tahir AT ncst DOT ernet DOT in

We, the rest of humanity, wish GNU luck and Godspeed


-- 
_______________________________________________

http://mm.ilug-bom.org.in/mailman/listinfo/linuxers



Reply via email to