Rename location accessor macro parameters to silence ARI
authorKeith Seitz <keiths@redhat.com>
Fri, 14 Aug 2015 22:00:04 +0000 (15:00 -0700)
committerKeith Seitz <keiths@redhat.com>
Fri, 14 Aug 2015 22:04:58 +0000 (15:04 -0700)
commitebdad8fc7fd12b52a2dd14cdca735728b2f7ebc7
tree5b08d8bbb4fbc654b5e1a02338eeffd36c8530b3
parent9ca98f927800a8446555e3f64cc3437c08ce266b
Rename location accessor macro parameters to silence ARI

The locations patch I recently committed contains macro definitions
such as:

This causes an ARI error to be emitted by the server ("Do not use PTR, ISO C
90 implies `void *'").  While this ARI error is bogus in this context,
it is just easiest to squash the error completely by renaming the macro
parameters.

gdb/ChangeLog

* location.c (EL_TYPE, EL_LINESPEC, EL_PROBE, EL_ADDRESS)
(EL_EXPLICIT, EL_STRING): Change macro parameter to "P" to
silence ARI errors.
gdb/ChangeLog
gdb/location.c
This page took 0.023555 seconds and 4 git commands to generate.