Bug 26175 - Regression on testsuite due to changes to default_target_compile
Summary: Regression on testsuite due to changes to default_target_compile
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 10.1
: P1 normal
Target Milestone: 10.1
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-26 11:33 UTC by Luis Machado
Modified: 2020-06-30 09:32 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Tom de Vries 2020-06-29 14:33:07 UTC
Patch submitted: https://sourceware.org/pipermail/gdb-patches/2020-June/169959.html
Comment 2 Sourceware Commits 2020-06-30 07:23:13 UTC
The master branch has been updated by Tom de Vries <vries@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b011fe1a7242f242699f9e74798e5ffbc7973c6e

commit b011fe1a7242f242699f9e74798e5ffbc7973c6e
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Jun 30 09:23:09 2020 +0200

    [gdb/testsuite] Handle early_flags in gdb_default_target_compile
    
    In gdb_default_target_compile, we use dejagnu's default_target_compile, unless
    we need support for languages that are not yet support in the used dejagnu
    version, in which case we use a local default_target_compile:
    gdb_default_target_compile_1.
    
    However, there's another reason to use the local default_target_compile: when
    early_flags is used, because there's no dejagnu release available yet
    supporting this.
    
    Fix this by detecting and handling early_flags in gdb_default_target_compile.
    
    Tested on x86_64-linux.
    
    gdb/testsuite/ChangeLog:
    
    2020-06-30  Tom de Vries  <tdevries@suse.de>
    
            PR testsuite/26175
            * lib/future.exp (gdb_default_target_compile): Detect and handle
            early_flags.
Comment 3 Tom de Vries 2020-06-30 08:22:51 UTC
Patch fixing testsuite committed, marking resolved-fixed.
Comment 4 Frank Ch. Eigler 2020-06-30 09:32:15 UTC
test