public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "aleksandar.jelic30 at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug c++/15257] New: !!!Bug gdb needed to change to intel64 idb to work!!! Date: Fri, 08 Mar 2013 17:52:00 -0000 [thread overview] Message-ID: <bug-15257-4717@http.sourceware.org/bugzilla/> (raw) http://sourceware.org/bugzilla/show_bug.cgi?id=15257 Bug #: 15257 Summary: !!!Bug gdb needed to change to intel64 idb to work!!! Product: gdb Version: 7.5 Status: NEW Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned@sourceware.org ReportedBy: aleksandar.jelic30@gmail.com Classification: Unclassified This bug is existing at least since 2003. The Bug is next: Here is one super simple program but it dont work: --------Start------------- #include <iostream> #include <cstdlib> #include <cmath> using namespace std; int main (int argc, char* argv[]) { // convert the text argv[1] to double using atof: double r = atof(argv[1]); double s = sin(r); cout << "Hello, World! sin(" << r << ")=" << s << endl; // success return 0; } ---------END------------ BUILD is OK like you can see: ---------Start(build report)---------- "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf gmake[1]: Entering directory `/home/aleksandar/NetBeansProjects/CppApplication_2' "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk dist/Debug/GNU_Compiler_Collection-Linux-x86/cppapplication_2 gmake[2]: Entering directory `/home/aleksandar/NetBeansProjects/CppApplication_2' mkdir -p build/Debug/GNU_Compiler_Collection-Linux-x86 rm -f build/Debug/GNU_Compiler_Collection-Linux-x86/main.o.d g++ -c -g -MMD -MP -MF build/Debug/GNU_Compiler_Collection-Linux-x86/main.o.d -o build/Debug/GNU_Compiler_Collection-Linux-x86/main.o main.cpp mkdir -p dist/Debug/GNU_Compiler_Collection-Linux-x86 g++ -o dist/Debug/GNU_Compiler_Collection-Linux-x86/cppapplication_2 build/Debug/GNU_Compiler_Collection-Linux-x86/main.o gmake[2]: Leaving directory `/home/aleksandar/NetBeansProjects/CppApplication_2' gmake[1]: Leaving directory `/home/aleksandar/NetBeansProjects/CppApplication_2' BUILD SUCCESSFUL (total time: 613ms) ---------End(build report)------------ But run fail ---------Start(Run report)------------ RUN FAILED (exit value 1, total time: 78ms) ----------End(Run report)------------- ---------Start(Terminal report)------------ /usr/local/netbeans-7.2.1/ide/bin/nativeexecution/dorun.sh: line 33: 7673 Segmentation fault sh "${SHFILE}" Press [Enter] to close the terminal ... ---------End(Terminal report)------------ I've tried everything different compilers and programs to run them(Netbeans, Eclipse, Qt Creator.....) >>>>>>>>>>>-<<<<<<<<<<< When I changed: gdb->idb >>>>>>>>>>>-<<<<<<<<<<< IT WORKED!!! I'm theoretical physicist so I dont know how to fix it or help any more. But I would be grateful it you could fix it. I know 1000+ students that had same problem and were recommended to do C++ programing in Windows. I just dont understand why it wasnt fixed before?? Maybe no one sow it before? Cause we use C++ for numerical calculations... -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
next reply other threads:[~2013-03-08 17:52 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-03-08 17:52 aleksandar.jelic30 at gmail dot com [this message] 2013-03-08 21:31 ` [Bug c++/15257] " tromey at redhat dot com 2013-03-10 16:15 ` aleksandar.jelic30 at gmail dot com 2013-05-15 21:58 ` dje at google dot com 2014-09-12 23:11 ` sergiodj at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15257-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).