"Pascal Bourguignon" wrote:
> "Eric Lilja" <[EMAIL PROTECTED]> writes:
>> [...]
>> But then when I tried to use debug mode (M-x gdb) it didn't find a symbol
>> table but I solved that by adding ../name_of_executable to
>> Run gdb (like this): gdb --annotate=3 ../name_of_executable
>
> Yes, or put a .gdbinit file along with the executable containing:
>
> directory src
>
>
>> If I try compile mode (M-x compile) it doesn't work because it cant find 
>> the
>> Makefile, so I added -f ../Makefile but it still won't work because the
>> [...]
>> Anyone have any other solutions??
>
>        make -C ..
>
> which is equivalent to:
>
>        cd .. ; make
>
> -- 
> __Pascal Bourguignon__                     http://www.informatimago.com/
> Cats meow out of angst
> "Thumbs! If only we had thumbs!
> We could break so much!"

Thanks, Pascal, make -C .. works great, but I don't see what the .gdbinit 
file does for me...when doing M-x gdb I still have to point out the 
executable by passing ../name_of_exe to gdb.

/ Eric 


_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to