public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Any concrete plans after the GDB BoF?
@ 2022-10-27 10:47 Luis Machado
  2022-10-28 16:16 ` Simon Marchi
  2022-12-13  2:48 ` Frank Ch. Eigler
  0 siblings, 2 replies; 43+ messages in thread
From: Luis Machado @ 2022-10-27 10:47 UTC (permalink / raw)
  To: gdb

Hi,

Having suggested a few topics for the GDB BoF (I noticed they were discussed, to some extent), are there
any concrete plans from the GDB global maintainers (leadership? I don't know how to call it) to address
some of those concerns?

Simon was kind enough to cleanup the patchworks instance, though that is not yet fully integrated into
something we can easily use to do tests/CI. I see the number of unreviewed patches is growing again.

For example, it is not easy to pick a patch to review. You need to locate the entry in your inbox so you
can reply to it.

On formatting, have we considered the benefit of using clang-format for GDB, therefore potentially saving lots of time
in reviews not having to worry about formatting?

Any other topics?

Thanks!
Luis

^ permalink raw reply	[flat|nested] 43+ messages in thread
* Re: Any concrete plans after the GDB BoF?
@ 2023-02-16  8:53 anix
  0 siblings, 0 replies; 43+ messages in thread
From: anix @ 2023-02-16  8:53 UTC (permalink / raw)
  To: Joel Brobecker, Andrew Burgess
  Cc: Joel Brobecker, Luis Machado, Mark Wielaard, Simon Marchi,
	Simon Marchi via Gdb

[-- Attachment #1: Type: text/plain, Size: 5018 bytes --]

Dear:
thank you very mach for the program.
the following is description for bug.
# The source code convert between single-precision floating-point(32-bit) and half-precision floating-point (16-bit).
.section .data
m32fp:    .float 142,    580,    36832,  65504
half:    .short 0x5870, 0x6080, 0x787f, 0x7bff
h1:    .short 0, 0 ,0, 0
m1:    .float 0, 0, 0, 0
.section .text
.globl _start
_start:
    nop
    movaps m32fp, %xmm0
    vcvtps2ph $0, %xmm0, h1        #imm8=$0; h1 {m64}


    vcvtph2ps h1, %xmm1
    movups %xmm1, m1
   
next:    movl $1, %eax
    movl $0, %ebx
    int $0x80
# the source code end here.


# results under GNU Debugger (gdb)
(gdb) x/4fw &m32fp
0x804a000:    142    580    36832    65504
(gdb) x/4fw &m1
0x804a020:    142    580    36832    65504
(gdb) x/4fh &half
0x804a010:    22640    24704    30847    31743
(gdb) x/4fh &h1
0x804a018:    22640    24712    30847    31743
(gdb) x/4xw &m32fp
0x804a000:    0x430e0000    0x44110000    0x470fe000    0x477fe000
(gdb) x/4xw &m1
0x804a020:    0x430e0000    0x44110000    0x470fe000    0x477fe000
(gdb) x/4xh &half
0x804a010:    0x5870    0x6080    0x787f    0x7bff
(gdb) x/4xh &h1
0x804a018:    0x5870    0x6088    0x787f    0x7bff
# the results of half-precision data (half, h1) by gdb  are mistakes, or instruct me
# All above under IA-32 , OS is centos (32-bit), GNU as and gdb are  also 32-bit.
hope your return.
                        Niu Wensheng
                         2023.02.16

---Original---
From: "Joel Brobecker via Gdb"<gdb@sourceware.org&gt;
Date: Thu, Feb 16, 2023 12:14 PM
To: "Andrew Burgess"<aburgess@redhat.com&gt;;
Cc: "Joel Brobecker"<brobecker@adacore.com&gt;;"Luis Machado"<luis.machado@arm.com&gt;;"Mark Wielaard"<mark@klomp.org&gt;;"Simon Marchi"<simark@simark.ca&gt;;"Simon Marchi via Gdb"<gdb@sourceware.org&gt;;
Subject: Re: Any concrete plans after the GDB BoF?


&gt; &gt; As long as the the tool is able to do the formatting of a given file
&gt; &gt; using only that one file, the git-hooks are ready. There is a
&gt; &gt; style_checker option which is currently calling a script that does
&gt; &gt; nothing. But if we have some tools that check things such as formatting,
&gt; &gt; copyright header format, etc, it's easy to insert them and reject
&gt; &gt; the commit.
&gt; &gt;
&gt; &gt; The problem is that this arrives too late in the process, IMO, because
&gt; &gt; by then, the review has already gone through. For a formatting issue,
&gt; &gt; one could argue that the change is trivial, and therefore automatically
&gt; &gt; re-approved, but this is not ideal.
&gt; 
&gt; Whether the commit should be reformatted and auto-approved is orthogonal
&gt; I think to whether we should have an auto-format checked as part of the
&gt; commit hook.
&gt; 
&gt; As long as folk are able to manually push to master then the process is
&gt; open to (honest) user mistakes, and we should, as far as possible aim to
&gt; have systems in place to guard against those mistakes.
&gt; 
&gt; So having git refuse to accept a commit that is incorrectly formatted
&gt; would be a good thing; though I 100% agree with you that ideally we
&gt; would ALSO have tools that could auto-check the formatting earlier in
&gt; the process and bring that to the developers attention.

Agreed. If we want to ensure correct formatting, we need to check for it
before the commit gets pushed. The earlier, the better.

&gt; &gt; Good or bad, my concern is that the younger generation views emails
&gt; &gt; as antiquated and at the same time they have grown up learning about
&gt; &gt; collaboration using systems such as GitLab or GitHub.
&gt; 
&gt; I'd avoid the word 'antiquated' as it (too me) seems to have negative
&gt; connotations.

I agree with that, and was only using this word in the context of
me putting myself in the shoes of those who shared this feedback
with me. Personally, I love email. But truly, some of the younger
generation I talked to simply do not understand our reluctance to
switch to what they believe to be superior technology. As far as
code collaboration goes, they truly see email as a thing of the past.

Having gone through a transition from email-based review to reviews
through a dedicated system, I have to say that it hurt at first,
but generally speaking, I think it was a huge boost overall.

&gt; But I agree, many developers are familiar with a pull-request
&gt; development model, and I think it has many advantages over our current
&gt; way of doing things, I'd be very much in favour of switching to a PR
&gt; style system.
&gt; 
&gt; That doesn't mean there aren't also advantages to how we do things
&gt; today.

Agreed also.

-- 
Joel

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2023-02-16 15:23 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27 10:47 Any concrete plans after the GDB BoF? Luis Machado
2022-10-28 16:16 ` Simon Marchi
2022-10-28 16:51   ` John Baldwin
2022-10-28 16:54     ` Simon Marchi
2022-10-31  9:28   ` Luis Machado
2022-10-31 13:17     ` Simon Marchi
2022-10-31 13:37       ` Joel Brobecker
2022-10-31 14:15         ` Simon Marchi
2022-10-31 17:31           ` Joel Brobecker
2023-02-11 17:13           ` Andrew Burgess
2023-02-12 12:43             ` Mark Wielaard
2023-02-13 11:54               ` Andrew Burgess
2023-02-13 12:52                 ` Luis Machado
2023-02-13 14:24                   ` Tom Tromey
2023-02-13 14:42                     ` Luis Machado
2023-02-13 15:13                   ` Andrew Burgess
2023-02-13 15:23                     ` Luis Machado
2023-02-14  5:48                       ` Joel Brobecker
2023-02-15 14:47                         ` Andrew Burgess
2023-02-16  4:14                           ` Joel Brobecker
2023-02-16  9:51                           ` Mark Wielaard
2023-02-16 10:16                             ` Joel Brobecker
2023-02-16 11:58                               ` Eli Zaretskii
2023-02-16 13:31                                 ` Joel Brobecker
2023-02-16 15:23                                   ` Eli Zaretskii
2023-02-14 13:07                   ` Mark Wielaard
2023-02-14 14:23                   ` Pedro Alves
2023-02-14 13:00                 ` Mark Wielaard
2023-02-15 14:36                   ` Andrew Burgess
2023-02-13 14:05             ` Tom Tromey
2022-12-15 10:17     ` Luis Machado
2023-01-01 22:02     ` Mark Wielaard
2023-01-20 17:30       ` Tom Tromey
2023-01-20 20:30         ` Tom Tromey
2023-01-27 15:50           ` Lancelot SIX
2023-01-27 23:50             ` Tom Tromey
2023-01-30 17:43               ` Lancelot SIX
2023-01-30 18:46                 ` Mark Wielaard
2023-01-30 21:08                   ` Tom Tromey
2023-02-04 11:36                     ` Mark Wielaard
2023-01-31 10:00                   ` Lancelot SIX
2022-12-13  2:48 ` Frank Ch. Eigler
2023-02-16  8:53 anix

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).