Add gdb_compile options column-info and no-column-info
authorCarl Love <cel@us.ibm.com>
Tue, 2 Jan 2024 22:45:55 +0000 (17:45 -0500)
committerCarl Love <cel@linux.ibm.com>
Tue, 2 Jan 2024 22:45:55 +0000 (17:45 -0500)
commit29deb4221d07d2c497183853e6023acb51d49be9
treea182db1d5821150d9579ec3cde327166f81bda52
parent528b729be1a293a21f44149351f3eba5b4e2d870
Add gdb_compile options column-info and no-column-info

This patch adds two new options to gdb_compile to specify if the compile
should or should not generate the line table information.  The
options are supported on clang and gcc version 7 and newer.

Patch has been tested on PowerPC with both gcc and clang.
gdb/testsuite/lib/gdb.exp