diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-03-04 19:38:02 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-03-04 19:38:02 +0000 |
commit | f6f99966e94a9a9c7922a07b203bd39a72a0464e (patch) | |
tree | 605bdf4fd06c497f8b7e140e7ac1154aaa3fca00 | |
parent | 33f448b11ed775f3d4dcf2c21100ba3b239b6b4a (diff) | |
download | gdb-f6f99966e94a9a9c7922a07b203bd39a72a0464e.zip gdb-f6f99966e94a9a9c7922a07b203bd39a72a0464e.tar.gz gdb-f6f99966e94a9a9c7922a07b203bd39a72a0464e.tar.bz2 |
gdb/
* linespec.c (decode_line_2): Fix duplicate request off by two message.
-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 f30826f..fab6ff9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> + * linespec.c (decode_line_2): Fix duplicate request off by two message. + +2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com> + * linespec.c (struct linespec_canonical_name): New. (struct linespec_state): Change canonical_names type to it. (add_sal_to_sals): Change variable canonical_name to canonical. Change diff --git a/gdb/linespec.c b/gdb/linespec.c index 01f5e0a..7ed823e 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -1461,7 +1461,7 @@ decode_line_2 (struct linespec_state *self, else { printf_unfiltered (_("duplicate request for %d ignored.\n"), - num); + num + 2); } } } |