diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-09-25 12:22:54 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-09-25 12:22:54 +0000 |
commit | 2e47c6caff97bc8cf147fee4e948917db88f5f2c (patch) | |
tree | 642976a1ee66eba137517b95a35fd22a1a99502a /gdb | |
parent | 318102b961ee0819c326894f988b187c11b24285 (diff) | |
download | gdb-2e47c6caff97bc8cf147fee4e948917db88f5f2c.zip gdb-2e47c6caff97bc8cf147fee4e948917db88f5f2c.tar.gz gdb-2e47c6caff97bc8cf147fee4e948917db88f5f2c.tar.bz2 |
Small typo in comment inside create_sals_line_offset
gdb/ChangeLog:
* linespec.c (create_sals_line_offset): Fix typo in comment.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/linespec.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a6a75b5..5978947 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 <brobecker@adacore.com> + + * linespec.c (create_sals_line_offset): Fix typo in comment. + 2012-09-24 Siddhesh Poyarekar <siddhesh@redhat.com> * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. diff --git a/gdb/linespec.c b/gdb/linespec.c index f7ff54e..3edc09f 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. */ |