swarm-support
[Top][All Lists]
Advanced

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

using the GDB debugger--


From: Ken Gosier
Subject: using the GDB debugger--
Date: Sun, 10 Sep 2000 13:29:28 -0400

Please pardon me if this question gets asked every 2 weeks here; I will
gladly take an RTFM to the right manual--


I'm trying to use GDB to step through the application I've created,
which is a shell script. So gdb complains that the program I gave it is
not in the right format.
   Looking through man and info on gdb, I can only find info telling
that gdb must be run with C,C++, or Modula-2.


Looking at Paul Johnson's online faq, there seem to be 2 questions that
deal with this:

Question 5.1, which warns that the executable is a script. Here there is
a pointer to an e-mail message on this setup, which suggests to use
'make install'  instead of 'make' to get an objective-C executable.
   I tried this, and it tried to install in the executable in /usr/bin,
which I (as a user) don't have permission for. I can su to root and do
this if necessary, but I'd prefer not to.

Question 6.21, which tells about a patch to make gdb work with Objective
C. This question seems to assume that the swarm application is already
an objective-C executable, however. This question is from May 1998.
Perhaps in an earlier version of swarm, a straight objective-C
executable was built?

Thanks in advance for any help--
Ken Gosier

                  ==================================
   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]