swarm-support
[Top][All Lists]
Advanced

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

Re: Cygnus gdb problem on Win95


From: Marcus G. Daniels
Subject: Re: Cygnus gdb problem on Win95
Date: 31 Mar 1998 18:37:13 -0800

>>>>> "WS" == Wengui Su <address@hidden> writes:

WS> I experienced some problem with Cygnus gdb on Win95. I am running
WS> gdb within emacs(actually I couldn't run gdb from bash because the
WS> error with main.tcl).

What do you get if you do a:

  M-:
  (getenv "GDBTK_LIBRARY")

Have you tried using the modified swarm.exe I posted to generate
the elisp variable settings?

M-x gdb seems to work ok for me with the "swarm -e > vars.el" output, although
unless you inherit a PATH with gdb.exe in it from the environment,
you'd need to specify the full gdb path by hand or add it Emacs' exec-path,
like so -- after doing a (load "/Swarm/vars.el").

(setq exec-path (append (list (concat (getenv "CYGROOT")
                                      "\\H-i386-cygwin32\bin"))))

WS> some variable value is right, but
WS> some is unbelievable big. In order to track the problem down, I
WS> swith on my Solaris system, and do the same thing with gdb, the
WS> problem disappeared(same version of program). 

Maybe this is just the result of optimization?  Does it help to
disable optimization by passing "OPTFLAGS=-O0" on the command line of
`make' for a rebuild of your application and/or a recompile of Swarm itself?


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