<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Gdb on kamuszhou&#39;s blog</title>
    <link>https://ykyi.net/tags/gdb/</link>
    <description>Recent content in Gdb on kamuszhou&#39;s blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 25 Dec 2013 05:17:38 +0000</lastBuildDate>
    <atom:link href="https://ykyi.net/tags/gdb/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>为什么dump生成core文件大小是0</title>
      <link>https://ykyi.net/?p=1099/</link>
      <pubDate>Wed, 25 Dec 2013 05:17:38 +0000</pubDate>
      <guid>https://ykyi.net/?p=1099/</guid>
      <description>&lt;p&gt;今天程序崩溃了，但是生成的core文件大小是0.&lt;/p&gt;
&lt;p&gt;用ulimit -c 查看生成core文件的大小限制是无限unlimited.&lt;/p&gt;
&lt;p&gt;也不是磁盘大小和写入权限的问题。&lt;/p&gt;
&lt;p&gt;但究竟是什么问题呢？&lt;/p&gt;
&lt;p&gt;捣了半天终于搞明白，原来是文件系统造成的。&lt;/p&gt;
&lt;p&gt;我是在vmware的虚拟机的debian linux上运行程序，文件系统用的是从host机windows 7挂载到/mnt/hgfs的windows的NTFS文件系统。&lt;/p&gt;
&lt;p&gt;后来我把程序转移动linux自己的文件系统，崩溃的时候就生成正常的core dump文件了。&lt;/p&gt;
&lt;p&gt;&lt;span style=&#34;color: rgb(0, 0, 0); font-family: Verdana, Geneva, sans-serif; font-size: 16px; line-height: 22px; background-color: rgb(244, 244, 244);&#34;&gt;copyright ykyi.net&lt;/span&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>如何从windows远程调试linux程序。</title>
      <link>https://ykyi.net/?p=1059/</link>
      <pubDate>Wed, 04 Dec 2013 03:29:06 +0000</pubDate>
      <guid>https://ykyi.net/?p=1059/</guid>
      <description>&lt;p class=&#34;p0&#34; data-mce-style=&#34;margin-top: 0pt; margin-bottom: 0pt; padding: 0px; border: 0px; font-size: 12px; font-family: Verdana, Geneva, sans-serif; vertical-align: baseline; line-height: 12pt; color: #000000; background-color: #f4f4f4;&#34; style=&#34;unicode-bidi: embed; margin: 0pt 0px; padding: 0px; border: 0px; font-family: Verdana, Geneva, sans-serif; vertical-align: baseline; line-height: 12pt; color: rgb(0, 0, 0); background-color: rgb(244, 244, 244);&#34;&gt;
  &lt;span data-mce-style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 16px; vertical-align: baseline;&#34; style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 16px; vertical-align: baseline;&#34;&gt;用gdb在远程linux机器上调试程序实在太不方便了。于是想到用eclipse的GUI调试。下面介绍&lt;span data-mce-style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 16px; vertical-align: baseline;&#34; style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; vertical-align: baseline;&#34;&gt;如何从windows&lt;span data-mce-style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 16px; vertical-align: baseline;&#34; style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; vertical-align: baseline;&#34;&gt;远程调试&lt;/span&gt;&lt;span data-mce-style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 16px; vertical-align: baseline;&#34; style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; vertical-align: baseline;&#34;&gt;linux&lt;/span&gt;&lt;span data-mce-style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; font-size: 16px; vertical-align: baseline;&#34; style=&#34;margin: 0px; padding: 0px; border: 0px; font-weight: inherit; font-style: inherit; vertical-align: baseline;&#34;&gt;程序。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
