This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/2147: code cannot be debugged on IRIX



>Number:         2147
>Category:       c++
>Synopsis:       code cannot be debugged on IRIX
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 02 03:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Jarausch
>Release:        3.0 20010301 (prerelease)
>Organization:
RWTH Aachen, Germany
>Environment:
System: IRIX64 numa1 6.5 07201611 IP26


	
host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /usr/people/jarausch/ZIP/EGCS/gcc30/configure --prefix=/usr/LOCAL --with-local-prefix=/usr/LOCAL
>Description:
 #include <string>
 using std::string;
 #include <iostream>


 int main() {
   string Input1("  word1 word2\n   word3\n");
   std::cout << Input1;
 }


 /*
 (gdb) l
 Line number 158 out of range; T1.C has 26 lines.
 (gdb) l 1
   works   BUT

 b 8
 Breakpoint 1 at 0x0: file T1.C, line 8.

 run
 warning: Cannot insert breakpoint 1:
 Cannot access memory at address 0x0

 */
>How-To-Repeat:
see above
>Fix:
  Not known. A simple hello world program (without using a string variable)
  seems to be OK
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]