From: Hui Zhu <teawater@gmail.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: gdb-patches ml <gdb-patches@sourceware.org>,
Pierre Muller <muller@ics.u-strasbg.fr>,
Tristan Gingold <gingold@adacore.com>
Subject: Re: More record.c build failures
Date: Fri, 23 Oct 2009 15:00:00 -0000 [thread overview]
Message-ID: <daef60380910230759g236ed5bdm661da561a3a48409@mail.gmail.com> (raw)
In-Reply-To: <BAF68E25-1DD4-4298-8DA5-DFF67B1204BA@adacore.com>
Hi Michael,
We forget some hosts don't support core dump.
I have 2 ideas to handle this issue:
1. Make the record log don't together with core file. Then the
record.c will not need gcore.o.
2. Divide the "record save" cmd out of record.c. Make gcore.o and
this .o file togther.
What do you think about them?
Thanks,
Hui
On Fri, Oct 23, 2009 at 21:37, Tristan Gingold <gingold@adacore.com> wrote:
>
> On Oct 23, 2009, at 11:46 AM, Pierre Muller wrote:
>
>> record.c is bound to give problems
>> on all targets that do not compile gcore.c
>> source.
>>
>> gcore.o is a optional object that
>> is only added to the list of compiled
>> object in the config directory.
>>
>> Thus it is not possible to
>> use this without some configure test...
>
> For the record (:-), record.c doesn't compile on Darwin because <byteswap.h>
> doesn't exists (nor
> bswap_xx).
>
> For these, maybe you could use bfd_getb64, bfd_getb32 and bfd_getb16 ?
>
> Tristan.
>
>
next prev parent reply other threads:[~2009-10-23 15:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-23 9:47 Pierre Muller
2009-10-23 10:22 ` Joel Brobecker
2009-10-23 13:37 ` Tristan Gingold
2009-10-23 15:00 ` Hui Zhu [this message]
2009-10-23 16:08 ` Michael Snyder
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=daef60380910230759g236ed5bdm661da561a3a48409@mail.gmail.com \
--to=teawater@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=gingold@adacore.com \
--cc=msnyder@vmware.com \
--cc=muller@ics.u-strasbg.fr \
/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