aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2015-10-26 08:41:38 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2015-10-26 08:41:39 -0400
commit48ffa2b8cd986527a41654c3b27755bbf6762048 (patch)
tree9feb0abc0efb9752c2e474e2d8794c2108202e9f /gas
parent585a269afbfdb71b99ae72c22ef5101a800d565c (diff)
downloadgdb-48ffa2b8cd986527a41654c3b27755bbf6762048.zip
gdb-48ffa2b8cd986527a41654c3b27755bbf6762048.tar.gz
gdb-48ffa2b8cd986527a41654c3b27755bbf6762048.tar.bz2
Fix constness problem in ioscm_make_gdb_stdio_port
ioscm_make_gdb_stdio_port passes const char pointers (literal strings) to scm_mode_bits, which takes a non-const char pointer. Ideally, we would change scm_mode_bits to take a const char pointer, but it's not part of an API we control. Instead, it's easy enough to build the string to pass to scm_mode_bits in a (non-const) char array and pass that. gdb/ChangeLog: * guile/scm-ports.c (ioscm_make_gdb_stdio_port): Pass non-const char pointer to scm_mode_bits.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions