diff options
author | Guinevere Larsen <blarsen@redhat.com> | 2024-05-02 13:57:47 -0300 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2024-10-23 14:16:37 -0300 |
commit | 05eba57965ef17979e3378e7463293fa070ace39 (patch) | |
tree | eb61c5ca1544742bf42454850109e3f0afcc547b /cpu | |
parent | 538271a1e0b39d3e39f304413dfd2d6436c95d5c (diff) | |
download | gdb-05eba57965ef17979e3378e7463293fa070ace39.zip gdb-05eba57965ef17979e3378e7463293fa070ace39.tar.gz gdb-05eba57965ef17979e3378e7463293fa070ace39.tar.bz2 |
gdb/testsuite: introduce dwarf5 option to gdb_compile
A few tests on the testsuite require dwarf5 to work. Up until now, the
way to do this was to explicitly add the command line flag -gdwarf-5.
This isn't very portable, in case a compiler requires a different flag
to emit dwarf5.
This commit adds a new option to gdb_compile that would be able to add
the correct flag (if known) or error out in case we are unable to tell
which flag to use. It also changes the existing tests to use this
general option instead of hard coding -gdwarf-5.
Reviewed-by: Keith Seitz <keiths@redhat.com>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions