[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cygwin 5.19 make bootstrap croaks
From: |
djh |
Subject: |
Re: cygwin 5.19 make bootstrap croaks |
Date: |
Mon, 27 Feb 2006 17:40:07 +0900 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.11) Gecko/20050728 |
Yes Eli, your crystal ball was right on.
gdb ./temacs.exea
run -batch -l loadup bootstrap
but, I'm getting a
".gdbinit:793: Error in sourced command file: "
"Cannot access memory at address 0x20000004 "
----------.gdbinit line 793 is the last end of the below 'if' ----
# People get bothered when they see messages about non-existent functions...
xgetptr Vsystem_type
# $ptr is NULL in temacs
if ($ptr != 0)
set $tem = (struct Lisp_Symbol *) $ptr
xgetptr $tem->xname
set $tem = (struct Lisp_String *) $ptr
set $tem = (char *) $tem->data
# Don't let abort actually run, as it will make stdio stop working and
# therefore the `pr' command above as well.
if $tem[0] == 'w' && $tem[1] == 'i' && $tem[2] == 'n' && $tem[3] == 'd'
# The windows-nt build replaces abort with its own function.
break w32_abort
else
break abort
end
end # 793 (This is line 793
# x_error_quitter is defined only on X. But window-system is set up
# only at run time, during Emacs startup, so we need to defer setting
# the breakpoint. init_sys_modes is the first function called on
# every platform after init_display, where window-system is set.
tbreak init_sys_modes
commands
........
-----------------------------------------------
When I ignorantly ingore this and try to run it anyway I get:
Program received signal SIGSEGV, Segmentation fault.
#0 0x610ad945 in pthread_mutexattr_init () from /usr/bin/cygwin1.dll
#1 0x6108dd7f in _sigfe () from /usr/bin/cygwin1.dll
#2 0x00000003 in ?? ()
#3 0x0022ee48 in ?? ()
#4 0x0000006a in ?? ()
#5 0x0022ee48 in ?? ()
#6 0x0022ee68 in ?? ()
#7 0x200a2fa0 in main (argc=539897824, argv=0x4) at emacs.c:1062
When re-ran again than then issuing a 'l'ist cmd I got:
Program received signal SIGSEGV, Segmentation fault.
0x610ad945 in pthread_mutexattr_init () from /usr/bin/cygwin1.dll
(gdb) l
1072 newlines, we do that manually. */
1073 _fmode = O_BINARY;
1074 #endif /* MSDOS || WINDOWSNT */
1075
1076 #ifdef MSDOS
1077 #if __DJGPP__ >= 2
1078 if (!isatty (fileno (stdin)))
1079 setmode (fileno (stdin), O_BINARY);
1080 if (!isatty (fileno (stdout)))
1081 {
--------------------------------
This is a cygwin 5.19.
In the meanwhile I am reading the /etc/DEBUG documentation and more
about gdb.
Regards,
Darel Henman