Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Peter Breitenlohner <peb@mppmu.mpg.de>
To: gdb-patches@sources.redhat.com
Cc: Michael Elizabeth Chastain <mec@shout.net>, "" <bug-gdb@gnu.org>
Subject: Re: gdb-5.3 -- some minor build problems + 3 patches
Date: Wed, 22 Jan 2003 18:26:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.50.0301221920290.4506-200000@pcl321.mppmu.mpg.de> (raw)
In-Reply-To: <200301221743.h0MHhUc29957@duracef.shout.net>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 756 bytes --]

On Wed, 22 Jan 2003, Michael Elizabeth Chastain wrote:

> If you can, please start with the current cvs version rather than gdb 5.3.
> See http://sources.redhat.com/gdb/current/ for instructions.  You can work
> from either a current weekly snapshot or do a cvs checkout.
>
> Please send patches to the mailing list 'gdb-patches@sources.redhat.com',
> one patch per e-mail.  Many more developers read gdb-patches than
> bug-gdb@gnu.org.

Hi Michael,

can do, attached the first patch against gdb+dejagnu-weekly-CVS-20030121:

	gdbreplay.c uses `#ifdef HAVE_STDLIB_H', but configure and config.h
	don't define this. Consequently <stdlib.h> was not included,
	resulting in an "implicit declaration 	of `atoi'" warning.

Peter Breitenlohner <peb@mppmu.mpg.de>

[-- Attachment #2: Type: TEXT/PLAIN, Size: 2183 bytes --]

	gdbreplay.c uses `#ifdef HAVE_STDLIB_H', but configure and config.h
	don't define this. Consequently <stdlib.h> was not included,
	resulting in an "implicit declaration of `atoi'" warning.

diff -ur gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/gdbserver/config.in gdb+dejagnu-weekly-CVS-20030121/src/gdb/gdbserver/config.in
--- gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/gdbserver/config.in	2002-07-24 23:30:46.000000000 +0200
+++ gdb+dejagnu-weekly-CVS-20030121/src/gdb/gdbserver/config.in	2003-01-22 19:03:52.000000000 +0100
@@ -25,6 +25,9 @@
 /* Define if you have the <sgtty.h> header file.  */
 #undef HAVE_SGTTY_H
 
+/* Define if you have the <stdlib.h> header file.  */
+#undef HAVE_STDLIB_H
+
 /* Define if you have the <string.h> header file.  */
 #undef HAVE_STRING_H
 
diff -ur gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/gdbserver/configure gdb+dejagnu-weekly-CVS-20030121/src/gdb/gdbserver/configure
--- gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/gdbserver/configure	2002-07-24 23:30:46.000000000 +0200
+++ gdb+dejagnu-weekly-CVS-20030121/src/gdb/gdbserver/configure	2003-01-22 19:03:59.000000000 +0100
@@ -1105,7 +1105,7 @@
 fi
 
 
-for ac_hdr in sgtty.h termio.h termios.h sys/reg.h string.h 		 proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.h
+for ac_hdr in sgtty.h termio.h termios.h sys/reg.h stdlib.h string.h 		 proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff -ur gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/gdbserver/configure.in gdb+dejagnu-weekly-CVS-20030121/src/gdb/gdbserver/configure.in
--- gdb+dejagnu-weekly-CVS-20030121.orig/src/gdb/gdbserver/configure.in	2002-07-24 23:30:46.000000000 +0200
+++ gdb+dejagnu-weekly-CVS-20030121/src/gdb/gdbserver/configure.in	2003-01-22 19:03:35.000000000 +0100
@@ -30,7 +30,7 @@
 
 AC_HEADER_STDC
 
-AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
+AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h stdlib.h string.h dnl
 		 proc_service.h sys/procfs.h thread_db.h linux/elf.h unistd.h)
 
 . ${srcdir}/configure.srv

       reply	other threads:[~2003-01-22 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200301221743.h0MHhUc29957@duracef.shout.net>
2003-01-22 18:26 ` Peter Breitenlohner [this message]
2003-01-22 18:30   ` Peter Breitenlohner

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=Pine.LNX.4.50.0301221920290.4506-200000@pcl321.mppmu.mpg.de \
    --to=peb@mppmu.mpg.de \
    --cc=bug-gdb@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    /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