diff options
author | Yao Qi <yao@codesourcery.com> | 2014-01-05 19:36:51 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-01-07 11:01:48 +0800 |
commit | 0cc6f43dae73e5805f470fc823c3e503b8cdbffe (patch) | |
tree | 1bbbf9793ba55da034352d6f34460799de0c73c5 /gdb/python | |
parent | eec03155c293e340850c25d1aa5fdd8e7a666776 (diff) | |
download | gdb-0cc6f43dae73e5805f470fc823c3e503b8cdbffe.zip gdb-0cc6f43dae73e5805f470fc823c3e503b8cdbffe.tar.gz gdb-0cc6f43dae73e5805f470fc823c3e503b8cdbffe.tar.bz2 |
Add qualifier 'const' to argument args
This patch fixes the following error.
../../../git/gdb/gnu-nat.c: In function 'info_port_rights':
../../../git/gdb/gnu-nat.c:3083:11: error: passing argument 1 of 'parse_to_comma_and_eval' from incompatible pointer type [-Werror]
In file included from ../../../git/gdb/breakpoint.h:23:0,
from ../../../git/gdb/inferior.h:37,
from ../../../git/gdb/gnu-nat.c:55:
../../../git/gdb/value.h:763:22: note: expected 'const char **' but argument is of type 'char **'
gdb:
2014-01-07 Yao Qi <yao@codesourcery.com>
* gnu-nat.c (info_port_rights): Add qualifier const to
argument args.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions