Mail Archives: djgpp-workers/2004/11/27/08:43:26
To refresh my memory on gdb I discovered that the info built from
txi47s.zip under djgpp 2.04 crashed while trying to access a gzipped
info file.
> set DEBUG=1
> gdb ./info/ginfo.exe
(gdb) run
..
Select M info
gunzip.exe < /dev/env/DJDIR/info.info.gz...
Program received signal SIGSEGV, Segmentation fault.
free (ptr=0x3c206578) at malloc.c:377
377 block->size &= ~1;
(gdb) n
was followed by a crash whose record was, in those details
which matter, the same as the bfdsymified trace from the
crash generated by calling "info gdb" from the command line.
Exiting due to signal SIGSEGV
General Protection Fault at eip=0001fee4
eax=00000000 ebx=502b0a00 ecx=00000000 edx=00000006 \
esi=502b09fc edi=00000006
ebp=000ccb38 esp=000ccb20 \
program=C:\djg\gnu\texinfo4.7\info\ginfo.exe
cs: sel=01f7 base=02a40000 limit=000cffff
ds: sel=01ff base=02a40000 limit=000cffff
es: sel=01ff base=02a40000 limit=000cffff
fs: sel=01cf base=00012260 limit=0000ffff
gs: sel=020f base=00000000 limit=0010ffff
ss: sel=01ff base=02a40000 limit=000cffff
App stack: [000ccd90..0004cd94] \
Exceptn stack: [0004c490..0004a550]
Call frame traceback EIPs:
0x0001fee4 free+35, file \
c:/tmp/djgpp/src/libc/ansi/stdlib/malloc.c, line 377
0x000219db popen+248, file
c:/tmp/djgpp/src/libc/posix/stdio/popen.c, line 158
0x0000520e .comment+10, file \
c:/djg/gnu/texinfo4.7/info/filesys.c, line 548
0x0000ed1f info_load_file_internal+63, file \
c:/djg/gnu/texinfo4.7/info/nodes.c, line 362
0x0000ef4a .debug_line+7, file \
c:/djg/gnu/texinfo4.7/info/nodes.c, line 295
0x0000f62d .debug_abbrev+91, file \
c:/djg/gnu/texinfo4.7/info/nodes.c, line 108
0x00008d1f .debug_abbrev+311
0x0001fb3d .debug_info+100, file \
c:/tmp/djgpp/src/libc/crt0/crt1.c, line 234
I feel stupid about this but how do I get the gdb traceback
output to a file so I can quote it without retyping? I
failed to find the answer in the gdb.info file.
Regards,
Frank
-----------------------------------------------------------------------
This mail was sent through Wilkes Webmail: http://webmail.wilkes.edu
Wilkes Webmail is using IMP: http://horde.org/imp/
- Raw text -