From f6f99966e94a9a9c7922a07b203bd39a72a0464e Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Mon, 4 Mar 2013 19:38:02 +0000 Subject: [PATCH] gdb/ * linespec.c (decode_line_2): Fix duplicate request off by two message. --- gdb/ChangeLog | 4 ++++ gdb/linespec.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f30826fa905..fab6ff9283b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-03-04 Jan Kratochvil + + * linespec.c (decode_line_2): Fix duplicate request off by two message. + 2013-03-04 Jan Kratochvil * linespec.c (struct linespec_canonical_name): New. diff --git a/gdb/linespec.c b/gdb/linespec.c index 01f5e0a8142..7ed823e8a9e 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); } } } -- 2.30.2