aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-10 21:33:45 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-10 21:36:02 -0400
commitdf140a0bc3140bca133cd7ced6e18903db69c396 (patch)
tree336587ad009b20ccb9fa18d22c58900e61cf8e38 /gdb/linespec.c
parentaa79adb05d96728b8b35015eaf902266d9b53d0b (diff)
downloadgdb-df140a0bc3140bca133cd7ced6e18903db69c396.zip
gdb-df140a0bc3140bca133cd7ced6e18903db69c396.tar.gz
gdb-df140a0bc3140bca133cd7ced6e18903db69c396.tar.bz2
fix up two issues with the removal of unused variables
gdb/ChangeLog: 2016-05-10 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * iq2000-tdep.c (iq2000_scan_prologue): Remove if that shouldn't guard anything. * linespec.c (add_sal_to_sals): Restore call to symtab_to_fullname.
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index c0c3b3b3..7162163 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -845,6 +845,8 @@ add_sal_to_sals (struct linespec_state *self,
canonical = &self->canonical_names[sals->nelts - 1];
if (!literal_canonical && sal->symtab)
{
+ symtab_to_fullname (sal->symtab);
+
/* Note that the filter doesn't have to be a valid linespec
input. We only apply the ":LINE" treatment to Ada for
the time being. */