Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFA: display thread names
Date: Fri, 14 Jan 2011 18:42:00 -0000	[thread overview]
Message-ID: <1295029800.27269.28.camel@hactar> (raw)
In-Reply-To: <m3fwsygm4h.fsf@fleche.redhat.com>

On Wed, 2011-01-12 at 08:47 -0700, Tom Tromey wrote:
> @@ -1237,6 +1238,11 @@ extern char *normal_pid_to_str (ptid_t ptid);
>  #define target_extra_thread_info(TP) \
>       (current_target.to_extra_thread_info (TP))
>  
> +/* Return the thread's name.  A NULL result is ok.  */
> +
> +#define target_thread_name(TP) \
> +     (current_target.to_thread_name (TP))
> +
>  /* Attempts to find the pathname of the executable file
>     that was run to create a specified process.

I've been told that target macros are deprecated and new code should use
functions instead (as in target_fetch_registers).
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center


      parent reply	other threads:[~2011-01-14 18:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12 16:11 Tom Tromey
2011-01-12 16:52 ` Eli Zaretskii
2011-01-18 22:49   ` Tom Tromey
2011-01-18 23:42     ` Eli Zaretskii
2011-01-19 15:26       ` Tom Tromey
2011-01-19 16:00         ` Eli Zaretskii
2011-01-14 18:42 ` Thiago Jung Bauermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295029800.27269.28.camel@hactar \
    --to=bauerman@br.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox