From: Tom Tromey Date: Fri, 7 Aug 2020 16:26:45 +0000 (-0600) Subject: Change names given to Ravenscar threads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5d833afcf70888c5186f5117540cfe49a928c4a;p=binutils-gdb.git Change names given to Ravenscar threads Current a Ravenscar thread is given the same sort of name as a "CPU" thread; they can only be distinguished by looking at the output of "info thread". This patch changes ravenscar-thread.c to distinguish these threads, like: (gdb) continue Continuing. [New Ravenscar Thread 0x2b910] gdb/ChangeLog 2020-08-07 Tom Tromey * ravenscar-thread.c (ravenscar_thread_target) : Remove. (ravenscar_thread_target::extra_thread_info): Remove. (ravenscar_thread_target::pid_to_str): Mention Ravenscar in result; defer to target beneath for non-Ravenscar threads. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f4a1fdc409..7bee9c9cbbd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2020-08-07 Tom Tromey + + * ravenscar-thread.c (ravenscar_thread_target) : + Remove. + (ravenscar_thread_target::extra_thread_info): Remove. + (ravenscar_thread_target::pid_to_str): Mention Ravenscar in result; + defer to target beneath for non-Ravenscar threads. + 2020-08-07 Tom Tromey * ravenscar-thread.c (ravenscar_thread_target) pid_to_str (ptid); + + return string_printf ("Ravenscar Thread %#x", (int) ptid.tid ()); } void