Hello community,

here is the log from the commit of package crash for openSUSE:Factory checked 
in at 2014-06-24 15:15:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crash (Old)
 and      /work/SRC/openSUSE:Factory/.crash.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crash"

Changes:
--------
--- /work/SRC/openSUSE:Factory/crash/crash.changes      2014-05-17 
21:43:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2014-06-24 
15:16:04.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jun 12 17:07:12 UTC 2014 - [email protected]
+
+- crash-keep-file-orig-with-name-on-select.patch Fix the namelist
+  selection for gdb to have background state used to select file
+  to delete for expansion of compressed file (bnc#877367)
+
+-------------------------------------------------------------------

New:
----
  crash-keep-file-orig-with-name-on-select.patch

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

Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.EaucRM/_old  2014-06-24 15:16:05.000000000 +0200
+++ /var/tmp/diff_new_pack.EaucRM/_new  2014-06-24 15:16:05.000000000 +0200
@@ -80,6 +80,7 @@
 Patch13:        %{name}-patch-gdb.patch
 Patch14:        %{name}-x86_64-nested-nmi.patch
 Patch15:        %{name}_enable_snappy_support.patch
+Patch16:        %{name}-keep-file-orig-with-name-on-select.patch
 Patch90:        %{name}-sial-ps-2.6.29.diff
 BuildRequires:  bison
 BuildRequires:  flex
@@ -272,6 +273,7 @@
 %if %{have_snappy}
 %patch15 -p1
 %endif
+%patch16 -p1
 ## GDB patches
 for f in %{S:100} %{S:101} %{S:102} %{S:103} %{S:104} \
        %{S:105} %{S:106} %{S:107} %{S:108} %{S:109} ; do

++++++ crash-keep-file-orig-with-name-on-select.patch ++++++
From: David Mair <[email protected]>
Subject: Make sure not to delete vmlinux file
References: bnc#877367
Patch-mainline: not yet

---
 symbols.c |    7 +++++++
 1 file changed, 7 insertions(+)

--- a/symbols.c
+++ b/symbols.c
@@ -3346,6 +3346,7 @@ int
 select_namelist(char *new)
 {
        struct stat stat1, stat2;
+       char *namecp;
 
        if (pc->server_namelist) {
                pc->namelist_debug = new;
@@ -3359,6 +3360,12 @@ select_namelist(char *new)
 
        if (stat1.st_size > stat2.st_size) {
                pc->namelist_debug = pc->namelist;
+               if (pc->namelist_orig)
+               {
+                       namecp = pc->namelist_debug_orig;
+                       pc->namelist_debug_orig = pc->namelist_orig;
+                       pc->namelist_orig = namecp;
+               }
                pc->namelist = new;             
        } else if (stat2.st_size > stat1.st_size) 
                pc->namelist_debug = new;
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to