Mercurial > mplayer.hg
comparison DOCS/bugreports.html @ 7818:be462f075d52
Obtain gdb information from non i386 machines.
patch by Wolfgang Thiess <wollet1@gmx.net>
author | diego |
---|---|
date | Sun, 20 Oct 2002 19:51:12 +0000 |
parents | 988498df1996 |
children | 8ceb8a8b7244 |
comparison
equal
deleted
inserted
replaced
7817:290ff15ece77 | 7818:be462f075d52 |
---|---|
201 | 201 |
202 <H4>How to extract meaningful information from a core dump</H4> | 202 <H4>How to extract meaningful information from a core dump</H4> |
203 | 203 |
204 <P>Please create the following command file:</P> | 204 <P>Please create the following command file:</P> |
205 | 205 |
206 <P><CODE>disass $eip-32 $eip+32<BR> | 206 <P><CODE>disass $pc-32 $pc+32<BR> |
207 printf "eax=%08lX\n",$eax<BR> | 207 info all-registers</CODE></P> |
208 printf "ebx=%08lX\n",$ebx<BR> | |
209 printf "ecx=%08lX\n",$ecx<BR> | |
210 printf "edx=%08lX\n",$edx<BR> | |
211 printf "esp=%08lX\n",$esp<BR> | |
212 printf "ebp=%08lX\n",$ebp<BR> | |
213 printf "edi=%08lX\n",$edi<BR> | |
214 printf "esi=%08lX\n",$esi</CODE></P> | |
215 | 208 |
216 <P>Then simply execute the following on your command line:</P> | 209 <P>Then simply execute the following on your command line:</P> |
217 | 210 |
218 <P> <CODE>gdb mplayer --core=core -batch --command=command_file > mplayer.bug</CODE></P> | 211 <P> <CODE>gdb mplayer --core=core -batch --command=command_file > mplayer.bug</CODE></P> |
219 | 212 |
235 | 228 |
236 and reproduce your crash. As soon as you did it, gdb will | 229 and reproduce your crash. As soon as you did it, gdb will |
237 return you to the command line prompt where you have to enter | 230 return you to the command line prompt where you have to enter |
238 | 231 |
239 <P><CODE> bt<BR> | 232 <P><CODE> bt<BR> |
240 disass $eip-32 $eip+32</CODE></P> | 233 disass $pc-32 $pc+32</CODE></P> |
241 | 234 |
242 and send the complete output to us. | 235 and send the complete output to us. |
243 | 236 |
244 | 237 |
245 <H3>General note</H3> | 238 <H3>General note</H3> |