<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/misc/lldb_rb, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Get rid of FL_EXIVAR</title>
<updated>2025-06-13T21:50:30+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2025-06-13T15:56:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=15084fbc3c10d21769dd61cd1cd55b2662fa8845'/>
<id>15084fbc3c10d21769dd61cd1cd55b2662fa8845</id>
<content type='text'>
Now that the shape_id gives us all the same information, it's no
longer needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the shape_id gives us all the same information, it's no
longer needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Always look for the top-level RBasic in LLDB scripts</title>
<updated>2025-04-15T02:50:48+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-04-10T13:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e1f544c1cf34787f139a973b934c9f535b201ea3'/>
<id>e1f544c1cf34787f139a973b934c9f535b201ea3</id>
<content type='text'>
`rp` and other commands were broken for me because they always showed
the object as a T_NONE.

The reason was that instead of returning the type `struct RBasic`,
FindFirstType("struct RBasic") was returning
`yjit::cruby::autogened::RBasic`.

Explicitly asking for the top-level RBasic by prefixing it with `::` is
enough to fix those commands.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`rp` and other commands were broken for me because they always showed
the object as a T_NONE.

The reason was that instead of returning the type `struct RBasic`,
FindFirstType("struct RBasic") was returning
`yjit::cruby::autogened::RBasic`.

Explicitly asking for the top-level RBasic by prefixing it with `::` is
enough to fix those commands.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix LLDB heap_page command</title>
<updated>2025-04-15T02:50:48+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-04-10T13:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6e184ebb5aa0461936a6db408a7fa48541a0e80d'/>
<id>6e184ebb5aa0461936a6db408a7fa48541a0e80d</id>
<content type='text'>
Move _append_command_output and _append_expression to LLDBInterface, and
use it from HeapPageCommand after setting result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move _append_command_output and _append_expression to LLDBInterface, and
use it from HeapPageCommand after setting result.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lldb debug scripts (#13048)</title>
<updated>2025-04-08T16:52:49+00:00</updated>
<author>
<name>Eileen</name>
<email>eileencodes@users.noreply.github.com</email>
</author>
<published>2025-04-08T16:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5aa05f179c028981950cb5f40112ce058c5a40cd'/>
<id>5aa05f179c028981950cb5f40112ce058c5a40cd</id>
<content type='text'>
In ruby/ruby#13008 `RVALUE` was removed without replacement. This means
the lldb scripts that relied on `RVALUE` stopped working.

I updated the ones that were using it just for the bytesize to use
`slot_size` and then round to the nearest power of 40. We can't use
`slot_size` directly because in debug mode it's `48` but `RVALUE` is
`40` bytes.

For the `as_type` method, I updated it to check the type. It's only used
for `bignum` and `array` so that's a simple change.

Lastly, for the `dump_page` method I replaced it with `struct free_slot`
since that's looking at the freelist.

`struct RVALUE` has been removed from all the scripts and I verified
that `rp` is fixed. I'm not confident the `dump_page` method is fixed,
the freelist looks off, but for now this gets us closer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In ruby/ruby#13008 `RVALUE` was removed without replacement. This means
the lldb scripts that relied on `RVALUE` stopped working.

I updated the ones that were using it just for the bytesize to use
`slot_size` and then round to the nearest power of 40. We can't use
`slot_size` directly because in debug mode it's `48` but `RVALUE` is
`40` bytes.

For the `as_type` method, I updated it to check the type. It's only used
for `bignum` and `array` so that's a simple change.

Lastly, for the `dump_page` method I replaced it with `struct free_slot`
since that's looking at the freelist.

`struct RVALUE` has been removed from all the scripts and I verified
that `rp` is fixed. I'm not confident the `dump_page` method is fixed,
the freelist looks off, but for now this gets us closer.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove RUBY_FL_PROMOTED{0,1} from debugger scripts</title>
<updated>2025-03-28T16:36:24+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-03-27T15:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=332f5d0b73cffb07c3e0002d31cc2c5d1b3fac1c'/>
<id>332f5d0b73cffb07c3e0002d31cc2c5d1b3fac1c</id>
<content type='text'>
These flags were removed in d426343418aab6148706860bd1678ac309dc12c0 and
print_flags is broken because of it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These flags were removed in d426343418aab6148706860bd1678ac309dc12c0 and
print_flags is broken because of it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make interchangeable NODE types aliases</title>
<updated>2024-06-02T00:43:33+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-27T09:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cedc7737b6a614de1ee2aaa8d66bbca217d9fa8f'/>
<id>cedc7737b6a614de1ee2aaa8d66bbca217d9fa8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lldb: Show coderange</title>
<updated>2024-05-28T07:23:18+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-28T07:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=43798e0f6d72a8f1c624eba74c4a068ff9b21c84'/>
<id>43798e0f6d72a8f1c624eba74c4a068ff9b21c84</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dump of NODE [ci skip]</title>
<updated>2024-05-16T12:25:52+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-05-16T12:25:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d076101af93b28beff15eaa1fcb92ce4f070e9cc'/>
<id>d076101af93b28beff15eaa1fcb92ce4f070e9cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>NODE_LIT is not used anymore</title>
<updated>2024-04-04T04:17:26+00:00</updated>
<author>
<name>yui-knk</name>
<email>spiketeika@gmail.com</email>
</author>
<published>2024-04-03T22:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f057741c5dd6fdc25926c2f16fc6e936eeec5fd1'/>
<id>f057741c5dd6fdc25926c2f16fc6e936eeec5fd1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Show the chilled status of a String [ci skip]</title>
<updated>2024-03-25T05:33:20+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-03-25T05:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e720a6b48582900efd1bd326210644b2fc0f2c5d'/>
<id>e720a6b48582900efd1bd326210644b2fc0f2c5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
