From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26118 invoked by alias); 19 Dec 2012 08:06:39 -0000 Received: (qmail 26073 invoked by uid 48); 19 Dec 2012 08:06:34 -0000 From: "muhammad_bilal at mentor dot com" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: win32 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: muhammad_bilal at mentor dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00429.txt.bz2 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 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: ... 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 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.