From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by sourceware.org (Postfix) with ESMTPS id B88B33853D7B for ; Mon, 5 Dec 2022 04:47:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B88B33853D7B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x631.google.com with SMTP id d3so9740531plr.10 for ; Sun, 04 Dec 2022 20:47:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=AS1Tbv3xhjf4VlRTlOQEIXkquszm8lrAqs/lU6LbpYw=; b=VZKF9JhE4xm6yXJvoEkz04Hlq6S4aVQ9vqjr1JkJWV+zdvwgI8CjoVKu0AjKNGZBpO PBEbySSLXHnHtIbMKvdMGeIACpplgHy2NWKFwUZe8TDngRS4OZGwKFEaYfUCB2WYG2OY LEyzCK7Uz0mZGRSz68FSuQd2fEngc1ZsCKwQ6c3cSXEYdNvyd2ioPBG2d+6+kIr1wej6 /ikDrN3jJ0ZinzrFoXH5BovxL9idk2sD91lDz1NATxvH/c1jA7IopbYECtxeu4j0gGsS 84EjpbkpvwjE+kNdUQhbB0QuzwF/lZbQsKOI/gdZPtDONdzWiAHCIytbEEU7GGmkGMFv aCsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AS1Tbv3xhjf4VlRTlOQEIXkquszm8lrAqs/lU6LbpYw=; b=8IIasFwQtoKgaiRgBVNU78c4KgCtmpZW4vqEcdPx9xnlOT8ixLbJNnWIDQe33z2gnP N7uvave4V5ksuHaHT8npL07D0EXKranSuoa36OBr/pBU2brL91NlOwL+21hDV0nBH8/m kAx6jwUBfk7ODHikzd+9s1YO15V5FgGkUZTsZ2+WrZnXJZDK/Lj8jvXuVqWD/wWV3LCk vUbn00zmnlsKz0BFYLvKX2IamREYjetDgJHMli++hS8zAh0+OqmLcqbvgXTolvDR+i8y Ku1W538Dk6Tnag46rkiDqsnhnPF3RGTH/y2boDIxF+1l1xXkOBsC3ZEmkwbmeV3VCiM1 IEWw== X-Gm-Message-State: ANoB5pmxSfHE+yX87LMGBFEus5GzmFaC/Rv1fjR/Ru+da/9v4VO4rkk1 8O03S5N4V1UEt8XhN9H05PBjAb51aks= X-Google-Smtp-Source: AA0mqf6iPdDGv79fdMpJq49pi1HOWhqS8Jf0PCSaTpImquOnKX194PrsMU0vgoJXiRz9+TMH1TKLcw== X-Received: by 2002:a17:90a:8c82:b0:218:77d2:8c30 with SMTP id b2-20020a17090a8c8200b0021877d28c30mr83202632pjo.226.1670215675678; Sun, 04 Dec 2022 20:47:55 -0800 (PST) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:5a8:d2a4:2872:fda9]) by smtp.gmail.com with ESMTPSA id 184-20020a6206c1000000b0056bcb102e7bsm8793208pfg.68.2022.12.04.20.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Dec 2022 20:47:55 -0800 (PST) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id BABBB11409D5; Mon, 5 Dec 2022 15:17:52 +1030 (ACDT) Date: Mon, 5 Dec 2022 15:17:52 +1030 From: Alan Modra To: Simon Marchi Cc: binutils@sourceware.org Subject: Re: Renaming .debug to .zdebug and vice versa Message-ID: References: <60f6a5ed-5ef5-1123-6b4a-8836b150a4bf@polymtl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <60f6a5ed-5ef5-1123-6b4a-8836b150a4bf@polymtl.ca> X-Spam-Status: No, score=-3028.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 List-Id: On Sun, Dec 04, 2022 at 08:56:20PM -0500, Simon Marchi wrote: > CXX gdb.o > In file included from /home/simark/src/binutils-gdb/gdb/defs.h:37, > from /home/simark/src/binutils-gdb/gdb/gdb.c:19: > ../bfd/bfd.h: In function ‘char* bfd_debug_name_to_zdebug(bfd*, const char*)’: > ../bfd/bfd.h:7970:30: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive] > 7970 | char *new_name = bfd_alloc (abfd, len + 2); > | ~~~~~~~~~~^~~~~~~~~~~~~~~ > | | > | void* Oops, I've committed the obvious fix. -- Alan Modra Australia Development Lab, IBM