From d64e29bbb5fb4137b1022a6831d1967be13b6ab0ac4ab1c258a6d99ad34b56c6 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Tue, 7 Oct 2008 13:57:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdb?expand=0&rev=44 --- gdb.changes | 5 +++++ gdb.spec | 4 +++- pie-relocate.diff | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb.changes b/gdb.changes index d76ea1b..b987a61 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 7 15:00:24 CEST 2008 - schwab@suse.de + +- Fix crash. + ------------------------------------------------------------------- Wed Sep 24 14:23:01 CEST 2008 - schwab@suse.de diff --git a/gdb.spec b/gdb.spec index ebddca1..0027d00 100644 --- a/gdb.spec +++ b/gdb.spec @@ -20,7 +20,7 @@ Name: gdb Summary: The GNU Debugger Version: 6.8.50.20080924 -Release: 1 +Release: 2 BuildRequires: bison dejagnu flex gcc-c++ gcc-fortran gcc-java gcc-objc python-devel readline-devel zlib-devel %if 0%{?suse_version} > 1020 BuildRequires: libexpat-devel @@ -201,6 +201,8 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Tue Oct 07 2008 schwab@suse.de +- Fix crash. * Wed Sep 24 2008 schwab@suse.de - Update to head of trunk. - Add POWER7 support. diff --git a/pie-relocate.diff b/pie-relocate.diff index 5a2c4b9..fcc0cf9 100644 --- a/pie-relocate.diff +++ b/pie-relocate.diff @@ -41,7 +41,7 @@ + if ((b->type == bp_breakpoint + || b->type == bp_hardware_breakpoint) + && b->enable_state == bp_enabled -+ && !b->loc->duplicate) ++ && b->loc && !b->loc->duplicate) + { + b->enable_state = bp_startup_disabled; + if (!silent)