Re: help on debugging gcc using gdb

2010-01-10 Thread Jonathan Wakely
2010/1/10 swati raina: > > I am tried to debug gcc using the following commands > > 1)[sw...@localhost ~]$ gdb --args /usr/bin/gcc See http://gcc.gnu.org/wiki/DebuggingGCC

help on debugging gcc using gdb

2010-01-10 Thread swati raina
Hi, I want to detect simple 'if-else' statements for which i need to understand the source code of gcc. I am using version 4.4.0. So, I am tried to debug gcc using the following commands 1)[sw...@localhost ~]$ gdb --args /usr/bin/gcc Missing separate debuginfos, use: debuginfo-install gcc-4.4.0