]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Capitalize output of successful checkpoint command
authorKevin Buettner <kevinb@redhat.com>
Wed, 5 Feb 2025 18:27:00 +0000 (11:27 -0700)
committerKevin Buettner <kevinb@redhat.com>
Wed, 5 Feb 2025 18:28:29 +0000 (11:28 -0700)
commit5cf1b0d7353bd40e548b8ac106f92c1beaeaf552
treefc54311acb893d92b11a76ed30474dfc667cf9d8
parente5501dd4321a6b63f306b292347e5d22058c3ed2
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 <tom@tromey.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/linux-fork.c
gdb/testsuite/gdb.base/checkpoint.exp
gdb/testsuite/gdb.base/kill-during-detach.exp
gdb/testsuite/gdb.multi/checkpoint-multi.exp