TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Improving GDB register model compatibility in LLDB

49 点作者 fcambus超过 3 年前

2 条评论

userbinator超过 3 年前
As someone who started in the DOS&#x2F;Windows world, both GDB and (especially) LLDB feel very awkward to use and those screenshots show a few good examples of why: in DEBUG&#x2F;WinDbg&#x2F;cdb the command to show the registers is simply &#x27;r&#x27;, and more than one register is shown on a line so you don&#x27;t have to scroll up and down to read them all. No &quot;0x&quot; prefixes adding noise everywhere since the default is hex, nor extraneous &#x27;*&#x27; needed when setting breakpoints. A disassemble (&#x27;u&#x27;) command that does what you expect instead of complaining (<a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;39016138&#x2F;how-to-force-gdb-to-disassemble-code-when-it-says-no-function-contains-program" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;39016138&#x2F;how-to-force-gd...</a>). LLDB is even more verbose and perplexing. I could go on and on, but all these little things add up to make debugging with them extremely irritating. There&#x27;s a classic quote about GDB being written to make you think twice about introducing bugs in your code, and I think whoever said that has a point...
评论 #28656834 未加载
评论 #28655881 未加载
评论 #28655394 未加载
jes超过 3 年前
How well supported is lldb (1) from within GNU Emacs on macOS?