Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 1995 10:44:04 -0400
From:      murphyp1@AIXDev1.ais.msu.edu (Patrick Murphy)
To:        freebsd-questions@freebsd.org
Subject:   Re: xxgdb problem running under FreeBSD 2.0.5
Message-ID:  <9506161444.AA08613@AIXDev1.ais.msu.edu>

next in thread | raw e-mail | index | archive | help

>> Problem #1:
>> =======================================================================
>> After issuing the "run" command under the xxgdb debugger, the program
>> seems to "hang" for a few seconds and then issue the following message:
>> 
>>   ^[7^[[r^[[999;999H^[[6nresize: Time out occurred^M
>> 
>> The program being "debugged" does appear to run normally after this
>> message.
>> 
>> Does anyone know what might be going on and how I might be able to 
>> correct this problem?
>
>Yeah, it's running the xterm 'resize' command (seperate binary that comes
>with xterm), repositioning the cursor to 999/999, and reading the cursor
>position, and your xterm isn't sending the report back correctly.
>
>Probably you're not running it in an xterm.

Thanks for the response.  I have done some more investigating and discovered
the "resize" command in my .cshrc file.  I have removed this command and the
problem has disappeared.  This output was in the xxgdb window and not in an
xterm window as you had pointed out.

>> Problem #2:
>> ======================================================================
>> I have also tried to issue the "iowin" command to place program output
>> into a separate window.  This causes a new xterm window to be created
>> with the following message:
>> 
>>   xterm: Can't execvp xxgdbiowin
>> 
>> At this point the I can "exit" this xterm window, but the xxgdg debug 
>> session is now "hung" and I am forced to "kill" it.
>> 
>> Is there something I can do to fix this problem as well?  I did try to
>> download the xxgdb source and recompile it, but I am not yet familiar 
>> with imake and x-windows programs.
>
>Your path is broken.  It expects xxgdbiowin in your path.

I have issued the "find" command to look for this program anywhere on my
machine with no luck.  I de-installed the package with pkg-manage and
reinstalled it.  Still no program.  I think that the program is missing 
in the xxgdb package that I obtained from the ftp.cdrom.com site.  Is 
this something that needs to be fixed in the packaging?  I found some source
code for the package at ftp.cdrom.com, downloaded it and tried to "make" it,
but with no success.  There is no make file, only an Imakefile. I investigated
enough to get a makefile built with "imake", but the makefile produced does
not build the xxgdbiowin program (whose source code is in the distribution).
I compiled xxgdbiowin by hand and the program will start but will not talk to
xxgdb which still hangs.

The xxgdb that gets produced by running a make against the built makefile
will not run at all.  It shows an x-window being started and then terminates.
I don't think that the makefile was produced properly.

Anything else I can try?


Patrick Murphy
Michigan State University
Administrative Information Services
East Lansing, MI 48824
E-mail:  murphyp1@aixdev1.ais.msu.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9506161444.AA08613>