From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by sourceware.org (Postfix) with ESMTPS id 88B153858D29 for ; Mon, 22 Mar 2021 16:55:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 88B153858D29 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joel.sherrill@gmail.com Received: by mail-lf1-f42.google.com with SMTP id o10so22358054lfb.9 for ; Mon, 22 Mar 2021 09:55:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=lyhDNeuJqxNGvJJ5XeQ+C5WvgPuIuksc2TywVkdhAlw=; b=Hdr2MDMPXu8ru8prNrDck3ptvOaSefDyyXKzfRf2PXD5zhDmxdNW/Ip2qllIwAC33m wQu4T/s4b+RlWy+1wsP7nmSYoX6GRMmyhaTMB1zly9OPLpmnmqQq1WGavXwQizjnQ9D2 4W5THNdj6KLL81gxncwyFH9olFwgzmuAuyuHMgRXRn7rwkWo5pGIKwUGTlhf4kgt0Efp f28+Nv2wjKuG3MCMwpQZGUT4r7GC/0PxEH+1oIc0gnaap4B7wq/ITE6rg2Pd6iusLzFS 95J1Vc4FFaAclyFyhIF88DZrdInxM3Gj3so28r8oIAMWEzWShKwVC/ql1/2pravpf08m 0jVQ== X-Gm-Message-State: AOAM533MrRucBTI14qVNX3omZE4IQmSsh3Uq3tdMrqxPXOE98kZfegIo UbUgJUOHeTQi1p2XkpFH7B9aH4Ip7ec= X-Google-Smtp-Source: ABdhPJzKZ/m31mrp0KmfcXmqJUdVnlAtkVvJWg9UEyOdX1ah3Ha4KIizJYyYpj4gMrIRdKu8Lv6usQ== X-Received: by 2002:ac2:51ba:: with SMTP id f26mr165529lfk.207.1616432145904; Mon, 22 Mar 2021 09:55:45 -0700 (PDT) Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com. [209.85.208.175]) by smtp.gmail.com with ESMTPSA id x74sm1247795lff.145.2021.03.22.09.55.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Mar 2021 09:55:45 -0700 (PDT) Received: by mail-lj1-f175.google.com with SMTP id r20so21978218ljk.4 for ; Mon, 22 Mar 2021 09:55:45 -0700 (PDT) X-Received: by 2002:a2e:9244:: with SMTP id v4mr342241ljg.196.1616432145406; Mon, 22 Mar 2021 09:55:45 -0700 (PDT) MIME-Version: 1.0 Reply-To: joel@rtems.org From: Joel Sherrill Date: Mon, 22 Mar 2021 11:55:34 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: 64-bit Addresses in remote protocol To: gdb@sourceware.org X-Spam-Status: No, score=-3031.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2021 16:55:49 -0000 Hi Over at RTEMS, we are looking at some warnings in our debug server and wondering if fields described as "addr" in the gdb protocol should be treated 64-bits when that target has 64-bit addresses like the aarch64. Technically, we are looking at sweeping through our gdb server and using uintptr_t for addresses where uint32_t has been ok before. But I wanted to make sure that our assumption that "addr" means a valid target address which means it can be 32- or 64- bits based on the target. Thanks. --joel RTEMS