public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Malcolm <dmalcolm@redhat.com>
To: Petter Tomner <tomner@kth.se>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	"jit@gcc.gnu.org" <jit@gcc.gnu.org>
Subject: Re: Sv: Sv: [PATCH 1/2 v2] jit : Generate debug info for variables
Date: Thu, 09 Sep 2021 08:41:54 -0400	[thread overview]
Message-ID: <cc44757fed4a8ce7f71245c9f7e09a9e01137854.camel@redhat.com> (raw)
In-Reply-To: <57cd0673c512469ab9bf0a6b2bdc1cb2@kth.se>

On Thu, 2021-09-09 at 07:45 +0000, Petter Tomner wrote:
> Hi,
> 
> I tested it on another machine over ssh and newer gdb:s (8.3+) clobbers
> the output with color escapes so I had to disable colors
> for the gdb session in jit.exp for the regex matching to work properly:
> 
> +    verbose "Disable color styling in GDB newer then 8.3 (errors on
> older)"
> +    send "set style enabled off\n"
> 
> On pre 8.3 gdb:s that will be an ignored syntax error.
> 
> With that change it passes the check-jit test on that machine too. 
> 
>         === jit Summary ===
> 
>         # of expected passes            12073
> 
> I squashed the patches and attached it to this mail (with the above
> change).

Great, thanks.

> 
> 
> No, I don't have push rights to the GCC repo. Should I request it?

In theory I can push the patch on your behalf, but I'm hoping that
you'll want to contribute other patches to libgccjit/GCC, so I'd prefer
it if you got push rights and did it yourself.

I'm happy to sponsor you for access; see:
  https://gcc.gnu.org/gitwrite.html#authenticated

Thanks again for the patch
Dave

> 
> Regards,
> Petter
> 
> 
> -----Ursprungligt meddelande-----
> Från: David Malcolm <dmalcolm@redhat.com> 
> Skickat: den 8 september 2021 14:49
> Till: Petter Tomner <tomner@kth.se>; gcc-patches@gcc.gnu.org; 
> jit@gcc.gnu.org
> Ämne: Re: Sv: [PATCH 1/2 v2] jit : Generate debug info for variables
> 
> On Tue, 2021-09-07 at 16:18 +0000, Petter Tomner via Gcc-patches wrote:
> > I realized I still managed to mess up some WS. I have attached a
> > patch 
> > that is the same, except fixes the WS issue underneath.
> > 
> > Regards, Petter
> > 
> > +      FOR_EACH_VEC_ELT (m_globals, i, global)
> > +    rest_of_decl_compilation (global, true, true);
> 
> Thanks for the updated patch.
> 
> Looks good to me, assuming it's been tested successfully.  It should be
> combined with the testcase into a single commit when pushed.
> 
> Do you have push rights to the GCC git repo?
> 
> Dave
> 
> 



      reply	other threads:[~2021-09-09 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-04 23:48 Petter Tomner
2021-09-07 16:18 ` Sv: " Petter Tomner
2021-09-08 12:48   ` David Malcolm
2021-09-09  7:45     ` Sv: " Petter Tomner
2021-09-09 12:41       ` David Malcolm [this message]

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=cc44757fed4a8ce7f71245c9f7e09a9e01137854.camel@redhat.com \
    --to=dmalcolm@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jit@gcc.gnu.org \
    --cc=tomner@kth.se \
    /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).