From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [1/7] RFC: minimal BFD thread awareness
Date: Wed, 16 Jun 2010 17:39:00 -0000 [thread overview]
Message-ID: <20100616173903.GB32701@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <m339wp1njz.fsf@fleche.redhat.com>
Hi Tom,
On Mon, 14 Jun 2010 20:22:56 +0200, Tom Tromey wrote:
> --- a/bfd/bfd-in2.h
> +++ b/bfd/bfd-in2.h
> @@ -2572,6 +2572,8 @@ relocation types already defined. */
> + BFD_RELOC_SPU_PIC18,
> + BFD_RELOC_SPU_STUB,
> --- a/bfd/libbfd.h
> +++ b/bfd/libbfd.h
> + "BFD_RELOC_SPU_PIC18",
> + "BFD_RELOC_SPU_STUB",
Isn't this some leftover?
> --- a/bfd/bfd-in2.h
> +++ b/bfd/bfd-in2.h
> @@ -5353,6 +5355,25 @@ bfd_boolean core_file_matches_executable_p
> +struct bfd_thread_info
> +{
> + /* Return the ID of the current thread. Should never return NULL. */
> + void *(*self) (void);
> + /* Create a mutex and return it. */
> + void *(*create_mutex) (void);
I would prefer some opaque struct * typedefs so that the mutex vs. thread-id
have incompatible types.
Thanks,
Jan
next prev parent reply other threads:[~2010-06-16 17:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 18:23 Tom Tromey
2010-06-14 20:04 ` Joseph S. Myers
2010-06-16 17:39 ` Jan Kratochvil [this message]
2010-06-16 17:44 ` Tom Tromey
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=20100616173903.GB32701@host0.dyn.jankratochvil.net \
--to=jan.kratochvil@redhat.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