* Cygwin problems
@ 2004-04-23 21:27 yyyyy50
2004-04-29 16:44 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: yyyyy50 @ 2004-04-23 21:27 UTC (permalink / raw)
To: insight
Greetings,
I am running cygwin on Windows XP SP1 as a very restricted user.
Basically I have configured this as tight as I could possibly think of
and I am probably running into problems because of this.
I downloaded insight-6.1, built and installed it into /usr/local, no
changes to configure or anything, just:
$ cd insight-6.1 ; ./configure && make
... as root (Administrator under cygwin):
# cd ~user/insight-6.1 ; make install
When I run gdb, and it is the right one, since "which" tells me so, I get
the command line gdb but no window interface, even if I run gdb -windows.
I have a gdbtk.ini file in the user's home directory.
Using filemon, gdb seems to want to open .gdbinit but if I copy gdbtk.ini
to .gdbinit, I get an error at line 2 in the file and still only the
command line interface.
I finally got the UI up by running:
$ gdb --interpreter=insight
...and it seems to work until I try to view registers once the program
that I am trying to debug is stopped at a breakpoint. I then get a GDB
message box that says:
"gdbarch.c:3906: internal-error:
gdbarch_deprecated_register_convertable: Assertion `gdbarch-
>deprecated_register_convertible != NULL' failed.
A problem internal to GDB has been detected, further debugging may prove
unreliable.
Quit this debugging session?"
If I say "No", I keep getting this message.
What's going on??
Any help would be appreciated.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cygwin problems
2004-04-23 21:27 Cygwin problems yyyyy50
@ 2004-04-29 16:44 ` Keith Seitz
2004-04-29 16:48 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2004-04-29 16:44 UTC (permalink / raw)
To: yyyyy50; +Cc: insight
On Fri, 2004-04-23 at 14:27, yyyyy50@hotpop.com wrote:
> I downloaded insight-6.1, built and installed it into /usr/local, no
> changes to configure or anything, just:
> $ cd insight-6.1 ; ./configure && make
> ... as root (Administrator under cygwin):
> # cd ~user/insight-6.1 ; make install
6.1 is hosed. There have been patches to gdbtk/generic/gdbtk-register.c
to fix the internal-error. Get them.
I believe there is an error in the toplevel configure (src/configure.in)
which causes insight not to be built on cygwin. I haven't had the time
to chase down the exact problem (it works on linux, but not cygwin).
Nonetheless, I think the following patch will fix it. Apply to
src/configure.in and regenerate configure. You should now see an
"insight" executable.
Keith
PS. Please understand the insight is a bit screwed up right now. It is
nearing completion of a long-awaited official FSF contribution. When
that happens, things should get a lot better.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cygwin problems
2004-04-29 16:44 ` Keith Seitz
@ 2004-04-29 16:48 ` Keith Seitz
0 siblings, 0 replies; 3+ messages in thread
From: Keith Seitz @ 2004-04-29 16:48 UTC (permalink / raw)
To: yyyyy50; +Cc: insight
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
On Thu, 2004-04-29 at 09:45, Keith Seitz wrote:
> Nonetheless, I think the following patch will fix it. Apply to
> src/configure.in and regenerate configure. You should now see an
> "insight" executable.
[cough]
Attached.
Keith
[-- Attachment #2: cygwin.patch --]
[-- Type: text/x-patch, Size: 752 bytes --]
Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.207
diff -u -p -r1.207 configure.in
--- configure.in 24 Mar 2004 22:34:31 -0000 1.207
+++ configure.in 29 Apr 2004 16:47:57 -0000
@@ -1789,7 +1789,7 @@ esac
# Host dirs don't like to share a cache file either, horribly enough.
# This seems to be due to autoconf 2.5x stupidity.
-host_configargs="--cache-file=./config.cache --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
+host_configargs="${cache_file_option} --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
target_configargs=${baseargs}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-29 16:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 21:27 Cygwin problems yyyyy50
2004-04-29 16:44 ` Keith Seitz
2004-04-29 16:48 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).