From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Bobo <spiridenok@tut.by>
Cc: gdb <gdb@sourceware.org>
Subject: Re: Breakpoint in C++ class constructor is never reached
Date: Tue, 30 Oct 2007 14:13:00 -0000 [thread overview]
Message-ID: <1193753619.5787.229.camel@localhost.localdomain> (raw)
In-Reply-To: <web-421282098@speedy.tutby.com>
[-- Attachment #1: Type: text/plain, Size: 2133 bytes --]
Hi,
The patch hasn't been commited yet, so it won't appear in the snapshot.
In the meantime, you can use the attached patch in a recent GDB snapshot
with these commands:
$ cd gdb-6.7.50.20071030
$ patch -p1 < /path/to/attached/remove-gnuism.diff
This should get you a GDB source code tree which will build in your
environment.
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center
On Tue, 2007-10-30 at 11:53 +0200, Bobo wrote:
> Sorry i don't really know what "off-list a regenerated configure script"
> means and what i need to do with it to verify if the build problem is
> gone...
>
> Is there maybe a snapshot available with the latest changes of Thiago?
> (the latest snapshot version i can find on pub/gdb/snapshots/ is from 26 Oct
> 2007)
>
> Anyway, i would like to check if the build problem is solved. please let me
> know how i can do that.
>
> Sat, 27 Oct 2007 12:32:12 -0200, Thiago Jung Bauermann <bauerman@br.ibm.com>
>
> > On Fri, 2007-10-26 at 13:02 -0200, Thiago Jung Bauermann wrote:
> >> On Fri, 2007-10-26 at 16:50 +0200, Mark Kettenis wrote:
> >> > > Date: Fri, 26 Oct 2007 10:31:28 -0400
> >> > > From: Daniel Jacobowitz <drow@false.org>
> >> > > Oh dear. GCC requires GNU make, but GDB is not supposed to, I don't
> >> > > think. This is a new problem.
> >> >
> >> > I regularly build GDB with OpenBSD make, so yes this is new (and I'd
> >> > very much appreciate it if it got fixed).
> >>
> >> I will work on this ASAP.
> >
> > I just posted a patch to fix this. Sorry for the delay, it took me some
> > time to determine if I had copyright assignment to contribute to GCC.
> >
> > I tested the change with NetBSD's make, so I think the GNUisms are gone.
> > If this is not enough to fix your build problems, please let me know.
> >
> > I can send you off-list a regenerated configure script if you want to
> > test the patch and don't have autoconf 2.59 handy.
> > --
> > []'s
> > Thiago Jung Bauermann
> > Software Engineer
> > IBM Linux Technology Center
>
>
>
> ---------
> ÐÑе блоги - ÑÑÑ: http://blogs.tut.by/
>
[-- Attachment #2: remove-gnuism.diff --]
[-- Type: text/x-patch, Size: 4033 bytes --]
diff --git a/libdecnumber/Makefile.in b/libdecnumber/Makefile.in
index 98ae9ea..a2134da 100644
--- a/libdecnumber/Makefile.in
+++ b/libdecnumber/Makefile.in
@@ -50,19 +50,18 @@ libdir = @libdir@
localedir = $(datadir)/locale
prefix = @prefix@
+ADDITIONAL_OBJS = @ADDITIONAL_OBJS@
+
enable_decimal_float= @enable_decimal_float@
INCLUDES = -I$(srcdir) -I.
ALL_CFLAGS = $(CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(CPPFLAGS)
-libdecnumber_a_OBJS = decNumber.o decContext.o \
- decimal32.o decimal64.o decimal128.o
+bid_OBJS = bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o host-ieee128.o
-ifeq ($(enable_decimal_float),bid)
-libdecnumber_a_OBJS+=bid2dpd_dpd2bid.o host-ieee32.o host-ieee64.o \
- host-ieee128.o
-endif
+libdecnumber_a_OBJS = decNumber.o decContext.o \
+ decimal32.o decimal64.o decimal128.o $(ADDITIONAL_OBJS)
libdecnumber_a_SOURCES = decContext.c decContext.h decDPD.h \
decNumber.c decNumber.h decNumberLocal.h \
diff --git a/libdecnumber/configure b/libdecnumber/configure
index a105bb0..19ece0f 100755
--- a/libdecnumber/configure
+++ b/libdecnumber/configure
@@ -311,7 +311,7 @@ ac_includes_default="\
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR CPP EGREP MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os enable_decimal_float LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR CPP EGREP MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os enable_decimal_float ADDITIONAL_OBJS LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
@@ -7478,10 +7478,18 @@ if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
esac
fi
+# If BID is being used, additional objects should be linked in.
+if test x$enable_decimal_float = xbid; then
+ ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
+else
+ ADDITIONAL_OBJS=
+fi
+
echo "$as_me:$LINENO: result: $enable_decimal_float" >&5
echo "${ECHO_T}$enable_decimal_float" >&6
+
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
if test "${ac_cv_c_bigendian+set}" = set; then
@@ -8390,6 +8398,7 @@ s,@target_cpu@,$target_cpu,;t t
s,@target_vendor@,$target_vendor,;t t
s,@target_os@,$target_os,;t t
s,@enable_decimal_float@,$enable_decimal_float,;t t
+s,@ADDITIONAL_OBJS@,$ADDITIONAL_OBJS,;t t
s,@LIBOBJS@,$LIBOBJS,;t t
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
CEOF
diff --git a/libdecnumber/configure.ac b/libdecnumber/configure.ac
index 2a30707..01eb4ca 100644
--- a/libdecnumber/configure.ac
+++ b/libdecnumber/configure.ac
@@ -113,8 +113,16 @@ if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
esac
fi
+# If BID is being used, additional objects should be linked in.
+if test x$enable_decimal_float = xbid; then
+ ADDITIONAL_OBJS="$ADDITIONAL_OBJS \$(bid_OBJS)"
+else
+ ADDITIONAL_OBJS=
+fi
+
AC_MSG_RESULT($enable_decimal_float)
AC_SUBST(enable_decimal_float)
+AC_SUBST(ADDITIONAL_OBJS)
AC_C_BIGENDIAN
next prev parent reply other threads:[~2007-10-30 14:13 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 11:45 Bobo
2007-10-26 11:54 ` Daniel Jacobowitz
2007-10-26 12:18 ` Bobo
2007-10-26 12:21 ` Daniel Jacobowitz
2007-10-26 14:26 ` Bobo
[not found] ` <web-419222549@speedy.tutby.com>
2007-10-26 14:31 ` Daniel Jacobowitz
2007-10-26 14:51 ` Mark Kettenis
2007-10-26 14:59 ` Daniel Jacobowitz
2007-10-26 15:02 ` Thiago Jung Bauermann
2007-10-27 14:32 ` Thiago Jung Bauermann
2007-10-27 15:57 ` Mark Kettenis
2007-10-30 9:53 ` Bobo
2007-10-30 11:19 ` Daniel Jacobowitz
2007-10-30 13:50 ` Thiago Jung Bauermann
2007-10-30 14:13 ` Thiago Jung Bauermann [this message]
2007-10-31 8:10 ` Bobo
2007-10-31 19:06 ` Thiago Jung Bauermann
2007-11-05 9:01 ` Bobo
2007-11-06 20:12 ` Thiago Jung Bauermann
2007-11-07 8:31 ` Bobo
2007-11-07 20:34 ` Thiago Jung Bauermann
2007-11-08 8:27 ` Bobo
2007-11-08 14:58 ` Thiago Jung Bauermann
2007-11-08 15:05 ` Daniel Jacobowitz
2007-11-08 16:29 ` Bobo
2007-11-08 16:33 ` Daniel Jacobowitz
2007-11-09 7:38 ` Bobo
2007-11-09 14:02 ` Daniel Jacobowitz
2007-11-16 15:26 ` Bobo
2007-11-26 19:11 ` Thiago Jung Bauermann
2007-11-06 15:58 ` Gordon Prieur
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=1193753619.5787.229.camel@localhost.localdomain \
--to=bauerman@br.ibm.com \
--cc=gdb@sourceware.org \
--cc=spiridenok@tut.by \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).