Message ID | OS3P286MB21522A5C290212D8E2E6E363F0489@OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM |
---|---|
State | New |
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9A57F3858291 for <patchwork@sourceware.org>; Wed, 31 May 2023 14:14:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A57F3858291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685542461; bh=IP/PXjFkqYpbIZOJse4ajC7kzEYfGgE5T15QqXegyb8=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=XypEsqgAEDpRWbEjNqKXQQT9mQCc0zr2SZ+Lv5A901W7/nPdUBwp3AJUOHvw3BTcT 2WjIf1ThUyLklROPWgBpYE3rxt5/fGccS1T2aNUtRTAbI1oLeVCZr1ZSRktXdtCZvq H+D0NXZefNncjwrQCWjsyR5ZYdXd+uUqIFzxGSto= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01olkn2014.outbound.protection.outlook.com [40.92.98.14]) by sourceware.org (Postfix) with ESMTPS id A9C8B3858D39 for <gdb-patches@sourceware.org>; Wed, 31 May 2023 14:13:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A9C8B3858D39 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QWBtq24DftNMueEz4dSGQoDouV/uHUUMK3HbtBcbQvxYuxjZkC5K6PR8kkiuZhSG80ZkwthMLSTJZAqVduBPA639eLQW6GF4cUiuNRv+6SvQpsPcPV7JkP7BK4oAZujlOa6aDd6ibzdgTlFPw8O3R5qZkw2NdUvgbJsprmV2JpzcZkowFeGAUIvV00a7peDW3TTPY2+fuh75kyENP6WyNAZ81+xn+qC4KhCuy1KTNBNcMvDb4bIeUAF0k5KKMl66R+hWT7DsUPnThxnqhvwCIMdnZaPmKx/Ud2abVeuZQL2lDmHT2cl0NAmKEa7yqrfx3czx27OIrao/NJV0yLgDgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IP/PXjFkqYpbIZOJse4ajC7kzEYfGgE5T15QqXegyb8=; b=kYnuwPXnXEO6wQb+7jZn7SottivzeBpp1MbKqQVPoZWUarUZHZIkuxIW6sMOEfswaKg+OHCWMZmYBcBRDInAGBN6mP/bkqYTctM0dYfEkiRaDJzMxciWQqcQZkGOK20gdAZvjxVz3p4lcGkqPfdyP3CAERR2vGr+LtiepffJBX/lljMK4sf8VUNVX7FbmVDVxV8pKAp11qRU+nGrEwbYjQEVcljC3SWTEmzECn9TRMti3j/8wshof8SWB+vJqCz5SHSvUhq57OoklIGCXyLgbD0vxJ7Uif3h4WQ3OGW/EGKnFZ9DseGKSDltiPPhfV54JzWBMMu0WBiRz7wkR7eq1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:197::9) by OS3P286MB2389.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:150::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.22; Wed, 31 May 2023 14:13:55 +0000 Received: from OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM ([fe80::aefb:d4ae:622:e9e7]) by OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM ([fe80::aefb:d4ae:622:e9e7%4]) with mapi id 15.20.6455.020; Wed, 31 May 2023 14:13:55 +0000 To: gdb-patches@sourceware.org Cc: enze.li@gmx.com Subject: [PATCH] gdb/doc: fix a makeinfo warning Date: Wed, 31 May 2023 22:13:41 +0800 Message-ID: <OS3P286MB21522A5C290212D8E2E6E363F0489@OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.40.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [8BqY/rz0Wnl1JGVpKzUJSYNpDxsiEeFw] X-ClientProxiedBy: SG2PR01CA0152.apcprd01.prod.exchangelabs.com (2603:1096:4:8f::32) To OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM (2603:1096:604:197::9) X-Microsoft-Original-Message-ID: <20230531141341.22774-1-enze.li@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3P286MB2152:EE_|OS3P286MB2389:EE_ X-MS-Office365-Filtering-Correlation-Id: bbe4efbf-dae8-4dc8-5c52-08db61e14441 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GzxvjtilmCece08TkgjhaBHTeumWzfZxFcDHYfHHzMerLckPTDJTfrFYob4kSPiv6LpfOF6oplpTTh2j10pl+qrPLADYur1JCsisA79sBnHCJmtjKIAZEuVl5QNs1r+9LHSVCQ/snS4lfp9YcXJEgcMl6ZivPwDyapo7WO8T6PrZzqQwFUCqqnzOb/JuiaT++/sVe+K2Nmcj8j+XgADJmY/Fif68MDpHydANTHRa/FGv0gqCAFc1l63Xi1Lw4fvBD4VHnjh55eVS/MJortZzjjKfFwTLfuQIGGlUmKr8o4bnHL56gmKSuc4LMdXkT2sBV1Os21pBfbg+qpIVxboDv9epr46o4/LBpkKRZNfB5Og57J7banx35ohhkXaMYnNnYjxpsCLdlW8U9dobzxpO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3QtciE+67FvkEFKOFvtSwFMGmH6AQVE/i490JmRWuAl?= =?utf-8?q?Eo/6NBr5P1jNJ249Z/LtfhwSmjruZHNsENhJxSSk0n6G90fTShysxH2iYY/s0dhx9?= =?utf-8?q?0kaMMutE7q02T2vOzWEEuKl2Pn0fdmyoIfOA85BpVPoCB4pIfYl516RCGXz5tdDlb?= =?utf-8?q?B1mtxLnNKm2iiAQC/wSc7ZQPF9oWiZ7gYIz4zdw7t8wCon5FHzRMO73cWT/MkaV5I?= =?utf-8?q?sKvyecd/dLXKZwCM1+wAPM2hDSK3dYh0lFgsNJ9PZyBETvgNqvrjq2gHiIEhOirLB?= =?utf-8?q?A06Md52Oo+hldYrcQI0iSpF0KsonghDuZ7htqC3AeLhWEdHYO0OngNbgWZzyqo3xT?= =?utf-8?q?wnA/0O8MY2ZHUuHBtXMhXZUYampl78An9YjHhVoo0yezhr8q4qoCKABDRbikFAOfZ?= =?utf-8?q?ODjvbJKxiyOR01wLNUYpgXDEzDNhHS6vcjztTlevvmMcS1B1G+MLbiowXX4NaUS9x?= =?utf-8?q?d0YYZXYdQSG5LLSeMTg44i/cLbikZiZfGweKrPSA=3D=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-05f45.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: bbe4efbf-dae8-4dc8-5c52-08db61e14441 X-MS-Exchange-CrossTenant-AuthSource: OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2023 14:13:55.1320 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: OS3P286MB2389 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Enze Li via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Enze Li <enze.li@hotmail.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
gdb/doc: fix a makeinfo warning
|
|
Commit Message
Enze Li
May 31, 2023, 2:13 p.m. UTC
I see this warning when compiling GDB, gdb.texinfo:5975: warning: undefined flag: GDB gdb.texinfo:5976: warning: undefined flag: GDB and consequently I see the misprints in doc/gdb/Dynamic-Printf.html as follow, ...Most of {No value for ‘GDB’}’s format specifiers... Fix this by using '@value{GDBN}' instead of '@value{GDB}'. --- gdb/doc/gdb.texinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) base-commit: 6e9bcaad3fd8f7635afb9fa7013762da2eeff8e5
Comments
>>>>> "Enze" == Enze Li via Gdb-patches <gdb-patches@sourceware.org> writes:
Enze> I see this warning when compiling GDB,
Enze> gdb.texinfo:5975: warning: undefined flag: GDB
Enze> gdb.texinfo:5976: warning: undefined flag: GDB
Enze> and consequently I see the misprints in doc/gdb/Dynamic-Printf.html as
Enze> follow,
Thanks. I noticed this as well and I pushed a fix for it before I saw
yours.
Tom
> Cc: enze.li@gmx.com > Date: Wed, 31 May 2023 22:13:41 +0800 > From: Enze Li via Gdb-patches <gdb-patches@sourceware.org> > > I see this warning when compiling GDB, > > gdb.texinfo:5975: warning: undefined flag: GDB > gdb.texinfo:5976: warning: undefined flag: GDB > > and consequently I see the misprints in doc/gdb/Dynamic-Printf.html as > follow, > > ...Most of {No value for ‘GDB’}’s format specifiers... > > Fix this by using '@value{GDBN}' instead of '@value{GDB}'. > --- > gdb/doc/gdb.texinfo | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo > index 4bc83ed2168..a179af77224 100644 > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -5972,8 +5972,8 @@ Handle the output by calling a function in your program (normally > @code{printf}). When using this style the supported format specifiers > depend entirely on the function being called. > > -Most of @value{GDB}'s format specifiers align with those supported by > -the @code{printf} function, however, @value{GDB}'s @samp{%V} format > +Most of @value{GDBN}'s format specifiers align with those supported by > +the @code{printf} function, however, @value{GDBN}'s @samp{%V} format > specifier extension is not supported by @code{printf}. When using > @samp{call} style dprintf, care should be taken to ensure that only > format specifiers supported by the output function are used, otherwise Thanks, this is an "obvious fix".
On Wed, May 31 2023 at 08:40:24 AM -0600, Tom Tromey wrote: >>>>>> "Enze" == Enze Li via Gdb-patches <gdb-patches@sourceware.org> writes: > > Enze> I see this warning when compiling GDB, > Enze> gdb.texinfo:5975: warning: undefined flag: GDB > Enze> gdb.texinfo:5976: warning: undefined flag: GDB > > Enze> and consequently I see the misprints in doc/gdb/Dynamic-Printf.html as > Enze> follow, > > Thanks. I noticed this as well and I pushed a fix for it before I saw > yours. > > Tom Hi Tom, It's okay to drop this one. Anyway, thanks for fixing this. Cheers! Enze
On Wed, May 31 2023 at 10:53:54 AM -0400, Eli Zaretskii wrote: >> Cc: enze.li@gmx.com >> Date: Wed, 31 May 2023 22:13:41 +0800 >> From: Enze Li via Gdb-patches <gdb-patches@sourceware.org> >> >> I see this warning when compiling GDB, >> >> gdb.texinfo:5975: warning: undefined flag: GDB >> gdb.texinfo:5976: warning: undefined flag: GDB >> >> and consequently I see the misprints in doc/gdb/Dynamic-Printf.html as >> follow, >> >> ...Most of {No value for ‘GDB’}’s format specifiers... >> >> Fix this by using '@value{GDBN}' instead of '@value{GDB}'. >> --- >> gdb/doc/gdb.texinfo | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo >> index 4bc83ed2168..a179af77224 100644 >> --- a/gdb/doc/gdb.texinfo >> +++ b/gdb/doc/gdb.texinfo >> @@ -5972,8 +5972,8 @@ Handle the output by calling a function in your program (normally >> @code{printf}). When using this style the supported format specifiers >> depend entirely on the function being called. >> >> -Most of @value{GDB}'s format specifiers align with those supported by >> -the @code{printf} function, however, @value{GDB}'s @samp{%V} format >> +Most of @value{GDBN}'s format specifiers align with those supported by >> +the @code{printf} function, however, @value{GDBN}'s @samp{%V} format >> specifier extension is not supported by @code{printf}. When using >> @samp{call} style dprintf, care should be taken to ensure that only >> format specifiers supported by the output function are used, otherwise > > Thanks, this is an "obvious fix". Hi Eli, It is necessary to be cautious for a new contributor. Thank you for your guidance, next time I will carefully try to submit such obvious errors. Best Regards, Enze
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 4bc83ed2168..a179af77224 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -5972,8 +5972,8 @@ Handle the output by calling a function in your program (normally @code{printf}). When using this style the supported format specifiers depend entirely on the function being called. -Most of @value{GDB}'s format specifiers align with those supported by -the @code{printf} function, however, @value{GDB}'s @samp{%V} format +Most of @value{GDBN}'s format specifiers align with those supported by +the @code{printf} function, however, @value{GDBN}'s @samp{%V} format specifier extension is not supported by @code{printf}. When using @samp{call} style dprintf, care should be taken to ensure that only format specifiers supported by the output function are used, otherwise