Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: gdb-patches@sources.redhat.com
Subject: GDB doesn't compile on GNU/Linux
Date: Tue, 28 Nov 2006 21:11:00 -0000	[thread overview]
Message-ID: <17772.42234.743561.115636@kahikatea.snap.net.nz> (raw)


I can't get GDB to compile on GNU/Linux because of this change:


2006-11-28  Ulrich Weigand  <uweigand@de.ibm.com>

	* config/nm-linux.h: Do not include <signal.h>.


The change below seems to fix it.

-- 
Nick                                           http://www.inet.net.nz/~nickrob



2006-11-29  Nick Roberts  <nickrob@snap.net.nz>

	* linux-thread-db.c: Include <signal.h>.


*** linux-thread-db.c	29 Nov 2006 09:48:09 +1300	1.21
--- linux-thread-db.c	29 Nov 2006 10:03:35 +1300	
***************
*** 39,44 ****
--- 39,46 ----
  #include "gdbcore.h"
  #include "linux-nat.h"
  
+ #include <signal.h>
+ 
  #ifdef HAVE_GNU_LIBC_VERSION_H
  #include <gnu/libc-version.h>
  #endif


             reply	other threads:[~2006-11-28 21:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 21:11 Nick Roberts [this message]
2006-11-28 21:21 ` Daniel Jacobowitz
2006-11-28 21:34   ` Ulrich Weigand
2006-11-28 21:37   ` Nick Roberts
2006-11-28 21:46     ` Ulrich Weigand
2006-11-28 21:48       ` Daniel Jacobowitz
2006-11-28 21:59         ` Ulrich Weigand
2006-11-28 21:57       ` Nick Roberts

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=17772.42234.743561.115636@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --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