File: 0002_mplayer_debug_printf.patch

package info (click to toggle)
mplayer 2%3A1.5%2Bsvn38408-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 64,436 kB
  • sloc: ansic: 324,752; xml: 116,492; sh: 9,876; perl: 1,152; objc: 1,073; makefile: 1,006; cpp: 875; asm: 346; awk: 223; python: 98; cs: 10
file content (18 lines) | stat: -rw-r--r-- 748 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Reinhard Tartler <siretart@tauware.de>
Subject: in case of crash, suggest installing package mplayer-dbgsym for debugging symbols
Forwarded: not-needed

--- a/mplayer.c
+++ b/mplayer.c
@@ -824,7 +824,10 @@
         case SIGSEGV:
             mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGSEGV_SIGFPE);
         default:
-            mp_msg(MSGT_CPLAYER, MSGL_FATAL, MSGTR_Exit_SIGCRASH);
+            mp_msg(MSGT_CPLAYER, MSGL_FATAL,
+                  " [ This binary of MPlayer in Debian is currently compiled with\n"
+                  "   '--enable-debug'; the debugging symbols are in the package\n"
+                  "   'mplayer-dbgsym'.]\n");
 #ifdef CONFIG_CRASH_DEBUG
             if (crash_debug) {
                 int gdb_pid;