From: Joel Brobecker Date: Tue, 25 Sep 2012 12:22:54 +0000 (+0000) Subject: Small typo in comment inside create_sals_line_offset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e47c6caff97bc8cf147fee4e948917db88f5f2c;p=binutils-gdb.git Small typo in comment inside create_sals_line_offset gdb/ChangeLog: * linespec.c (create_sals_line_offset): Fix typo in comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a6a75b5bbaa..59789476593 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -3,6 +3,10 @@ * c-typeprint.c (c_type_print_varspec_suffix): Remove cast and use plongest to print the array size. +2012-09-25 Joel Brobecker + + * linespec.c (create_sals_line_offset): Fix typo in comment. + 2012-09-24 Siddhesh Poyarekar * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. diff --git a/gdb/linespec.c b/gdb/linespec.c index f7ff54e7788..3edc09f12c0 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1711,7 +1711,7 @@ create_sals_line_offset (struct linespec_state *self, /* This is where we need to make sure we have good defaults. 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 select_source_symtab that calls us with such an argument. */