aboutsummaryrefslogtreecommitdiff
path: root/lt~obsolete.m4
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-02-22 16:17:14 -0500
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-03-31 07:23:31 -0400
commit47990a6ab563dbbd51b8394dd027071cec459d2e (patch)
treed633ab89be78155d5a41ddaa44d354ac2c2dfdec /lt~obsolete.m4
parentfc90c28021804df1f5bf7f1381d893470c64c417 (diff)
downloadgdb-47990a6ab563dbbd51b8394dd027071cec459d2e.zip
gdb-47990a6ab563dbbd51b8394dd027071cec459d2e.tar.gz
gdb-47990a6ab563dbbd51b8394dd027071cec459d2e.tar.bz2
cast literal to char * when assigning to input_line_ptr
various places either directly or indirectly set input_line_pointer to point at a literal. Currently lots of places modify the string input_line_pointer points at, so making it const isn't easy. Since most if not all of these places assign to input_line_pointer to parse an expression it would probably be best to add ways to generate and deal with expressions that doesn't involve parsing strings, but for now adding some casts seems easiest. gas/ChangeLog: 2016-03-31 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * config/tc-i960.c (parse_expr): Cast to char * when assigning to input_line_pointer. * config/tc-m32r.c (expand_debug_syms): Likewise. * config/tc-msp430.c (msp430_dstoperand): Likewise. * config/tc-z80.c (md_begin): Likewise. * stabs.c (stabs_generate_asm_func): Likewise.
Diffstat (limited to 'lt~obsolete.m4')
0 files changed, 0 insertions, 0 deletions