From: Michael Snyder <msnyder@vmware.com>
To: Hui Zhu <teawater@gmail.com>
Cc: Michael Eager <eager@eagercon.com>,
Pierre Muller <muller@ics.u-strasbg.fr>,
"msnyder@sourceware.org" <msnyder@sourceware.org>,
"gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: Build failure: src/gdb ChangeLog record.c gcore.c gcore.h
Date: Mon, 26 Oct 2009 03:41:00 -0000 [thread overview]
Message-ID: <4AE518C6.2000701@vmware.com> (raw)
In-Reply-To: <daef60380910251905u297aeac1uf7c9c371225fe398@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
Hui Zhu wrote:
> Hi Michael,
>
> I make a patch that move gcore.o to makefile.in.
> It will make record save build OK in cygwin.
Not quite good for targets that don't use "exec" (such as
remote or sim). We'll expose an error message that isn't
very informative.
Could you add this diff to your patch?
[-- Attachment #2: gcore.txt --]
[-- Type: text/plain, Size: 1085 bytes --]
Index: target.c
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.229
diff -u -p -r1.229 target.c
--- target.c 20 Oct 2009 11:09:01 -0000 1.229
+++ target.c 26 Oct 2009 03:39:36 -0000
@@ -2751,17 +2751,19 @@ dummy_pid_to_str (struct target_ops *ops
return normal_pid_to_str (ptid);
}
-/* Error-catcher for target_find_memory_regions */
-static int dummy_find_memory_regions (int (*ignore1) (), void *ignore2)
+/* Error-catcher for target_find_memory_regions. */
+static int
+dummy_find_memory_regions (int (*ignore1) (), void *ignore2)
{
- error (_("No target."));
+ error (_("Command not implemented for this target."));
return 0;
}
-/* Error-catcher for target_make_corefile_notes */
-static char * dummy_make_corefile_notes (bfd *ignore1, int *ignore2)
+/* Error-catcher for target_make_corefile_notes. */
+static char *
+dummy_make_corefile_notes (bfd *ignore1, int *ignore2)
{
- error (_("No target."));
+ error (_("Command not implemented for this target."));
return NULL;
}
next prev parent reply other threads:[~2009-10-26 3:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20091022193607.13598.qmail@sourceware.org>
2009-10-23 7:49 ` Pierre Muller
2009-10-23 15:38 ` Michael Snyder
2009-10-24 22:18 ` Michael Eager
2009-10-24 23:07 ` Michael Snyder
2009-10-25 0:26 ` Hui Zhu
2009-10-25 0:56 ` Hui Zhu
2009-10-25 1:26 ` Michael Snyder
2009-10-25 8:41 ` Hui Zhu
2009-10-25 13:53 ` Hui Zhu
2009-10-25 18:43 ` Michael Snyder
2009-10-25 18:42 ` Michael Snyder
2009-10-26 2:05 ` Hui Zhu
2009-10-26 3:41 ` Michael Snyder [this message]
2009-10-26 7:03 ` Hui Zhu
2009-10-26 15:51 ` Michael Snyder
2009-10-26 17:20 ` Pedro Alves
2009-10-26 18:33 ` Hui Zhu
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=4AE518C6.2000701@vmware.com \
--to=msnyder@vmware.com \
--cc=eager@eagercon.com \
--cc=gdb-patches@sourceware.org \
--cc=msnyder@sourceware.org \
--cc=muller@ics.u-strasbg.fr \
--cc=teawater@gmail.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