* linespec.c (add_sal_to_sals): Add LITERAL_CANONICAL
authorKeith Seitz <keiths@redhat.com>
Wed, 18 Jul 2012 20:38:18 +0000 (20:38 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 18 Jul 2012 20:38:18 +0000 (20:38 +0000)
commit66f1999bd8985be71e30d4cc75ce700a5bceefd0
treed908f98c7fd891f84e25b6472a7c726d75cc1100
parent5d94e27bfda2baffe1c50cfd92ea965c9dec9dcf
* linespec.c (add_sal_to_sals): Add LITERAL_CANONICAL
parameter.  If non-zero, use SYMNAME as the canonical name
for the SaL.
Update all callers.
(convert_linespec_to_sals): Use add_sal_to_sals for
expressions, too.
(decode_line_full): No need to "fill in missing canonical names"
anymore. Simply make cleanups for the allocated names.
gdb/ChangeLog
gdb/linespec.c