From 5cf1b0d7353bd40e548b8ac106f92c1beaeaf552 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 5 Feb 2025 11:27:00 -0700 Subject: Capitalize output of successful checkpoint command This commit causes the output of a "checkpoint" command to be changed from: checkpoint N: fork returned pid DDDD to: Checkpoint N: fork returned pid DDDD This change was made to bring the output of the "checkpoint" command in line with that of other commands, e.g.: (gdb) break main Breakpoint 1 at ... (gdb) catch exec Catchpoint 2 (exec) (gdb) add-inferior [New inferior 2] Added inferior 2 The tests gdb.base/checkpoint.exp, gdb.base/kill-during-detach.exp, and gdb.multi/checkpoint-multi.exp have been updated to accept the new (capitalized) output from the "checkpoint" command. Reviewed-By: Tom Tromey Approved-By: Andrew Burgess --- gdb/linux-fork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/linux-fork.c') diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c index 585474f..e1e2a76 100644 --- a/gdb/linux-fork.c +++ b/gdb/linux-fork.c @@ -959,7 +959,7 @@ checkpoint_command (const char *args, int from_tty) { int parent_pid; - gdb_printf (_("checkpoint %s: fork returned pid %ld.\n"), + gdb_printf (_("Checkpoint %s: fork returned pid %ld.\n"), ((number_of_inferiors () > 1) ? string_printf ("%d.%d", inf->num, fp->num).c_str () : string_printf ("%d", fp->num).c_str ()), -- cgit v1.1