From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: jithendra nath Cc: sourcenav@sources.redhat.com Subject: Re: Debugging SN source Date: Wed, 12 Sep 2001 12:26:00 -0000 Message-id: <3B9FB9DD.B69A2570@redhat.com> References: <20010911074353.89940.qmail@web13808.mail.yahoo.com> X-SW-Source: 2001-q3/msg00150.html jithendra nath wrote: > > dear all, > > Why am i not able to debug SN source code with > gdb. > > when i give in command line > > gdb snavigator > > i get an errar like > "not in executable format : file format not > recognized" > > where as iam able to debug the executables of parsers. > why ? snavigator is a shell script. > how can i debug SN executable?? If you read the snavigator file you'll notice that there is line which runs Source-Navigator from gdb. It's commented out, but if you uncomment it and run the script snavigator, you'll debug SN. Ian.