]> git.ipfire.org Git - thirdparty/gcc.git/commit
Ada: Use Osint.Program_Name in gnatchop
authorNicolas Boulenguez <nicolas@debian.org>
Mon, 20 Oct 2025 11:08:22 +0000 (13:08 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 20 Oct 2025 11:13:05 +0000 (13:13 +0200)
commit99c4287dca3d01492dffd2c769942038783be1d9
tree5959f819c1e48679e6f1e1db4a3df06d02264d00
parent62331e8c351962a557bd6dc4ed3787aaca444ac1
Ada: Use Osint.Program_Name in gnatchop

This aligns gnatchop with the other GNAT tools when it comes to locating
GCC's driver executable.

gcc/ada/
PR ada/87777
* gnatchop.adb: Add with clause for Osint.
(Locate_Executable): Delete.
(Gnatchop): Use Osint.Program_Name and Locate_Exec_On_Path instead
of Locate_Executable to locate GCC's driver executable.
gcc/ada/gnatchop.adb