summaryrefslogtreecommitdiff
path: root/opcodes/microblaze-dis.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-01-04 14:24:55 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-01-04 14:24:55 +0000
commit8cb35e12e0d9482b615e85d3bff2b2d8c019664a (patch)
treee3da18a6919f6b1a6eb33943ee7509d9c6fc4711 /opcodes/microblaze-dis.c
parentbf66745c7aad0f0cca2cda6adec1e537959898c4 (diff)
downloadgdb-8cb35e12e0d9482b615e85d3bff2b2d8c019664a.tar.gz
do not call decode_compound with Ada expressions.
Trying to insert a breakpoint on `ops."<"', we get the following error: (gdb) b ops."<" malformed template specification in command This is because locate_first_half skips the linespec until the dot, and the decode_line_internal thinks that the dot might mean that we have C++ or Java compound. It then tries calling decode_compound which errors out because it sees the opening angle bracket but not the closing one (I am guessing). This patch short-circuits this part of the code when the current language is Ada. gdb/ChangeLog: * linespec.c (decode_line_internal): Check for C++ or Java compound constructs only if the current language is C, C++ or Java.
Diffstat (limited to 'opcodes/microblaze-dis.c')
0 files changed, 0 insertions, 0 deletions