From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1751) id 4C9743858296; Sat, 26 Nov 2022 12:23:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C9743858296 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669465398; bh=AmhT+CJMyJFzpi+gVduYuxqt0kLSdleKlMRiZkJfAwY=; h=From:To:Subject:Date:From; b=fsDReEwhJ+hxJXAUAnYKTw0GvbHDv4JUIWCyLsft+fYmS5O8wqDIEiUh33pydQPCe 0zPpqhkZN8CNAux5tp1JUW29r7BWnGVExwkcgI0VK5ED8dEy9aQRj3QcPZE1qGXg53 QRSISAW8FS35g1eD35YXENcgNz4bPYNNyqKiw+xw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Philippe Waroquiers To: gdb-cvs@sourceware.org Subject: [binutils-gdb] remove the declared but undefined/unused method find_partial_die X-Act-Checkin: binutils-gdb X-Git-Author: Philippe Waroquiers X-Git-Refname: refs/heads/master X-Git-Oldrev: 66e7b0f4d9c88781c2b7589f86e31a7d153ed60c X-Git-Newrev: ea118ff5b18763c3f9b3033e2c74b0d3eac4245b Message-Id: <20221126122318.4C9743858296@sourceware.org> Date: Sat, 26 Nov 2022 12:23:18 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dea118ff5b187= 63c3f9b3033e2c74b0d3eac4245b commit ea118ff5b18763c3f9b3033e2c74b0d3eac4245b Author: Philippe Waroquiers Date: Sat Nov 26 12:42:41 2022 +0100 remove the declared but undefined/unused method find_partial_die =20 The method struct partial_die_info *find_partial_die (sect_offset sect_off); in cu.h is defined, but is used nowhere and not implemented. Diff: --- gdb/dwarf2/cu.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/dwarf2/cu.h b/gdb/dwarf2/cu.h index 51638e71b19..52975095871 100644 --- a/gdb/dwarf2/cu.h +++ b/gdb/dwarf2/cu.h @@ -278,8 +278,6 @@ public: hash table and don't find it. */ bool load_all_dies : 1; =20 - struct partial_die_info *find_partial_die (sect_offset sect_off); - /* Get the buildsym_compunit for this CU. */ buildsym_compunit *get_builder (); };