This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs 1.1.1 : debug mode support for SGI IRIX5.3
- To: egcs-bugs at cygnus dot com
- Subject: egcs 1.1.1 : debug mode support for SGI IRIX5.3
- From: Pasha Murat <murat at cdfsga dot fnal dot gov>
- Date: Mon, 21 Dec 1998 01:41:00 GMT
- CC: murat at cdfsga dot fnal dot gov
Dear EGCS developers,
I'm wondering if support of debug (-g) mode has been discontinued
in EGCS 1.1.1 for SGI IRIX 5.3 . For some reason I'm failing to use gdb
with the code compiled by EGCS 1.1.1 (see output below), this was definitely
not the case for the previous (1.1b) release.
I'd appreciate any hints and comments, thanks a lot, pasha
--------------------------------------------------------------------------------
/data35/upgrade/murat/run1>uname -a
IRIX64 cdfsga 6.2 03131016 IP25
/data35/upgrade/murat/run1>cat ~/test/test010.cc
#include <iostream.h>
#include <math.h>
main(){
cout << atan2f(1., 1.) << ','
<< atan2f(1.,-1.) << ','
<< atan2f(-1.,1.) << ','
<< atan2f(-1.,-1.) << ';' << endl;
}
/data35/upgrade/murat/run1>gcc -g -v -o test.exe ~/test/test010.cc -lstdc++ -lm
Reading specs from /data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/cpp -lang-c++ -v -isystem /data61/top/murat/bin/include -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=91 -Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SVR4 -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 -D__unix__ -D__mips__ -D__sgi__ -D__host_mips__ -D__MIPSEB__ -D_MIPSEB -D__SYSTYPE_SVR4__ -D_SVR4_SOURCE -D_MODERN_C -D__DSO__ -D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 -D__unix -D__mips -D__sgi -D__host_mips -D__MIPSEB -D__SYSTYPE_SVR4 -Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi) -D__EXCEPTIONS -D__CHAR_UNSIGNED__ -g -D__LANGUAGE_C_PLUS_PLUS -D_LANGUAGE_C_PLUS_PLUS -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__EXTENSIONS__ -D_SGI_SOURCE -D_LONGLONG -D_MIPS_FPSET=16 -D_MIPS_ISA=_MIPS_ISA_MIPS1 -D_MIPS_SZINT=32 -D_MIPS_SZLONG=32 /home/lv0/murat/test/test010.cc /var/tmp/ccrF1AIc.ii
GNU CPP version egcs-2.91.60 19981201 (egcs-1.1.1 release) [AL 1.1, MM 40] SGI running IRIX 5.x
#include "..." search starts here:
#include <...> search starts here:
/data69/upgrade/murat/egcs-1.1.1/include/g++
/data69/upgrade/murat/egcs-1.1.1/mips-sgi-irix5.3/include
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/include
/usr/include
End of search list.
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/cc1plus /var/tmp/ccrF1AIc.ii -quiet -dumpbase test010.cc -g -version -o /var/tmp/ccyfmqtk.s
GNU C++ version egcs-2.91.60 19981201 (egcs-1.1.1 release) (mips-sgi-irix5.3) compiled by GNU C version egcs-2.91.57 19980901 (egcs-1.1 release).
/data61/top/murat/bin/as -g -nocpp -v -o /var/tmp/ccoyPS4G.o /var/tmp/ccyfmqtk.s
GNU assembler version 2.9.1 (mips-sgi-irix5.3), using BFD version 2.9.1
/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60/collect2 -call_shared -no_unresolved -old_ld -_SYSTYPE_SVR4 -o test.exe /usr/lib/crt1.o -L/data69/upgrade/murat/egcs-1.1.1/lib/gcc-lib/mips-sgi-irix5.3/egcs-2.91.60 -L/data69/upgrade/murat/egcs-1.1.1/mips-sgi-irix5.3/lib -L/data69/upgrade/murat/egcs-1.1.1/lib /var/tmp/ccoyPS4G.o -lstdc++ -lm -lgcc -lc -lgcc /usr/lib/crtn.o
/data35/upgrade/murat/run1>gdb test.exe
GNU gdb 4.17
Copyright 1998 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 "mips-sgi-irix6.2"...
(gdb) b main
Breakpoint 1 at 0x409328
(gdb) r
Starting program: /data35/upgrade/murat/run1/test.exe
Breakpoint 1, 0x409328 in main ()
(gdb) n
Single stepping until exit from function main,
which has no line number information.