Small typo in comment inside create_sals_line_offset

gdb/ChangeLog:

        * linespec.c (create_sals_line_offset): Fix typo in comment.
This commit is contained in:
Joel Brobecker
2012-09-25 12:22:54 +00:00
parent 318102b961
commit 2e47c6caff
2 changed files with 5 additions and 1 deletions

View File

@ -3,6 +3,10 @@
* c-typeprint.c (c_type_print_varspec_suffix): Remove cast and * c-typeprint.c (c_type_print_varspec_suffix): Remove cast and
use plongest to print the array size. use plongest to print the array size.
2012-09-25 Joel Brobecker <brobecker@adacore.com>
* linespec.c (create_sals_line_offset): Fix typo in comment.
2012-09-24 Siddhesh Poyarekar <siddhesh@redhat.com> 2012-09-24 Siddhesh Poyarekar <siddhesh@redhat.com>
* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.

View File

@ -1711,7 +1711,7 @@ create_sals_line_offset (struct linespec_state *self,
/* This is where we need to make sure we have good defaults. /* This is where we need to make sure we have good defaults.
We must guarantee that this section of code is never executed We must guarantee that this section of code is never executed
when we are called with just a function anme, since when we are called with just a function name, since
set_default_source_symtab_and_line uses set_default_source_symtab_and_line uses
select_source_symtab that calls us with such an argument. */ select_source_symtab that calls us with such an argument. */