X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Authentication-Warning: itservs.wilkes.edu: apache set sender to fdonahoe AT wilkes DOT edu using -f Message-ID: <1102024669.41af8fdd0e7fb@webmail.wilkes.edu> Date: Thu, 2 Dec 2004 16:57:49 -0500 From: fdonahoe AT wilkes DOT edu To: Esa Peuha , Eli Zaretskii , Juan Manuel Guerrero Cc: Workers List Subject: Re: Bison 1.875 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2 X-Originating-IP: 146.94.1.223 Reply-To: djgpp-workers AT delorie DOT com On Sat. 27 Nov. 2004, Eli Zaretskii wrote: > The obvious way: redirect GDB's output to a file, like this: > > gdb ./info/ginfo.exe > gdb.session > > The downside is that you won't see GDB's prompts etc. as well, > but if you know exactly what commands to type, you should be > able to type them blindly. I had rejected that method which seemed to me like wearing gloves to seek a candle in a china closet at night during a power outage. This seems, in retrospect, a fair assessment.;=) Meanwhile I've patched popen.c, found how to make bison crash from the command line and practiced wearing gloves. (The patch solved the problem of info with gzipped info files.) The path to the crash site is different with the patched libc.a but still ends with malloc.c, line 346. Tests 11, and 14 failed in addition to the failures before the patch, and 17 failed while 18 passed. This is for test 103 Call frame traceback EIPs: 0x0010c7f1 free+304, file \ c:/tmp/djgpp/src/libc/ansi/stdlib/malloc.c, line 346 0x00116425 __clear_fd_properties+131, \ file c:/tmp/djgpp/src/libc/dos/io/fd_props.c, line 132 0x00119bb4 close+46404, \ file c:/tmp/djgpp/src/libc/dos/io/_close.c, line 45 0x0010d3f4 fclose+68, \ file c:/tmp/djgpp/src/libc/ansi/stdio/fclose.c, line 28 0x000042c5 xfclose+37, \ file c:/djg/gnu/bison-1.875/src/files.c, line 117 0x0000c675 .debug_line+262, \ file c:/djg/gnu/bison-1.875/src/output.c, line 585 0x0000ea06 .debug_line+59, \ file c:/djg/gnu/bison-1.875/src/output.c, line 652 0x00007765 .debug_abbrev+8 0x0010c2ad __crt1_startup+657, \ file c:/tmp/djgpp/src/libc/crt0/crt1.c, line 23 Now if you will send me a sequence of gdb commands which should give you the information you require I will get the results back to you ASAP. Regards, Frank ----------------------------------------------------------------------- This mail was sent through Wilkes Webmail: http://webmail.wilkes.edu Wilkes Webmail is using IMP: http://horde.org/imp/