Module: libav.org
Branch: master
Commit: 02f8c8389a9fd7808b4aa44f3c0c32e3f87e7203

Author:    Diego Biurrun <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Fri May 18 20:40:31 2012 +0200

bugreports: Adjust gdb commands for newer gdb versions.

---

 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to