public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: Matheus Branco Borella <dark.ryu.550@gmail.com>, eliz@gnu.org
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Add name_of_main and language_of_main to the DWARF index
Date: Thu, 3 Aug 2023 09:29:36 +0200	[thread overview]
Message-ID: <ee900af5-8e53-25ed-3c41-a9a9a915f1e6@suse.de> (raw)
In-Reply-To: <20230707150021.618-1-dark.ryu.550@gmail.com>

On 7/7/23 17:00, Matheus Branco Borella via Gdb-patches wrote:
> Is there anything else I'm missing?

There seem to be a lot of white space issues:
...
$ git show --pretty=%s --check | grep -v '^\+'
Add name_of_main and language_of_main to the DWARF index

gdb/dwarf2/index-write.c:1084: indent with spaces.
gdb/dwarf2/index-write.c:1206: indent with spaces.
gdb/dwarf2/index-write.c:1217: indent with spaces.
gdb/dwarf2/index-write.c:1218: indent with spaces.
gdb/dwarf2/index-write.c:1219: indent with spaces.
gdb/dwarf2/index-write.c:1221: indent with spaces.
gdb/dwarf2/index-write.c:1222: indent with spaces.
gdb/dwarf2/index-write.c:1223: indent with spaces.
gdb/dwarf2/read-gdb-index.c:622: indent with spaces.
gdb/dwarf2/read-gdb-index.c:777: trailing whitespace.
gdb/dwarf2/read-gdb-index.c:778: indent with spaces.
gdb/dwarf2/read-gdb-index.c:791: indent with spaces.
gdb/dwarf2/read-gdb-index.c:803: trailing whitespace.
gdb/dwarf2/read-gdb-index.c:804: trailing whitespace, indent with spaces.
gdb/dwarf2/read-gdb-index.c:805: indent with spaces.
gdb/dwarf2/read.h:248: trailing whitespace.
gdb/dwarf2/read.h:251: trailing whitespace.
gdb/dwarf2/read.h:252: trailing whitespace.
...

Furthermore, I can confirm that this fixes regressions with target board 
gdb-index in test-cases:
- gdb.fortran/backtrace.exp 

- gdb.fortran/info-main.exp 

- gdb.dwarf2/main-subprogram.exp 

- gdb.fortran/mixed-lang-stack.exp

Some of those are KFAIL-ed for 
https://sourceware.org/bugzilla/show_bug.cgi?id=24549 .

So, you could add this to the commit message:
...
PR symtab/24549
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=24549
...

Thanks,
- Tom

  parent reply	other threads:[~2023-08-03  7:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-08 21:40 Matheus Branco Borella
2023-06-09 16:56 ` Tom Tromey
2023-06-30 20:36   ` Matheus Branco Borella
2023-07-01  5:47     ` Eli Zaretskii
2023-07-07 15:00       ` Matheus Branco Borella
2023-07-07 18:00         ` Eli Zaretskii
2023-08-04 20:55           ` Tom de Vries
2023-08-05  5:36             ` Eli Zaretskii
2023-08-03  7:12         ` Tom de Vries
2023-08-03  7:29         ` Tom de Vries [this message]
2023-08-04 18:09           ` [PATCH v2] " Matheus Branco Borella
2023-08-11 18:21 ` [PATCH v3] " Matheus Branco Borella
2023-08-14  7:31   ` Tom de Vries
2023-08-14  7:36     ` Tom de Vries
2023-09-13  7:09     ` Tom de Vries
2023-09-25 18:47       ` Matheus Branco Borella (DarkRyu550)
2023-09-26 14:07         ` Tom de Vries
2023-10-04 22:30           ` Tom de Vries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ee900af5-8e53-25ed-3c41-a9a9a915f1e6@suse.de \
    --to=tdevries@suse.de \
    --cc=dark.ryu.550@gmail.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).