From: "Pierre Muller" <muller@ics.u-strasbg.fr>
To: "'Pedro Alves'" <pedro@codesourcery.com>, <gdb-patches@sourceware.org>
Subject: RE: Modernize solaris threads support.
Date: Tue, 24 Feb 2009 14:48:00 -0000 [thread overview]
Message-ID: <001201c9968c$ce7dab60$6b790220$@u-strasbg.fr> (raw)
In-Reply-To: <200902231836.13188.pedro@codesourcery.com>
Pedro,
you also broke windows-nat.c compilation...
gcc -g -O2 -I. -I../../purecvs/gdb -I../../purecvs/gdb/config
-DLOCALEDIR="\"/
usr/local/share/locale\"" -DHAVE_CONFIG_H
-I../../purecvs/gdb/../include/opcode
-I../../purecvs/gdb/../readline/.. -I../bfd -I../../purecvs/gdb/../bfd
-I../../p
urecvs/gdb/../include -I../libdecnumber -I../../purecvs/gdb/../libdecnumber
-I.
./../purecvs/gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall
-Wdeclaration-after
-statement -Wpointer-arith -Wformat-nonliteral -Wno-unused -Wno-switch
-Wno-char
-subscripts -Werror -c -o windows-nat.o -MT windows-nat.o -MMD -MP -MF
.deps/win
dows-nat.Tpo ../../purecvs/gdb/windows-nat.c
../../purecvs/gdb/windows-nat.c: In function `get_windows_debug_event':
../../purecvs/gdb/windows-nat.c:1435: error: incompatible type for argument
1 of
`windows_resume'
../../purecvs/gdb/windows-nat.c:1435: error: incompatible type for argument
2 of
`windows_resume'
../../purecvs/gdb/windows-nat.c:1435: error: too few arguments to function
`wind
ows_resume'
../../purecvs/gdb/windows-nat.c: In function `init_windows_ops':
../../purecvs/gdb/windows-nat.c:2133: warning: assignment from incompatible
poin
ter type
../../purecvs/gdb/windows-nat.c: At top level:
../../purecvs/gdb/windows-nat.c:2278: error: conflicting types for
'windows_thre
ad_alive'
../../purecvs/gdb/windows-nat.c:116: error: previous declaration of
'windows_thr
ead_alive' was here
../../purecvs/gdb/windows-nat.c:2278: error: conflicting types for
'windows_thre
ad_alive'
../../purecvs/gdb/windows-nat.c:116: error: previous declaration of
'windows_thr
ead_alive' was here
make: *** [windows-nat.o] Error 1
Pierre Muller
Pascal language support maintainer for GDB
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Pedro Alves
> Envoyé : Monday, February 23, 2009 7:36 PM
> À : gdb-patches@sourceware.org
> Objet : Re: Modernize solaris threads support.
>
> I had converted three other callbacks in this file, but missed
> gdbsim_resume.
>
> remote-sim.o isn't built with a x86-64-linux --enable-targets=all
> configuration. I just built a --target=arm-elf gdb to confirm this
> builds OK now.
>
> Checked in.
>
> --
> Pedro Alves
>
> 2009-02-23 Pedro Alves <pedro@codesourcery.com>
>
> * remote-sim.c (gdbsim_resume): Add target_ops* argument.
>
> ---
> gdb/remote-sim.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> Index: src/gdb/remote-sim.c
> ===================================================================
> --- src.orig/gdb/remote-sim.c 2009-02-23 18:20:05.000000000 +0000
> +++ src/gdb/remote-sim.c 2009-02-23 18:23:28.000000000 +0000
> @@ -82,8 +82,6 @@ static void gdbsim_close (int quitting);
>
> static void gdbsim_detach (struct target_ops *ops, char *args, int
> from_tty);
>
> -static void gdbsim_resume (ptid_t ptid, int step, enum target_signal
> siggnal);
> -
> static void gdbsim_prepare_to_store (struct regcache *regcache);
>
> static void gdbsim_files_info (struct target_ops *target);
> @@ -614,7 +612,8 @@ static enum target_signal resume_siggnal
> static int resume_step;
>
> static void
> -gdbsim_resume (ptid_t ptid, int step, enum target_signal siggnal)
> +gdbsim_resume (struct target_ops *ops,
> + ptid_t ptid, int step, enum target_signal siggnal)
> {
> if (!ptid_equal (inferior_ptid, remote_sim_ptid))
> error (_("The program is not being run."));
next prev parent reply other threads:[~2009-02-24 14:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-16 8:57 Pedro Alves
2009-02-16 19:35 ` Eli Zaretskii
2009-02-16 20:45 ` Pedro Alves
2009-02-16 20:50 ` Eli Zaretskii
2009-02-17 0:07 ` Pedro Alves
2009-02-17 4:12 ` Eli Zaretskii
2009-02-17 13:30 ` Pedro Alves
2009-02-17 19:20 ` Eli Zaretskii
2009-02-17 20:01 ` Pedro Alves
2009-02-17 20:28 ` Tom Tromey
2009-02-17 20:50 ` Eli Zaretskii
2009-02-17 21:12 ` Tom Tromey
2009-02-18 2:06 ` Stan Shebs
2009-02-18 10:13 ` Eli Zaretskii
2009-02-18 14:47 ` Mark Kettenis
2009-02-18 19:50 ` Eli Zaretskii
2009-02-23 0:49 ` Pedro Alves
2009-02-23 1:22 ` Pedro Alves
2009-02-23 20:09 ` Pedro Alves
2009-02-24 14:48 ` Pierre Muller [this message]
2009-02-24 14:52 ` Pedro Alves
2009-02-24 15:04 ` Pierre Muller
2009-02-24 15:31 ` Pedro Alves
2009-02-24 15:58 ` [Commit] obvious: fix compilation failure for windows-nat.c Pierre Muller
2009-07-20 12:07 ` Restore GNU/Hurd functionality (was: Modernize solaris threads support.) Thomas Schwinge
2009-07-20 13:02 ` Pedro Alves
2009-07-20 15:08 ` Restore GNU/Hurd functionality Thomas Schwinge
2009-07-20 17:33 ` Pedro Alves
2009-02-26 19:45 ` Modernize solaris threads support David Daney
2009-02-27 18:22 ` Pedro Alves
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='001201c9968c$ce7dab60$6b790220$@u-strasbg.fr' \
--to=muller@ics.u-strasbg.fr \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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