2012-07-25 Hui Zhu <hui_zhu@mentor.com>
authorHui Zhu <teawater@gmail.com>
Wed, 25 Jul 2012 12:26:27 +0000 (12:26 +0000)
committerHui Zhu <teawater@gmail.com>
Wed, 25 Jul 2012 12:26:27 +0000 (12:26 +0000)
commitd7cbec71c938cb53924b6d30ae28644e3a344a47
tree9da52ed4ef4e88486d1b4b5ec699cc9d5410f366
parent9e2934f7999c248f7e8452d0726541ce9ad9edce
2012-07-25  Hui Zhu  <hui_zhu@mentor.com>

* linespec.c (linespec_lexer_lex_number): Update comments,
change the return and add check to make sure the input is
the decimal numbers.
(linespec_lexer_lex_one): If linespec_lexer_lex_number return
false, call linespec_lexer_lex_string.
gdb/ChangeLog
gdb/linespec.c