This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2147: code cannot be debugged on IRIX
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2147: code cannot be debugged on IRIX
- From: Helmut Jarausch <jarausch at numa1 dot igpm dot rwth-aachen dot de>
- Date: Fri, 2 Mar 2001 12:48:27 +0100 (CST)
>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: