Avoid duplicating text in sol-thread.c:info_cb
authorJoel Brobecker <brobecker@gnat.com>
Wed, 8 May 2013 06:25:21 +0000 (06:25 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 8 May 2013 06:25:21 +0000 (06:25 +0000)
commit17e760ae36d72e21c04aa52f2e5655502a35d705
treef85a52ffe9b300ed489c16113af505889e2a19a0
parentc0f5f490449dcb8de9f22facc0c4dd8d6a442dca
Avoid duplicating text in sol-thread.c:info_cb

This is a minor cleanup that helps avoiding duplicating the output
of a command when handling alternative situations.

gdb/ChangeLog:

        * sol-thread.c (info_cb): Factorize the code a little.
gdb/ChangeLog
gdb/sol-thread.c