* New ARI warning Wed Aug 12 01:53:55 UTC 2015
@ 2015-08-12 1:53 GDB Administrator
2015-08-14 18:06 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: GDB Administrator @ 2015-08-12 1:53 UTC (permalink / raw)
To: gdb-patches
295a296,301
> gdb/location.c:39: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
gdb/location.c:39:#define EL_TYPE(PTR) (PTR)->type
> gdb/location.c:47: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
gdb/location.c:47:#define EL_LINESPEC(PTR) ((PTR)->u.addr_string)
> gdb/location.c:48: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
gdb/location.c:48:#define EL_PROBE(PTR) ((PTR)->u.addr_string)
> gdb/location.c:52: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
gdb/location.c:52:#define EL_ADDRESS(PTR) (PTR)->u.address
> gdb/location.c:56: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
gdb/location.c:56:#define EL_EXPLICIT(PTR) (&((PTR)->u.explicit))
> gdb/location.c:62: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
gdb/location.c:62:#define EL_STRING(PTR) ((PTR)->as_string)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New ARI warning Wed Aug 12 01:53:55 UTC 2015
2015-08-12 1:53 New ARI warning Wed Aug 12 01:53:55 UTC 2015 GDB Administrator
@ 2015-08-14 18:06 ` Joel Brobecker
2015-08-14 18:12 ` Keith Seitz
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2015-08-14 18:06 UTC (permalink / raw)
To: gdb-patches; +Cc: Keith Seitz
> 295a296,301
> > gdb/location.c:39: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
> gdb/location.c:39:#define EL_TYPE(PTR) (PTR)->type
> > gdb/location.c:47: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
> gdb/location.c:47:#define EL_LINESPEC(PTR) ((PTR)->u.addr_string)
> > gdb/location.c:48: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
> gdb/location.c:48:#define EL_PROBE(PTR) ((PTR)->u.addr_string)
> > gdb/location.c:52: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
> gdb/location.c:52:#define EL_ADDRESS(PTR) (PTR)->u.address
> > gdb/location.c:56: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
> gdb/location.c:56:#define EL_EXPLICIT(PTR) (&((PTR)->u.explicit))
> > gdb/location.c:62: regression: PTR: Do not use PTR, ISO C 90 implies 'void *'
> gdb/location.c:62:#define EL_STRING(PTR) ((PTR)->as_string)
I'm wondering what other people think of these. On the one hand,
I'm pretty sure the ARI check is too simplistic and N/A for
this code. On the other hand, I'd like to think that our long
term goal/hope is to have a clean ARI report someday.
We could tell the ARI that these are OK by adding explicit ARI:
markers, but it seems to me that it'd be just as simple to change
the name of the parameter for each macro.
Thoughts?
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New ARI warning Wed Aug 12 01:53:55 UTC 2015
2015-08-14 18:06 ` Joel Brobecker
@ 2015-08-14 18:12 ` Keith Seitz
2015-08-14 18:32 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Keith Seitz @ 2015-08-14 18:12 UTC (permalink / raw)
To: Joel Brobecker, gdb-patches
On 08/14/2015 11:05 AM, Joel Brobecker wrote:
> I'm wondering what other people think of these. On the one hand,
> I'm pretty sure the ARI check is too simplistic and N/A for
> this code. On the other hand, I'd like to think that our long
> term goal/hope is to have a clean ARI report someday.
>
> We could tell the ARI that these are OK by adding explicit ARI:
> markers, but it seems to me that it'd be just as simple to change
> the name of the parameter for each macro.
I have it on my plate to address this after BuildBot stops harassing me. :-)
My inclination was to fix gdb_ari.sh to recognize this, but I'm just as
happy to simply rename the parameter to "P". [It's a lot less work, too!]
Keith
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New ARI warning Wed Aug 12 01:53:55 UTC 2015
2015-08-14 18:12 ` Keith Seitz
@ 2015-08-14 18:32 ` Joel Brobecker
2015-08-14 22:19 ` Keith Seitz
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2015-08-14 18:32 UTC (permalink / raw)
To: Keith Seitz; +Cc: gdb-patches
> I have it on my plate to address this after BuildBot stops harassing me. :-)
:-)
> My inclination was to fix gdb_ari.sh to recognize this, but I'm just as
> happy to simply rename the parameter to "P". [It's a lot less work, too!]
I would personally KISS and just rename, but enhancing the gdb_ari.sh
script would of course be a better option (but, to be clear, an option
which I personally think is not worth your time - it would be different
if we had that all the time, but that doesn't appear to be the case).
Thanks!
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New ARI warning Wed Aug 12 01:53:55 UTC 2015
2015-08-14 18:32 ` Joel Brobecker
@ 2015-08-14 22:19 ` Keith Seitz
0 siblings, 0 replies; 5+ messages in thread
From: Keith Seitz @ 2015-08-14 22:19 UTC (permalink / raw)
To: gdb-patches
On 08/14/2015 11:32 AM, Joel Brobecker wrote:
>> I have it on my plate to address this after BuildBot stops harassing me. :-)
>
> :-)
>
>> My inclination was to fix gdb_ari.sh to recognize this, but I'm just as
>> happy to simply rename the parameter to "P". [It's a lot less work, too!]
>
> I would personally KISS and just rename, but enhancing the gdb_ari.sh
> script would of course be a better option (but, to be clear, an option
> which I personally think is not worth your time - it would be different
> if we had that all the time, but that doesn't appear to be the case).
I've bought into the KISS idea. It's Friday! :-)
I've pushed this as "obvious." [and remembered the ChangeLog]
Keith
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-08-14 22:19 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-12 1:53 New ARI warning Wed Aug 12 01:53:55 UTC 2015 GDB Administrator
2015-08-14 18:06 ` Joel Brobecker
2015-08-14 18:12 ` Keith Seitz
2015-08-14 18:32 ` Joel Brobecker
2015-08-14 22:19 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox