public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "muhammad_bilal at mentor dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug win32/14527] warning: section .gnu_debuglink not found in MODULENAME.debug Date: Wed, 19 Dec 2012 08:06:00 -0000 [thread overview] Message-ID: <bug-14527-4717-XzJHrVmOTV@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-14527-4717@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=14527 muhammad_bilal at mentor dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |muhammad_bilal at mentor | |dot com --- Comment #1 from muhammad_bilal at mentor dot com 2012-12-19 08:06:33 UTC --- Hi LRN I have used this command gcc -g hello.c -o hello objcopy --only-keep-debug ./hello ./hello.gdb objcopy --strip-debug ./hello objcopy --add-gnu-debuglink="hello.gdb" ./hello gdb -ex r -ex q --return-child-result ./hello then gdb show correcrt output: GNU gdb (GDB) 7.5.50.20121127 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/mbilal/Desktop/hello...Reading symbols from /home/mbilal/Desktop/hello.gdb...done. done. Starting program: /home/mbilal/Desktop/hello hello world [Inferior 1 (process 8948) exited normally] for a file of hello.c #include<stdio.h> int main() { printf("hello world\n"); return 0; } it worked fine regards Bilal -- 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 prev parent reply other threads:[~2012-12-19 8:06 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-28 16:53 [Bug win32/14527] New: " lrn1986 at gmail dot com 2012-12-19 8:06 ` muhammad_bilal at mentor dot com [this message] 2012-12-19 10:21 ` [Bug win32/14527] " lrn1986 at gmail dot com 2013-03-31 1:06 ` lrn1986 at gmail dot com 2013-03-31 2:26 ` lrn1986 at gmail dot com 2013-03-31 2:29 ` mbilal at codesourcery dot com 2014-04-05 6:46 ` asmwarrior at gmail dot com 2023-02-17 16:47 ` tromey at sourceware dot org
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-14527-4717-XzJHrVmOTV@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).