From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by sourceware.org (Postfix) with ESMTPS id 5AB793858422 for ; Thu, 18 Nov 2021 17:21:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5AB793858422 Received: by mail-io1-xd2f.google.com with SMTP id z18so8979989iof.5 for ; Thu, 18 Nov 2021 09:21:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=r9zApxeNlyWZbsfFqaUs9XEUTIzXhOXUZqZXeGu+bfU=; b=PH9kQB1JkqwwJGcXTmx3g+zL9VZ/Cm3VMPmCGu3bUQpEMK5/IZxBnkfGtD07kaQPBp xenMqwC3nL8dtbQpnYcqF7szEtX/hTIBPmD17IJjXtdamYMZFaGXxsNfJAFusz7usoIT Y7laUOB3VKa7Rull2Bqj15SPnYohvixOo9FSzTkYy2054LYCLCVGr1MTctm2KKq4GZ7i IAhHH+Zcr5Yqk+IFBrhDQaGKWQ6Xzo815Aeyrobd4A2un7oD/AxpgAA2u5aDNNfRVTw1 c9EHilZy9T4t4zMM5TBWdEQ7N9JSMgzS/SKTmzf6Nm1vLAP0I/q+O8xpEUNt0jAYPyAV VeAg== X-Gm-Message-State: AOAM530nHI5VLuO0C0QBb8lWiu8jcNySXYBLp2YDFnRLpIHEEU/nZDJA emhcqoEfJgx1Ebz03Nnk7Iq2jEbAEMy2WU9Hj+/x5JsHXIY= X-Google-Smtp-Source: ABdhPJx1SCBpDxNZvlikmyfb5PPPcUGGNlhffIPhyWcIjYjpbDu651fc6pssvplgBWtsIw0x8zR33vrrBc4qRsv/BV4= X-Received: by 2002:a05:6638:3182:: with SMTP id z2mr21478661jak.134.1637256080174; Thu, 18 Nov 2021 09:21:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Z J Hu Date: Thu, 18 Nov 2021 09:19:58 -0800 Message-ID: Subject: Fwd: A typo of yours or a misunderstanding of mine? To: gdb@sourceware.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Thu, 18 Nov 2021 17:21:23 -0000 I have been asked to forward my question about gdb documentation to you. ---------- Forwarded message --------- From: Z J Hu Date: Wed, Nov 17, 2021 at 9:11 AM Subject: A typo of yours or a misunderstanding of mine? To: Dear Sourceware Team, Hope this email finds you well. When I'm reading the content in " https://sourceware.org/gdb/onlinedocs/gdb/Memory.html", I find a statement for 'x/-3uh' command as: "You can also specify a negative repeat count to examine memory backward from the given address. For example, =E2=80=98x/-3u= h 0x54320=E2=80=99 prints three halfwords (h) at 0x54314, 0x54328, and 0x5431c." Should 0x54314 be 0x54324 instead? I don't know what machine word size would be for this statement, and it gives me some hard time to understand. Could you clear it for me? Thanks, -Zielnik Hu