<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Gdbserver - 标签 - William</title>
    <link>https://williamlfang.github.io/tags/gdbserver/</link>
    <description>Gdbserver - 标签 | William</description>
    <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Thu, 02 Jul 2026 11:21:46 &#43;0800</lastBuildDate><atom:link href="https://williamlfang.github.io/tags/gdbserver/" rel="self" type="application/rss+xml" /><item>
  <title>gdb 编译代码与调试分离</title>
  <link>https://williamlfang.github.io/2026-07-02-gdb-%E7%BC%96%E8%AF%91%E4%BB%A3%E7%A0%81%E4%B8%8E%E8%B0%83%E8%AF%95%E5%88%86%E7%A6%BB/</link>
  <pubDate>Thu, 02 Jul 2026 11:21:46 &#43;0800</pubDate>
  <author>william</author>
  <guid>https://williamlfang.github.io/2026-07-02-gdb-%E7%BC%96%E8%AF%91%E4%BB%A3%E7%A0%81%E4%B8%8E%E8%B0%83%E8%AF%95%E5%88%86%E7%A6%BB/</guid>
  <description><![CDATA[Remote GDB Debugging with C++ — Source Code StrategiesWhen C++ code is compiled on a dev machine (A) and debugged on a target machine (B), GDB needs to find matching source files. Here are the options, from best to worst. 1. Best: Use gdbserver (no source copy to target)Run a thin gdbserver on the target; connect full GDB from the dev machine where sources live. 1 2 3 4 5]]></description>
</item>
</channel>
</rss>
