[libav-devel] [PATCH] bugreports: Adjust gdb commands for newer gdb versions.

Diego Biurrun diego at biurrun.de
Sat May 19 15:09:16 CEST 2012


---
 src/bugreports |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/bugreports b/src/bugreports
index d481ea1..0c90f88 100644
--- a/src/bugreports
+++ b/src/bugreports
@@ -44,11 +44,20 @@ copy/paste the output into your bug report:
 <blockquote>
 <pre>
 bt
-disass $pc-32 $pc+32
+disass $pc-32,$pc+32
 info all-registers
 </pre>
 </blockquote>
 
+For gdb versions before 7.1, you need to employ a slightly different
+syntax for the above <code>disass</code> command:
+
+<blockquote>
+<pre>
+disass $pc-32 $pc+32
+</pre>
+</blockquote>
+
 <p>
 If gdb does not provide useful information please try to use
 <a href="http://valgrind.org">valgrind</a> to trace possible memory
-- 
1.7.1



More information about the libav-devel mailing list