]> git.feebdaed.xyz Git - 0xmirror/binutils-gdb.git/commit
Fix "unset local-environment" when clearenv not available
authorTom Tromey <tromey@adacore.com>
Wed, 10 Dec 2025 14:23:37 +0000 (07:23 -0700)
committerTom Tromey <tromey@adacore.com>
Thu, 11 Dec 2025 13:55:49 +0000 (06:55 -0700)
commitcc737f7b738d72528d44dbabbd8c42c23b113b19
tree9e1a1b2328f55eb253267271eb3993b240bd72d6
parent7d0f24dfbdafc52d54316d3bfd688cbf8f8ae037
Fix "unset local-environment" when clearenv not available

Tom de Vries pointed out that clearenv isn't available on all hosts.
Since this seems like a niche command at best, it seemed fine to
disable this command on such platforms.

Reviewed-By: Tom de Vries <tdevries@suse.de>
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/infcmd.c
gdb/testsuite/gdb.base/local-env.exp