[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I'm debugging a Linux application with gdb running under emacs. My
application receives JPEG images that it caches in dynamically allocated
storage, telling me what it got, as in:
 Breakpoint 2, CINet::PostImg(int, int, lbuf) (this=0x805fa00, i=7,
 type=2, lBuf=
      {len = 9685, buf = 0x80d1a08 "????"}) at INet.cpp:435

I would like to write that 9685-byte block at 0x80d1a0a to a file and look
at it with a JPEG viewer. I haven't been able to find a promising command
combination for emacs and/or gbd to write off a binary block like that,
although it seems a reasonable thing to need sometimes.

Any help from you gurus to a grunt?

TIA.

 - John Mills
   john.m.mills at alum.mit.edu


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00275" href="msg00275.html">[ale] Q: How can I capture a binary block with emacs/gdb?</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00178.html">[ale] OT: Win98 + Infections</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00180.html">[ale] Sound problems in Debian 2.6 kernel</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00175.html">[ale] 	Testing. Ignore. Right, I know you won't. I just want to know,	can I post?</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00275.html">[ale] Q: How can I capture a binary block with emacs/gdb?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00179"><strong>Date</strong></a></li>
<li><a href="threads.html#00179"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>