From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id eYFnDAsG/mY8XT8AWB0awg (envelope-from ) for ; Wed, 02 Oct 2024 22:48:43 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Uoeae6l8; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E816D1E353; Wed, 2 Oct 2024 22:48:42 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 397271E08F for ; Wed, 2 Oct 2024 22:48:42 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D8658385DDEE for ; Thu, 3 Oct 2024 02:48:41 +0000 (GMT) Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by sourceware.org (Postfix) with ESMTPS id 09EFF3858C48 for ; Thu, 3 Oct 2024 02:47:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 09EFF3858C48 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 09EFF3858C48 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727923683; cv=none; b=E34Wi76yPmLs6EDfLGR110hfutZGBExofRyhNapo2WQBXhVgLGrSq4SF+4EvbwsLictctiVWSDKMoPFjU3NpY9DksqUngrc2FtzZswMdAQ+z0dN8d/SoteLjCPu/FW8ran0hdYJStstK46VzqmrHgK6Z3OQ3hyZUubP7kcoqSwE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727923683; c=relaxed/simple; bh=9HYfxs+T5oIhks1jqXKfzvWsbyx9THMLN0VPe2eMYzU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=uDtAQZ2bFnoQMN1M43hYVXLfzN3LIbUoO3oMMKlgaop604l03bLbycZ+ckU7ijI67o6V7ZixGTALe3v5asBi+7nwGFX9iuBaH9Yh5G5KiBiWjRYVAnI6UaxloBiRwLVyIPg2TPK0t95lmHMSatT/zHApV//og8pUQ++6FIk6Syc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-7179069d029so381972b3a.2 for ; Wed, 02 Oct 2024 19:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727923675; x=1728528475; darn=sourceware.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=eAoYKS6GLTvI0+TlkFCkLgYw1g6qgQYRGBNBqkmF/AU=; b=Uoeae6l8+1Yd5yAGsz35PbK1VCUInUFl3lagPZGyK4THFFom3dqK2AI2wkgpI9yuVT BpyQ4Q/iqwxfpUQsJXEUwznLKTSB2MtgD/zrc4I5AT+ZmB1W/8k6iw/TpALkrTjLO7Em FpjaOlN4Ew1KsnUJUso/zo/xst/zooFeDfo9XIuGvZjKgmIsKp97DLmlWnFQoHiUiAgJ HaAYfA5EG9GUM4eO3R5neAodTVvK1gVta7sjtKfJ3acmMlChThfqXDdHjE+wNQWfsxko lJq4Gbf9xsFRJvDyY0L0ggumcmgHkkzC/JgQDXTjxcmZFUKAb7tfrVBPMS5HH3K6Bxa1 O1Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727923675; x=1728528475; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eAoYKS6GLTvI0+TlkFCkLgYw1g6qgQYRGBNBqkmF/AU=; b=nsIPDsQ6e5rbtxaV0/hFB0e/A2EnRC1wDWUtXfnpSsPNCEcyeJyUdu4V9QJLCpLk56 oPcvnHKaf7wSV/kHmsGREfFU1O7A9e4w/xlPZPTgIw0KPWxfPJbKXb3oirXpJ7jBEio9 SB55/9cM2AlcWSUjVJzCOxdeCgXzo0XJUJujvHMNxCHLLC0QQZD/KnfCVllNrWdWbMMC 9UK8h9TIB0Y1d+wZ/0MJcgYGNNvarHoCSjvKjLC7GefcTehrXNwg/uFQcquDXjq3oj2l zAL2xci6l3xIz+m31zwq0uFS3Ozubvf/8C8Ev8m76dGHtfcTz1mWt1b4t0l+TqwJKhZs lKGA== X-Gm-Message-State: AOJu0Ywfu76oOdtevejXtkH0GB18M1oyFy8DfFoPiESXrU8p50JNtzcb lW34AvVqfRWjQa8w3uCRRCmtwRXcaC+fLpM/uI/yi4UYPTlhtgmvWMsdTa+z8KA= X-Google-Smtp-Source: AGHT+IG17QIUXRFwAL0uEM7Aap9mHkOqv7tn8A4tPtAazZwgp3+cJyCi4LEtbMqSlSe82MBRh6cQOQ== X-Received: by 2002:a05:6a21:1193:b0:1d0:7df3:25cf with SMTP id adf61e73a8af0-1d5db1dc4d0mr7288567637.19.1727923675024; Wed, 02 Oct 2024 19:47:55 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:c692:4473:f1b3:494c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71dd9d6e7e6sm236128b3a.37.2024.10.02.19.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 19:47:54 -0700 (PDT) From: Thiago Jung Bauermann To: Guinevere Larsen Cc: gdb-patches@sourceware.org, Guinevere Larsen , Jan Kratochvil Subject: Re: [PATCH v5 5/5] gdb/testsuite: Test for a backtrace through object without debuginfo In-Reply-To: <20241001184235.3710608-6-guinevere@redhat.com> (Guinevere Larsen's message of "Tue, 1 Oct 2024 15:42:35 -0300") References: <20241001184235.3710608-1-guinevere@redhat.com> <20241001184235.3710608-6-guinevere@redhat.com> Date: Wed, 02 Oct 2024 23:47:51 -0300 Message-ID: <87bk01aomg.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Guinevere Larsen writes: > From: Guinevere Larsen > > Fedora has been carrying this test since back in the Project Archer > days. A change back then caused GDB to stop being able to backtrace when > only some of the object files had debug information. Even though the > changed code never seems to have made its way into the main GDB project, > I think it makes sense to bring the test along to ensure something like > this doesn't pass unnoticed. > > Co-Authored-By: Jan Kratochvil > --- > .../backtrace-through-cu-nodebug-caller.c | 28 ++++++ > .../backtrace-through-cu-nodebug-main.c | 32 +++++++ > .../gdb.base/backtrace-through-cu-nodebug.exp | 90 +++++++++++++++++++ > 3 files changed, 150 insertions(+) > create mode 100644 gdb/testsuite/gdb.base/backtrace-through-cu-nodebug-caller.c > create mode 100644 gdb/testsuite/gdb.base/backtrace-through-cu-nodebug-main.c > create mode 100644 gdb/testsuite/gdb.base/backtrace-through-cu-nodebug.exp Reviewed-by: Thiago Jung Bauermann -- Thiago