Fix a dangling cleanup in linspec_parse_basic.
authorKeith Seitz <keiths@redhat.com>
Mon, 5 May 2014 20:43:31 +0000 (13:43 -0700)
committerKeith Seitz <keiths@redhat.com>
Mon, 5 May 2014 20:43:31 +0000 (13:43 -0700)
commitc888a17da5c7b06eec4b1ed21e4afe84f9a41347
treed84756986c958ac1c429529dc038765eb0c7dbd2
parent290a839c9ab3d33d2a1b42431154b65624a81b0a
Fix a dangling cleanup in linspec_parse_basic.

2014-05-05  Keith Seitz  <keiths@redhat.com>

* linespec.c (linespec_parse_basic): Run cleanups if a convenience
variable or history value is successfully parsed.

2014-05-05  Keith Seitz  <keiths@redhat.com>

* gdb.linespec/ls-dollar.exp: Add test for linespec
file:convenience_variable.
gdb/ChangeLog
gdb/linespec.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.linespec/ls-dollar.exp