From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C70A3858D28; Sat, 4 Mar 2023 18:47:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C70A3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677955628; bh=rq0RUoXfBBPhZqUM1JvNzhiTw+zeIITdwDKwBySo1zg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Rcz7HgVkeNRormtqR8aWdTuQo2pGSjK2kH+lgmCBJeQU+HmqIfTF8jcy3jYd2l9F2 pdcYfZil2irfJ+ekP4rGDl6/FSbGWLBVZg04nZaXMHYjIqXlKv6GJ+pkA/UvVdA0xD gnbt8MihKd74adJi6JQAhrl3iJ5lwXG1hiHatnCA= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug symtab/17003] default_iterate_over_objfiles_in_search_order: broken code or broken comment? Date: Sat, 04 Mar 2023 18:47:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D17003 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot o= rg --- Comment #1 from Tom Tromey --- Windows starts with the current objfile, which makes the most sense to me. So does Linux, I think, because it is using svr4_iterate_over_objfiles_in_search_order. I tend to think the default implementation should copy the windows one. However, I don't know a good way to test this. --=20 You are receiving this mail because: You are on the CC list for the bug.=