From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16548 invoked by alias); 28 May 2013 17:25:15 -0000 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 Received: (qmail 16518 invoked by uid 48); 28 May 2013 17:25:15 -0000 From: "bccheng at android dot com" To: gdb-prs@sourceware.org Subject: [Bug shlibs/15507] .dynamic section is not at the expected address Date: Tue, 28 May 2013 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: shlibs X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bccheng at android 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-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00327.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15507 --- Comment #2 from Ben Cheng --- Oops I pasted the wrong code. It should be: if (exec_bfd && bfd_get_section_by_name (exec_bfd, ".dynamic") == NULL) return library_list.head ? library_list.head : svr4_default_sos (); else return library_list.head && library_list.head->next ? library_list.head->next : svr4_default_sos (); Thanks for pointer to the contribution checklist and will follow up there. -- You are receiving this mail because: You are on the CC list for the bug.