aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2016-12-20 14:25:33 -0800
committerAlan Modra <amodra@gmail.com>2016-12-22 00:19:47 +1030
commit58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba (patch)
treea3770cd80918701a536178b68fa33e91563e9d86 /gdb/source.c
parent9ef7906f20e81faa4498761002e6376f4d35c865 (diff)
downloadgdb-58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba.zip
gdb-58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba.tar.gz
gdb-58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba.tar.bz2
Avoid creating symbol table entries for registers
Instructions like "jal t0, foo" were erroneously creating symbol table entries for t0 as well as foo, which causes linking problems. Fix by reordering instruction alternatives so that t0 is first attempted to be parsed as a register, rather than as a symbol. * riscv-opc.c (riscv_opcodes): Reorder jal and call entries.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions