Message ID | 20240516-gnat-llvm-experiment-v1-0-5c13d1092119@adacore.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9F641384AB7B for <patchwork@sourceware.org>; Thu, 16 May 2024 17:47:17 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by sourceware.org (Postfix) with ESMTPS id 108143858D20 for <gdb-patches@sourceware.org>; Thu, 16 May 2024 17:46:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 108143858D20 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 108143858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::d32 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715881608; cv=none; b=iU+PKdoiBQW+9Ug/Qv6I/tVuMoSeAEhD+69jASQ8yHB40zr3CNoi92TOWDWdCuR7txV6ji+srPZUojoDk0NRMnksm4k8BdhKZXpMaeXBbocELHcl661DoWyBQb0P6AuKfdxIAEO6Z2tozs5vZEKyoOo8l6nCggUCIznd7tpvQSI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715881608; c=relaxed/simple; bh=GT/W/acuDkVL6YXJ0CDE7RLrn9JhAiBrlChZRvCr0Cs=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=MYRY3fVpF2JDcBFr1VTY26gNHIWZLAKbENN9wET1Ugww+gIP/djgy2tz7eDhWnnjEHU8FiGLOYaeYT2A9nFwmKODszijUBWJi/FgpH1RYqHh1irea5ugmMXKPWH/QL4ppFPDsrhAswQGpYUGb4E/0MDLh2xDVSWcTrBRRX+Izp4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd32.google.com with SMTP id ca18e2360f4ac-7e1c1811e22so60376939f.3 for <gdb-patches@sourceware.org>; Thu, 16 May 2024 10:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1715881606; x=1716486406; darn=sourceware.org; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:from:to:cc:subject:date:message-id:reply-to; bh=2Mf3WuT08t49lFnR6jNfkNMG6Zc4fUv+WSuNEjLoU+k=; b=koloEuf42Z1xE+Z5IogKwbNJNOw8O7jQG+3dBQXB2Io96QtHE5o1/hlKJD0Whdr8Vb ss5QZoYmYpg2LhaBa2Ziu0A0ElPJ2sAEP2EJ79K3spo4YAC72doxKp29u5BcTp7oebbz gz+tS2LeaioU7iQl7t0dBMYOUCs1ulHDeYKDL33iTZm9eux95ofN4X3iSnoMtIhf6tJW xEKe7vsl+bSXqI30EK3qCfCqKJ274ajt7VciXf0RpuvUn9M6pv5v9im861zYh7DDglr7 OS65RErqdCucLiCBlCyCuUV1Uf3BB52eQhemxcc6Vc4SY9YNNOWd1zroPs0BFP/hN5fm u41Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715881606; x=1716486406; h=to:content-transfer-encoding:mime-version:message-id:date:subject :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2Mf3WuT08t49lFnR6jNfkNMG6Zc4fUv+WSuNEjLoU+k=; b=sb3xlqEg4I7OMKqskdN6yUW2RZdCjw/xtclKd+AdpITNpqcfGia3LqZXfByw3Dse3g Xa9J2f4IKlkPWDmupdpQbNf59vJYVmm8FvS5tmXP4o5wYcDDo3j2yhZ5X/+ou6Dk1OOM d+kHr+0Eui7opNm8Pae4bZ1S/xwyPLfSmUoOnUj/FZbkgnhkzRTpXLkt0U7RSbUYcAb4 tD0oiu76w7qi8t4fXSf8LYlRG+hAZjuu/zHhNAf1QfHncpbMVsjC99LoZZGcS5YhoxzT 8zBzEDzZkB3tyKQ8kviVN5YX7t52v0erSeO80sxHbExrIPtPUGWqMT55WyuGe5iL+f/L 805w== X-Gm-Message-State: AOJu0YxunHodXxQ7aE4sdOVEgCsTWBoWqQiD/bdFt7nXwVUv0EhjAbbO 2sp81qp4jtFuNhT8lxb52sbscfP/SAnRpLRImgDX6OyGzO/sdAn+EOKx5O9/iHE0/GfS0T7tJFY = X-Google-Smtp-Source: AGHT+IFTAJaKy3ygEDAYRRRGXSCaPZsTShclIafzDveWye2MCDVv0Pnd4mZgKNuKhQk/4/OAf6gbPw== X-Received: by 2002:a05:6e02:1c47:b0:36a:2dc2:6d54 with SMTP id e9e14a558f8ab-36cc14560famr255154255ab.4.1715881605843; Thu, 16 May 2024 10:46:45 -0700 (PDT) Received: from localhost.localdomain (75-166-134-4.hlrn.qwest.net. [75.166.134.4]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-48a43d4e684sm1000821173.90.2024.05.16.10.46.45 for <gdb-patches@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 10:46:45 -0700 (PDT) From: Tom Tromey <tromey@adacore.com> Subject: [PATCH 0/2] Initial work for testing gnat-llvm Date: Thu, 16 May 2024 11:46:43 -0600 Message-Id: <20240516-gnat-llvm-experiment-v1-0-5c13d1092119@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAINGRmYC/x3MQQqDMBBA0avIrBuqIWmhVyldTOI0DphRJkEE8 e6mXb7F/wcUUqYCr+4ApY0LL9Iw3DqIE0oiw2Mz2N663g8PkwSrmectG9rX1maSamLwwY0ObXh 6aOmq9OX9v31/mgMWMkFR4vSbLcqJ5Z6xVFI4zwuzlRIChgAAAA== To: gdb-patches@sourceware.org X-Mailer: b4 0.13.0 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org |
Series |
Initial work for testing gnat-llvm
|
|
Message
Tom Tromey
May 16, 2024, 5:46 p.m. UTC
This short series adds a bit of initial support for testing using gnat-llvm. I am not sure whether adding a new board file is really the best approach. Comments welcome. I chose this over checking GNATMAKE_FOR_TARGET because, from what I can tell, the only way to distinguish llvm-gnatmake from the ordinary gnatmake is by examining the program's name. --- Tom Tromey (2): Introduce and use foreach_gnat_encoding Introduce gnat-llvm board file gdb/testsuite/boards/gnat-llvm.exp | 29 ++++++++++++++++++ gdb/testsuite/gdb.ada/O2_float_param.exp | 6 ++-- .../gdb.ada/access_to_unbounded_array.exp | 4 +-- gdb/testsuite/gdb.ada/arr_acc_idx_w_gap.exp | 4 +-- gdb/testsuite/gdb.ada/arr_enum_idx_w_gap.exp | 4 +-- gdb/testsuite/gdb.ada/array_of_symbolic_length.exp | 4 +-- gdb/testsuite/gdb.ada/array_of_variable_length.exp | 4 +-- gdb/testsuite/gdb.ada/array_of_variant.exp | 4 +-- gdb/testsuite/gdb.ada/array_ptr_renaming.exp | 4 +-- gdb/testsuite/gdb.ada/arrayparam.exp | 4 +-- gdb/testsuite/gdb.ada/arrayptr.exp | 4 +-- gdb/testsuite/gdb.ada/bias.exp | 8 +++-- gdb/testsuite/gdb.ada/big_packed_array.exp | 4 +-- gdb/testsuite/gdb.ada/enum_idx_packed.exp | 4 +-- gdb/testsuite/gdb.ada/finish-large.exp | 2 +- gdb/testsuite/gdb.ada/fixed_cmp.exp | 4 +-- gdb/testsuite/gdb.ada/fixed_points.exp | 4 +-- gdb/testsuite/gdb.ada/frame_arg_lang.exp | 9 +++--- gdb/testsuite/gdb.ada/funcall_ref.exp | 4 +-- gdb/testsuite/gdb.ada/mi_string_access.exp | 4 +-- gdb/testsuite/gdb.ada/mi_var_array.exp | 7 ++--- gdb/testsuite/gdb.ada/mi_var_union.exp | 7 ++--- gdb/testsuite/gdb.ada/mi_variant.exp | 7 ++--- gdb/testsuite/gdb.ada/mod_from_name.exp | 4 +-- gdb/testsuite/gdb.ada/multiarray.exp | 4 +-- gdb/testsuite/gdb.ada/out_of_line_in_inlined.exp | 6 ++-- gdb/testsuite/gdb.ada/packed_array.exp | 4 +-- gdb/testsuite/gdb.ada/packed_record.exp | 4 +-- gdb/testsuite/gdb.ada/packed_tagged.exp | 7 ++--- gdb/testsuite/gdb.ada/pckd_arr_ren.exp | 4 +-- gdb/testsuite/gdb.ada/ptype-o.exp | 4 +-- gdb/testsuite/gdb.ada/rec_ptype.exp | 4 +-- gdb/testsuite/gdb.ada/same_component_name.exp | 4 +-- gdb/testsuite/gdb.ada/scalar_storage.exp | 3 ++ gdb/testsuite/gdb.ada/set_pckd_arr_elt.exp | 4 +-- gdb/testsuite/gdb.ada/unc_arr_ptr_in_var_rec.exp | 4 +-- gdb/testsuite/gdb.ada/unchecked_union.exp | 7 ++--- gdb/testsuite/gdb.ada/var_rec_arr.exp | 4 +-- gdb/testsuite/gdb.ada/variant.exp | 7 ++--- .../gdb.ada/variant_record_packed_array.exp | 4 +-- gdb/testsuite/gdb.ada/win_fu_syms.exp | 3 ++ gdb/testsuite/lib/ada.exp | 35 ++++++++++++++++++++++ 42 files changed, 151 insertions(+), 100 deletions(-) --- base-commit: 8f155672d3457b5a014a99a6bd61b2b8be1d1c16 change-id: 20240516-gnat-llvm-experiment-cb5b4d4a2b75 Best regards,
Comments
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:
Tom> I am not sure whether adding a new board file is really the best
Tom> approach. Comments welcome. I chose this over checking
Tom> GNATMAKE_FOR_TARGET because, from what I can tell, the only way to
Tom> distinguish llvm-gnatmake from the ordinary gnatmake is by examining
Tom> the program's name.
Still not really sure about this but eventually I'll just push it.
If need be it can be redone.
Tom
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes: >>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes: Tom> I am not sure whether adding a new board file is really the best Tom> approach. Comments welcome. I chose this over checking Tom> GNATMAKE_FOR_TARGET because, from what I can tell, the only way to Tom> distinguish llvm-gnatmake from the ordinary gnatmake is by examining Tom> the program's name. Tom> Still not really sure about this but eventually I'll just push it. Tom> If need be it can be redone. I'm going to push just the first patch, since it doesn't involve the board file and is also useful for other things I'm working on. Tom