Mailinglist Archive: opensuse-commit (1426 mails)
| < Previous | Next > |
commit gdb
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Tue, 06 Mar 2007 09:04:11 +0100
- Message-id: <20070306080411.741F4678185@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package gdb
checked in at Tue Mar 6 09:04:11 CET 2007.
--------
--- gdb/gdb.changes 2007-01-11 18:29:26.000000000 +0100
+++ /mounts/work_src_done/STABLE/gdb/gdb.changes 2007-03-05 22:06:14.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Mar 5 22:06:00 CET 2007 - schwab@xxxxxxx
+
+- Remove obsolete patch.
+- Fix show endian.
+
+-------------------------------------------------------------------
Old:
----
ppc64-fdesc.diff
New:
----
show-endian.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gdb.spec ++++++
--- /var/tmp/diff_new_pack.d27484/_old 2007-03-06 09:03:57.000000000 +0100
+++ /var/tmp/diff_new_pack.d27484/_new 2007-03-06 09:03:57.000000000 +0100
@@ -21,7 +21,7 @@
Autoreqprov: on
PreReq: %{install_info_prereq}
Version: 6.6
-Release: 8
+Release: 13
Summary: The GNU Debugger
Source: gdb-%{version}.tar.bz2
Patch1: gdb-misc.patch
@@ -36,9 +36,9 @@
Patch11: loader_break.diff
Patch12: ppc-long-double.diff
Patch13: lr-frame-offset.diff
-Patch14: ppc64-fdesc.diff
Patch15: solib-extract-address.diff
Patch16: pc-regnum.diff
+Patch17: show-endian.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -81,9 +81,9 @@
cd ..
%patch12
%patch13 -p1
-%patch14
%patch15
%patch16
+%patch17 -p1
%build
CFLAGS="$RPM_OPT_FLAGS" \
@@ -96,7 +96,7 @@
%endif
--with-separate-debug-dir=%{_prefix}/lib/debug \
--enable-64-bit-bfd --disable-werror \
- --enable-tui %{_target_cpu}-suse-linux
+ --host=%{_target_cpu}-suse-linux
make %{?jobs:-j%jobs}
make info
make -k check || :
@@ -138,7 +138,10 @@
%{_mandir}/man1/gdbserver.1.gz
%endif
-%changelog -n gdb
+%changelog
+* Mon Mar 05 2007 - schwab@xxxxxxx
+- Remove obsolete patch.
+- Fix show endian.
* Thu Jan 11 2007 - schwab@xxxxxxx
- Fix unchecked use of PC_REGNUM.
* Wed Dec 20 2006 - schwab@xxxxxxx
++++++ mst-solib-trampoline.diff ++++++
--- /var/tmp/diff_new_pack.d27484/_old 2007-03-06 09:03:59.000000000 +0100
+++ /var/tmp/diff_new_pack.d27484/_new 2007-03-06 09:03:59.000000000 +0100
@@ -1,11 +1,11 @@
--- gdb/minsyms.c
+++ gdb/minsyms.c
-@@ -490,6 +490,8 @@
- don't fill the bfd_section member, so don't
- throw away symbols on those platforms. */
- && SYMBOL_BFD_SECTION (&msymbol[hi]) != NULL
+@@ -486,6 +486,8 @@
+ /* If SECTION was specified, skip any symbol from
+ wrong section. */
+ if (section
+ /* Don't ignore symbols for solib trampolines. */
+ && MSYMBOL_TYPE (&msymbol[hi]) != mst_solib_trampoline
- && (!matching_bfd_sections
- (SYMBOL_BFD_SECTION (&msymbol[hi]), section)))
- {
+ /* Some types of debug info, such as COFF,
+ don't fill the bfd_section member, so don't
+ throw away symbols on those platforms. */
++++++ show-endian.diff ++++++
2007-01-20 Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
* arch-utils.c (show_endian): Correct reversed condition.
===================================================================
RCS file: /cvs/src/src/gdb/arch-utils.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- src/gdb/arch-utils.c 2007/01/13 23:24:43 1.138
+++ src/gdb/arch-utils.c 2007/01/20 18:31:29 1.139
@@ -322,7 +322,7 @@
show_endian (struct ui_file *file, int from_tty, struct cmd_list_element *c,
const char *value)
{
- if (target_byte_order_user != BFD_ENDIAN_UNKNOWN)
+ if (target_byte_order_user == BFD_ENDIAN_UNKNOWN)
if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
fprintf_unfiltered (file, _("The target endianness is set automatically "
"(currently big endian)\n"));
++++++ warn.patch ++++++
--- /var/tmp/diff_new_pack.d27484/_old 2007-03-06 09:03:59.000000000 +0100
+++ /var/tmp/diff_new_pack.d27484/_new 2007-03-06 09:03:59.000000000 +0100
@@ -255,379 +255,131 @@
typedef struct _trace_option_descriptor {
--- sim/ppc/ppc-instructions
+++ sim/ppc/ppc-instructions
-@@ -3958,7 +3958,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 2, 4, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- double product; /*HACK! - incorrectly loosing precision ... */
-+ union { double d; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -3966,7 +3966,7 @@
+@@ -3965,12 +3965,14 @@
+ fpscr_vxsnan | fpscr_vximz,
0, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -3974,16 +3974,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.d = *(double*)frA * *(double*)frC;
- }
- /* compute the add */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.d, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 0, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.d, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -3991,7 +3991,7 @@
- }
- else {
- /*HACK!*/
-- double s = product + *(double*)frB;
-+ double s = product.d + *(double*)frB;
- *(double*)frT = s;
- }
- FPSCR_END(Rc);
-@@ -4003,7 +4003,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- float product; /*HACK! - incorrectly loosing precision ... */
-+ union { float f; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4011,7 +4011,7 @@
+@@ -4010,12 +4012,14 @@
+ fpscr_vxsnan | fpscr_vximz,
1, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4019,16 +4019,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.f = *(double*)frA * *(double*)frC;
- }
- /* compute the add */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.f, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 1, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.f, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4036,7 +4036,7 @@
- }
- else {
- /*HACK!*/
-- float s = product + *(double*)frB;
-+ float s = product.f + *(double*)frB;
- *(double*)frT = (double)s;
- }
- FPSCR_END(Rc);
-@@ -4048,7 +4048,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 2, 4, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- double product; /*HACK! - incorrectly loosing precision ... */
-+ union { double d; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4056,7 +4056,7 @@
+@@ -4055,12 +4059,14 @@
+ fpscr_vxsnan | fpscr_vximz,
0, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4064,16 +4064,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.d = *(double*)frA * *(double*)frC;
- }
- /* compute the subtract */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.d, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 0, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.d, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4081,7 +4081,7 @@
- }
- else {
- /*HACK!*/
-- double s = product - *(double*)frB;
-+ double s = product.d - *(double*)frB;
- *(double*)frT = s;
- }
- FPSCR_END(Rc);
-@@ -4093,7 +4093,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- float product; /*HACK! - incorrectly loosing precision ... */
-+ union { float f; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4101,7 +4101,7 @@
+@@ -4100,12 +4106,14 @@
+ fpscr_vxsnan | fpscr_vximz,
1, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4109,16 +4109,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.f = *(double*)frA * *(double*)frC;
- }
- /* compute the subtract */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.f, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 1, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.f, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4126,7 +4126,7 @@
- }
- else {
- /*HACK!*/
-- float s = product - *(double*)frB;
-+ float s = product.f - *(double*)frB;
- *(double*)frT = (double)s;
- }
- FPSCR_END(Rc);
-@@ -4138,7 +4138,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 2, 4, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- double product; /*HACK! - incorrectly loosing precision ... */
-+ union { double d; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4146,7 +4146,7 @@
+@@ -4145,12 +4153,14 @@
+ fpscr_vxsnan | fpscr_vximz,
0, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4154,16 +4154,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.d = *(double*)frA * *(double*)frC;
- }
- /* compute the add */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.d, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 0, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.d, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4171,7 +4171,7 @@
- }
- else {
- /*HACK!*/
-- double s = -(product + *(double*)frB);
-+ double s = -(product.d + *(double*)frB);
- *(double*)frT = s;
- }
- FPSCR_END(Rc);
-@@ -4183,7 +4183,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- float product; /*HACK! - incorrectly loosing precision ... */
-+ union { float f; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4191,7 +4191,7 @@
+@@ -4190,12 +4200,14 @@
+ fpscr_vxsnan | fpscr_vximz,
1, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4199,16 +4199,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.f = *(double*)frA * *(double*)frC;
- }
- /* compute the add */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.f, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 1, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.f, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4216,7 +4216,7 @@
- }
- else {
- /*HACK!*/
-- float s = -(product + *(double*)frB);
-+ float s = -(product.f + *(double*)frB);
- *(double*)frT = (double)s;
- }
- FPSCR_END(Rc);
-@@ -4228,7 +4228,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 2, 4, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- double product; /*HACK! - incorrectly loosing precision ... */
-+ union { double d; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4236,7 +4236,7 @@
+@@ -4235,12 +4247,14 @@
+ fpscr_vxsnan | fpscr_vximz,
0, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4244,16 +4244,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.d = *(double*)frA * *(double*)frC;
- }
- /* compute the subtract */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.d, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 0, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.d, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4261,7 +4261,7 @@
- }
- else {
- /*HACK!*/
-- double s = -(product - *(double*)frB);
-+ double s = -(product.d - *(double*)frB);
- *(double*)frT = s;
- }
- FPSCR_END(Rc);
-@@ -4273,7 +4273,7 @@
- *603e:PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- *604: PPC_UNIT_FPU, PPC_UNIT_FPU, 1, 3, 0
- FPSCR_BEGIN;
-- float product; /*HACK! - incorrectly loosing precision ... */
-+ union { float f; unsigned64 u; } product; /*HACK! - incorrectly loosing precision ... */
- /* compute the multiply */
- if (is_invalid_operation(processor, cia,
- *frA, *frC,
-@@ -4281,7 +4281,7 @@
+@@ -4280,12 +4294,14 @@
+ fpscr_vxsnan | fpscr_vximz,
1, /*single?*/
0) /*negate?*/) {
++ union { double d; unsigned64 u; } tmp;
invalid_arithemetic_operation(processor, cia,
- (unsigned64*)&product, *frA, 0, *frC,
-+ &product.u, *frA, 0, *frC,
++ &tmp.u, *frA, 0, *frC,
0, /*instruction_is_frsp*/
0, /*instruction_is_convert_to_64bit*/
0, /*instruction_is_convert_to_32bit*/
-@@ -4289,16 +4289,16 @@
+ 0); /*single-precision*/
++ product = tmp.d;
}
else {
/*HACK!*/
-- product = *(double*)frA * *(double*)frC;
-+ product.f = *(double*)frA * *(double*)frC;
- }
- /* compute the subtract */
- if (is_invalid_operation(processor, cia,
-- product, *frB,
-+ product.f, *frB,
- fpscr_vxsnan | fpscr_vxisi,
- 1, /*single?*/
- 0) /*negate?*/) {
- invalid_arithemetic_operation(processor, cia,
-- frT, product, *frB, 0,
-+ frT, product.f, *frB, 0,
- 0, /*instruction_is_frsp*/
- 0, /*instruction_is_convert_to_64bit*/
- 0, /*instruction_is_convert_to_32bit*/
-@@ -4306,7 +4306,7 @@
- }
- else {
- /*HACK!*/
-- float s = -(product - *(double*)frB);
-+ float s = -(product.f - *(double*)frB);
- *(double*)frT = (double)s;
- }
- FPSCR_END(Rc);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |