From: Hui Zhu <teawater@gmail.com>
To: gdb-patches ml <gdb-patches@sourceware.org>
Subject: [OB] targe.c: extern reset_schedlock
Date: Mon, 17 May 2010 05:36:00 -0000 [thread overview]
Message-ID: <AANLkTinkOesVTk7baXUi8hzFESyO4mLtR4QYTTJrtFl1@mail.gmail.com> (raw)
Hi,
I got following with cvs-head:
gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\""
-DHAVE_CONFIG_H -I../../src/gdb/../include/opcode
-I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd
-I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber
-I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib
-DMI_OUT=1 -DTUI=1 -DGDBTK -Wall -Wdeclaration-after-statement
-Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused
-Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts
-Werror -c -o target.o -MT target.o -MMD -MP -MF .deps/target.Tpo
../../src/gdb/target.c
cc1: warnings being treated as errors
../../src/gdb/target.c: In function 'target_mourn_inferior':
../../src/gdb/target.c:2249: warning: implicit declaration of function
'reset_schedlock'
make: *** [target.o] Error 1
Checked in a patch to fix it.
Thanks,
Hui
2010-05-17 Hui Zhu <teawater@gmail.com>
* target.c (target_mourn_inferior): Extern reset_schedlock.
===================================================================
RCS file: /cvs/src/src/gdb/target.c,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -r1.251 -r1.252
--- src/gdb/target.c 2010/05/17 01:15:20 1.251
+++ src/gdb/target.c 2010/05/17 03:20:57 1.252
@@ -2244,6 +2244,7 @@
target_mourn_inferior (void)
{
struct target_ops *t;
+ extern void reset_schedlock ();
/* Clear schedlock in infrun.c */
reset_schedlock ();
next reply other threads:[~2010-05-17 3:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-17 5:36 Hui Zhu [this message]
2010-05-17 6:37 ` Joel Brobecker
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=AANLkTinkOesVTk7baXUi8hzFESyO4mLtR4QYTTJrtFl1@mail.gmail.com \
--to=teawater@gmail.com \
--cc=gdb-patches@sourceware.org \
/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