Mailinglist Archive: opensuse-commit (1419 mails)

< Previous Next >
commit gdb
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 21 May 2008 23:42:57 +0200
  • Message-id: <20080521214258.3AB0567816D@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package gdb
checked in at Wed May 21 23:42:57 CEST 2008.


--------
--- gdb/gdb.changes 2008-05-09 14:44:55.000000000 +0200
+++ gdb/gdb.changes 2008-05-21 10:39:48.000000000 +0200
@@ -1,0 +2,5 @@
+Wed May 21 10:39:41 CEST 2008 - schwab@xxxxxxx
+
+- Fix assertion failure.
+
+-------------------------------------------------------------------



New:
----
get-prev-frame-1.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gdb.spec ++++++
--- /var/tmp/diff_new_pack.T30996/_old 2008-05-21 23:41:51.000000000 +0200
+++ /var/tmp/diff_new_pack.T30996/_new 2008-05-21 23:41:51.000000000 +0200
@@ -30,7 +30,7 @@
PreReq: %{install_info_prereq}
Summary: The GNU Debugger
Version: 6.8
-Release: 14
+Release: 19
%define sss %{nil}
Source: gdb-%{version}%{sss}.tar.bz2
Patch1: find-pc-sect-line.diff
@@ -43,6 +43,7 @@
Patch8: infcall.diff
Patch9: examine-prologue.diff
Patch10: watchpoints.diff
+Patch11: get-prev-frame-1.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
@@ -76,7 +77,7 @@
AutoReqProv: on
Provides: gdb:/usr/bin/gdbserver
Version: 6.8
-Release: 1
+Release: 6

%description -n gdbserver
GDBSERVER is a program that allows you to run GDB on a different
@@ -114,6 +115,7 @@
%patch8 -p1
%patch9
%patch10
+%patch11 -p1

%build
CFLAGS="$RPM_OPT_FLAGS" \
@@ -175,6 +177,8 @@
%endif

%changelog
+* Wed May 21 2008 schwab@xxxxxxx
+- Fix assertion failure.
* Fri May 09 2008 schwab@xxxxxxx
- Split off gdbserver.
- Fix watchpoints.


++++++ get-prev-frame-1.diff ++++++
2008-05-20 Pedro Alves <pedro@xxxxxxxxxxxxxxxx>

* frame.c (get_prev_frame_1): Build frame id before setting
this_frame->prev_p, not after.

---
gdb/frame.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Index: src/gdb/frame.c
===================================================================
--- src.orig/gdb/frame.c 2008-05-20 22:41:07.000000000 +0100
+++ src/gdb/frame.c 2008-05-20 22:49:59.000000000 +0100
@@ -1179,13 +1179,17 @@ get_prev_frame_1 (struct frame_info *thi
}
return this_frame->prev;
}
+
+ /* If the frame id hasn't been built yet, it must be done before
+ setting a stop reason. */
+ this_id = get_frame_id (this_frame);
+
this_frame->prev_p = 1;
this_frame->stop_reason = UNWIND_NO_REASON;

/* Check that this frame's ID was valid. If it wasn't, don't try to
unwind to the prev frame. Be careful to not apply this test to
the sentinel frame. */
- this_id = get_frame_id (this_frame);
if (this_frame->level >= 0 && !frame_id_p (this_id))
{
if (frame_debug)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread