swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging with GDB in Linux


From: Darren Schreiber
Subject: Debugging with GDB in Linux
Date: Tue, 5 Oct 1999 21:52:10 -0700

I have tried to use gdb in my new Linux installation.  I type gdb
VotingModel after a compile and I get "not in executable format: File
format not recognized."  I can run the program by typing ./VotingModel from
the shell or terminal and by clicking on it in the GNOME file manager.  I
looked at VotingModel using emacs and there is a script there.  It
mentioned something about a .libs/VotingModel.  I tried to run that from
gdb but that didn't work.

So, how do I run and debug a program with gdb in emacs while I am running
Swarm 2.0.1 in Linux?  When I select the debugger and it says  "(gdb)  run
" what filename or location do I type or what do I do now?

        Darren

_____________________________________________

                 Darren Schreiber
                  Attorney at Law
                 Graduate Student
             Political Science, UCLA
                address@hidden

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]