From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1805) id 6DD543858C83; Tue, 18 Oct 2022 13:25:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6DD543858C83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666099528; bh=ywTxSpjbSlksAnTRdLped9oyILnUsQKktzvIJmLwwx4=; h=From:To:Subject:Date:From; b=UZb7DZWCt+nE9VqS+OHomm84eQHu2FTsPfsvTlmUxY9MHd7VKx5mSqIIEHJ0TX9d2 OsS5vL6meQR6C+uOHUqN6RHtCw8WV0GHcaVChHQ0+RJujPZm0XuTq5IOVbZVPhdwNk Q4EdNXtQN+lmH69xpQEDPuAeVPVBDPnT4LJ+Z9+M= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Markus Metzger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] fixup! gdb, ada: update ada_lookup_simple_minsym X-Act-Checkin: binutils-gdb X-Git-Author: Markus Metzger X-Git-Refname: refs/heads/master X-Git-Oldrev: 06a670e280f39b0dd7fe0b0e0e21efa488c2729f X-Git-Newrev: 5f0277edf24612029c5ff513342adcb01db56e7a Message-Id: <20221018132528.6DD543858C83@sourceware.org> Date: Tue, 18 Oct 2022 13:25:28 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5f0277edf246= 12029c5ff513342adcb01db56e7a commit 5f0277edf24612029c5ff513342adcb01db56e7a Author: Markus Metzger Date: Tue Jul 19 08:05:25 2022 +0200 fixup! gdb, ada: update ada_lookup_simple_minsym =20 remove get_selected_block() Diff: --- gdb/ada-exp.y | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 3ec9e4d610c..7b4d6cc6484 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1698,9 +1698,6 @@ write_var_or_type (struct parser_state *par_state, } else if (syms.empty ()) { - if (block =3D=3D nullptr) - block =3D get_selected_block (nullptr); - struct objfile *objfile =3D nullptr; if (block !=3D nullptr) objfile =3D block_objfile (block);