From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id V1WqFJtHr2ghpQ0AWB0awg (envelope-from ) for ; Wed, 27 Aug 2025 13:59:55 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=XZkbTFQb; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 41CE01E04C; Wed, 27 Aug 2025 13:59:55 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 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 788B61E023 for ; Wed, 27 Aug 2025 13:59:54 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A55CA3839E03 for ; Wed, 27 Aug 2025 17:59:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A55CA3839E03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1756317593; bh=7ufvlP+Elm2nlwwdPH/O37N7eCHeiSJd5gRlNISibsQ=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=XZkbTFQbiVfwcpuLNwW71aFez/PhWGfYOXyHE0ADs7krarpxhvBnwAsgYC32HOdTQ ol/erVacCBj+4hIri9fYa74xvBgEqrlcvw2TREn2rFSo5hwkObw3x4egNJYh/5HmXR IaMAXkh0Y3XFjUcc7N2GEF8R9dwYnO9qMoajTXGU= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id BBAF33839E03 for ; Wed, 27 Aug 2025 17:59:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BBAF33839E03 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BBAF33839E03 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756317546; cv=none; b=NMjgYujXZQxsFnfAUr5cV1fx1ycbqeuVdL+pSrwn5uWGsOQCejTI2LoG3owQ1g3uoJnXJHbNadrj9yBhGzHOeaIDXKzhrex3QwdWhL4G5RvNePh6QkqjUYnQ25iF6degxs6/hwpuKS88lvK18NW644/upSgx6ISUah24Flu93Io= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756317546; c=relaxed/simple; bh=PaeqPiHDnqUjIewAkEYQ5ftdEpBcHxfbiCfNkiANos4=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=HJDZ8Ag3aOfFAjR5Cmg9Q0qs0QHVuZxkzicFxzEI+LpmjbRt1OFI1+p8R3S61Lo7BfFug4JviXNrNdhfUCErpBgrS1Y7QNa7hmEHDRMLj0BHe8S2ITa78EgWtXzoVPQVbuv2QBv9pQlWkMRe/Z/91+cZ+Se2NsB87xTifqfIm20= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBAF33839E03 Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-541-VqfhGVsfN-2iLWPLkxXUlA-1; Wed, 27 Aug 2025 13:59:04 -0400 X-MC-Unique: VqfhGVsfN-2iLWPLkxXUlA-1 X-Mimecast-MFC-AGG-ID: VqfhGVsfN-2iLWPLkxXUlA_1756317543 Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-244570600a1so1150955ad.1 for ; Wed, 27 Aug 2025 10:59:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756317542; x=1756922342; h=content-transfer-encoding:in-reply-to:content-language:from :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7ufvlP+Elm2nlwwdPH/O37N7eCHeiSJd5gRlNISibsQ=; b=ljyGwic02hqGxn63+pffp1lSm9rjgr2wc/rV1MyVfPsBTSptbB7cyF4Yt+eocOlTYd VNEFct3MT9oUfoW+gQtMzeoBGu5s/rGDjizWmd8KBnEWJU7sTQg3/wUqTau6blFea/B6 YlK05dAncb2n1rMDZWGi256yw16lmCg/1Pz8eGfPzaOzmYwyYf6fBFZu/Sylwx0380cK SkhTvLmuiwdxq5OV1UxZj0rWs1tc8aqYqTfpY7d4S+Eneo2QQgidzW8Ob5/mK0L4s44B znmK6coyGdRa2dpsA80wVNBhnkdm9P0ewSA5m2ScR5OLqMuBRK3n1hnxyMGNSvvrmO4m aGjA== X-Forwarded-Encrypted: i=1; AJvYcCW3s84dq42X5SHc2PQ9FMAjkk4a0dnQ2wnNbayp+V4NvuU9c3pUj5F8kLz/P83dtLXa59M=@sourceware.org X-Gm-Message-State: AOJu0Ywom1ryRXicIrrL/uSybnf/Li3Q+8a2r92b8sJ8s19EjsnkRmH7 P++xtLKRMhiT299h5lD55WLjLJ6DlThox+zy2ppzw/krF3GbRRYmfDu6MJItzM6u5Ogy/xQceO4 7qn24yQ8u/44lNoprFYlJBWU3Pxjbzx+rE+OiD+R71yvmlgHcuyJkggcfgW5k X-Gm-Gg: ASbGncvqcSSMRo6N2R6HJbKgqj+SIq+7WrWDLfSsHtQCwHZEsvyr461daaZHh71okpW KwE9zbsCVaQ0PLmBo3A9El+PVpKA+L58xqJSZYUFTzDAp9rTZtJauyquH0OhP/vLGBcalyDcDfn 8wlpeCTTDTkuhc0JHzmOpYNZ+l60U2Gb1os4YgGWK7ReU2K9pp6ygGLZFCA1LQDQyXqC740asBC tGvm5TlpNPxqHU7N8Hs9dR22BB5u5rUs9bmBxS24rYjq2Y4ASK6SDOpDr8M1Gn+JO8ajYXR57FU EG2guMu0etMRb4rBbYPMIGVjLPjmqu5s+YkCYQZTHMbXHtJCtpc= X-Received: by 2002:a17:902:f68a:b0:246:8ba5:f450 with SMTP id d9443c01a7336-248753a2661mr90507885ad.28.1756317542567; Wed, 27 Aug 2025 10:59:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1LlSImrPhdOeae35nhh1xvlEnCDl7pk2q237veq5m2jsJLGJk0QVRZG/R5jTvHmnAZucqTQ== X-Received: by 2002:a17:902:f68a:b0:246:8ba5:f450 with SMTP id d9443c01a7336-248753a2661mr90507575ad.28.1756317542094; Wed, 27 Aug 2025 10:59:02 -0700 (PDT) Received: from ?IPV6:2804:14d:8084:9a69::1000? ([2804:14d:8084:9a69::1000]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-327a22ec24dsm213795a91.3.2025.08.27.10.59.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Aug 2025 10:59:01 -0700 (PDT) Message-ID: <4d9c6123-6406-4aac-99fe-79a58e89fce7@redhat.com> Date: Wed, 27 Aug 2025 14:58:57 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: COBOL support in GDB To: Thomas Dineen , gdb@sourceware.org References: <055c01dc1230$fe0c2050$fa2460f0$@symas.com> In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: K2-YPx1zaJXeH5pqtcvriFFqQtd6VEy26TMquDO_BRU_1756317543 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Guinevere Larsen via Gdb Reply-To: Guinevere Larsen Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hi. That is not a very welcoming message to read as the second message Bob ever received in this community. If you are just genuinely surprised that someone is working with COBOL (or any other technology for that matter), I encourage you to be a little more careful with your wording, like "wow, I didn't know it was still this important" or "that is very surprising, but good luck". The way your email is worded, it sounds rather dismissive of his efforts to add support, which makes the GDB community seem unapproachable. -- Cheers, Guinevere Larsen It/she On 8/27/25 2:42 PM, Thomas Dineen via Gdb wrote: > COBOL you must be kidding! > > > > On 8/20/2025 5:17 PM, Robert Dubner wrote: >> My name is Bob Dubner.  I live in upstate New York, in the United >> States. >> I work for the Symas Corporation, which has an interest in COBOL-based >> systems.  For the last several years I have been working along with my >> colleagues Marty Herman and Jim Lowden to develop a COBOL front end for >> the GCC compiler collection. >> >> >> That front end, with much gratefully received assistance and support >> from >> the GCC community during the incorporation phase, was released back in >> March as part of GCC-15.1. >> >> >> So, with GCC now able to compile COBOL, a natural next step is the >> capability of debugging COBOL code. >> >> >> About three years ago, we forked binutils-gdb on >> https://gitlab.cobolworx.com/COBOLworx/gdb-cobol.  That's where I have >> been developing support in GDB for the COBOL language as implemented in >> GCC's COBOL front end.  I regularly merge the master branch of >> git://sourceware.org/git/binutils-gdb.git into our fork, most recently >> today. >> >> >> I have the COBOL-aware debugger actually working.  Somebody who can >> navigate the multiple gates of >> >> >> 1) Access to an Ubuntu 22 or 24 system, >> >> 2) A willingness to download and install the leading-edge COBOL compiler >> from https://gitlab.cobolworx.com/COBOLworx/gcc-cobol/-/packages, >> >> 3) A matching willingness to download and install the leading-edge >> GDB-COBOL debugger from >> https://gitlab.cobolworx.com/COBOLworx/gdb-cobol/-/packages >> >> 4) Actually caring enough about COBOL to go through steps 1 through 3 >> >> >> can then use the resulting installed gcobol compiler to compile a COBOL >> program and then use gdb-cobol to debug it.  My intent, so far, is that >> GDB users will not be surprised by what ordinary GDB commands do when >> debugging a COBOL program. >> >> >> I am writing here because it is my belief that we can at least start >> talking about incorporating my cobol_language work into GDB. >> >> >> It involves eight new files in the gdb directory, all named >> "cobol-".  There are some changes to code elsewhere in the >> gdb >> subdirectory. >> >> >> I anticipate that there will be a fair amount of polite interaction >> about >> some of my changes that will, nonetheless, come from a place of "Why in >> the name of all that is holy did you do THAT??!!" >> >> >> The answers to those perfectly valid questions will be rooted in two >> places. >> >> >> First, COBOL is weird. >> >> >> Second, I didn't know any better. >> >> >> So, I need guidance on how to proceed.  Perhaps I should come up with a >> patch that just installs the some of the cobol-xxx files, so that my >> work >> can be evaluated?  I am sure there will be questions, and comments, and >> protests that I will have to address. >> >> >> Or what? >> >> >> Thank you very much for your consideration. >> >> >> Bob Dubner >> >