Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] Makefile.in: no ,-Werror for thread-db.c
Date: Fri, 26 Apr 2002 13:30:00 -0000	[thread overview]
Message-ID: <15561.47290.123521.894587@localhost.redhat.com> (raw)


I keep getting warnings for thread-db.c about mismatched types:

/home/ezannoni/uberbaum/src/gdb/thread-db.c: In function `thread_db_fetch_registers':
/home/ezannoni/uberbaum/src/gdb/thread-db.c:805: warning: passing arg 1 of `supply_fpregset' from incompatible pointer type
/home/ezannoni/uberbaum/src/gdb/thread-db.c: In function `thread_db_store_registers':
/home/ezannoni/uberbaum/src/gdb/thread-db.c:838: warning: passing arg 1 of `fill_fpregset' from incompatible pointer type
/home/ezannoni/uberbaum/src/gdb/thread-db.c:844: warning: passing arg 2 of pointer to function from incompatible pointer type

Is this OK? ...unless somebody more familiar than me with regsets wants
to go and fix it. :-)

Elena


2002-04-26  Elena Zannoni  <ezannoni@redhat.com>

        * Makefile.in (thread-db.o): This file cannot be built
        with ,-Werror enabled.


Index: Makefile.in
===================================================================
RCS file: /cvs/uberbaum/gdb/Makefile.in,v
retrieving revision 1.179
diff -u -p -r1.179 Makefile.in
--- Makefile.in	25 Apr 2002 20:34:54 -0000	1.179
+++ Makefile.in	26 Apr 2002 20:29:42 -0000
@@ -1896,6 +1896,8 @@ linux-proc.o: linux-proc.c $(defs_h)
 thread-db.o: thread-db.c $(defs_h) gdb_assert.h gdb_proc_service.h \
 	gdb_thread_db.h $(bfd_h) $(gdbthread_h) $(inferior_h) $(symfile_h) \
 	$(objfiles_h) $(target_h) $(regcache_h)
+	$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
+		$(srcdir)/thread-db.c
 
 lin-lwp.o: lin-lwp.c $(defs_h) gdb_assert.h gdb_wait.h $(gdbthread_h) \
 	$(inferior_h) $(target_h) $(gdbcmd_h) $(regcache_h)


             reply	other threads:[~2002-04-26 20:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 13:30 Elena Zannoni [this message]
2002-04-26 13:53 ` Andrew Cagney
2002-04-26 14:00   ` Elena Zannoni
2002-04-26 14:14     ` Michael Snyder
2002-04-26 14:12 ` Daniel Jacobowitz

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=15561.47290.123521.894587@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=gdb-patches@sources.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