NNTP-Posting-Date: Sun, 10 Nov 2002 09:08:45 -0600 From: Charles Wilkins Newsgroups: comp.os.msdos.djgpp Subject: Re: i686-pc-msdosdjgpp-g++ problems (long) Date: Sun, 10 Nov 2002 10:10:41 -0500 Message-ID: References: <1036779663 DOT 158618 AT queeg DOT ludd DOT luth DOT se> <1h6osuka51oan46817ptm2o1loq3k6fqm7 AT 4ax DOT com> <200211082039 DOT gA8Kdck00835 AT envy DOT delorie DOT com> <1036845028 DOT 195290 AT queeg DOT ludd DOT luth DOT se> X-Newsreader: Forte Agent 1.92/32.570 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 101 NNTP-Posting-Host: 68.45.75.113 X-Trace: sv3-GfHZIvLt/5M93k/qZSl9OzNxnRhJoZzFWRCbcBp6lnrhrSJfZ6Z16CBpQciSffQUs5IG1EiTv5jfzbS!dy1lro3u7JMhuZT7i3xZ0J2iC8HEyPT8nw2LTKySoykTbyU4B4s2fOa6b0IzTDXY5NV5/bA= X-Complaints-To: abuse AT comcast DOT com X-DMCA-Complaints-To: dmca AT comcast DOT net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >-========================- >Gdb stuff: >-========================- > >Here is the output of using gdb on welcome.exe >compiled with djgpp-g++ -g welcome.cpp -o welcome.exe C:\Archives\RIP2\DJGPP\bin>gdb welcomeg.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-msdosdjgpp"... (gdb) list 1 welcome.cpp: No such file or directory (ENOENT). in welcome.cpp (gdb) run Starting program: c:/Archives/RIP2/DJGPP/bin/welcomeg.exe Program received signal SIGSEGV, Segmentation fault. 0x0001e1df in std::ostream::sentry::sentry(std::ostream&) () (gdb) n Single stepping until exit from function _ZNSo6sentryC1ERSo, which has no line number information. Exiting due to signal SIGSEGV General Protection Fault at eip=0001e1df eax=00000000 ebx=00043b58 ecx=00043b58 edx=000c7f60 esi=00000054 edi=00001630 ebp=000c7f28 esp=000c7f24 program=c:\Archives\RIP2\DJGPP\bin\welcomeg.exe cs: sel=01ef base=022c0000 limit=000cffff ds: sel=01f7 base=022c0000 limit=000cffff es: sel=01f7 base=022c0000 limit=000cffff fs: sel=01e7 base=00009e20 limit=00003fff gs: sel=0207 base=00000000 limit=0010ffff ss: sel=01f7 base=022c0000 limit=000cffff App stack: [000c7fdc..00047fdc] Exceptn stack: [00047e8c..00045f4c] Call frame traceback EIPs: 0x0001e1df 0x0001e44e 0x0000167e 0x0000d817 Program exited with code 0377. >Here is the output of using gdb on welcome.exe (no -g) >compiled with djgpp-g++ welcome.cpp -o welcome.exe C:\Archives\RIP2\DJGPP\bin>gdb welcome.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-msdosdjgpp"... (gdb) list 1 globals.cc: No such file or directory (ENOENT). in globals.cc (gdb) run Starting program: c:/Archives/RIP2/DJGPP/bin/welcome.exe Program received signal SIGSEGV, Segmentation fault. 0x0001e1df in std::ostream::sentry::sentry(std::ostream&) () (gdb) n Single stepping until exit from function _ZNSo6sentryC1ERSo, which has no line number information. Exiting due to signal SIGSEGV General Protection Fault at eip=0001e1df eax=00000000 ebx=00043b58 ecx=00043b58 edx=000c7f60 esi=00000054 edi=00001630 ebp=000c7f28 esp=000c7f24 program=c:\Archives\RIP2\DJGPP\bin\welcome.exe cs: sel=01ef base=022d0000 limit=000cffff ds: sel=01f7 base=022d0000 limit=000cffff es: sel=01f7 base=022d0000 limit=000cffff fs: sel=01e7 base=00009e10 limit=00003fff gs: sel=0207 base=00000000 limit=0010ffff ss: sel=01f7 base=022d0000 limit=000cffff App stack: [000c7fdc..00047fdc] Exceptn stack: [00047e8c..00045f4c] Call frame traceback EIPs: 0x0001e1df 0x0001e44e 0x0000167e 0x0000d817 Program exited with code 0377. Is any of this helpful? Charles