gdb: constify remote files_info
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Apr 2010 16:04:43 +0000 (16:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 12 Apr 2010 16:04:43 +0000 (16:04 +0000)
commit0d18d7205b3ab45b0e44465111e178e83c8555da
tree3c9647c017c7aeb21da545a1ccb4144e7081c147
parente377ca52199a29a8502389c4d29d8517903b7f2f
gdb: constify remote files_info

The sim and m32r remote targets declare a local "file" variable and only
assign const strings to it before passing it to a printf() func.  So add
const markings to avoid gcc warnings like:
gdb/remote-sim.c: In function 'gdbsim_files_info':
gdb/remote-sim.c:789: warning: initialization discards qualifiers
from pointer target type

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
gdb/ChangeLog
gdb/remote-m32r-sdi.c
gdb/remote-sim.c