<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/.gdbinit, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Remove nd_entry from NODE_GASGN and NODE_GVAR</title>
<updated>2023-08-22T22:59:54+00:00</updated>
<author>
<name>yui-knk</name>
<email>spiketeika@gmail.com</email>
</author>
<published>2023-08-22T09:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=00054de6b5ca65f87ca561f31daeb094442638fc'/>
<id>00054de6b5ca65f87ca561f31daeb094442638fc</id>
<content type='text'>
After a0f12a0258e4020bd657ee80b7d8f22bd33ea223 NODE_GASGN and
NODE_GVAR hold same value on both nd_vid and nd_entry.
This commit stops setting value to nd_entry and makes to use only
nd_vid.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After a0f12a0258e4020bd657ee80b7d8f22bd33ea223 NODE_GASGN and
NODE_GVAR hold same value on both nd_vid and nd_entry.
This commit stops setting value to nd_entry and makes to use only
nd_vid.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix broken wiki links (#8002)</title>
<updated>2023-06-29T21:00:40+00:00</updated>
<author>
<name>Jemma Issroff</name>
<email>jemmaissroff@gmail.com</email>
</author>
<published>2023-06-29T21:00:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=1272865a8ee948816ee9f5484f8adba8e26f45e2'/>
<id>1272865a8ee948816ee9f5484f8adba8e26f45e2</id>
<content type='text'>
Since [Misc #19679] migrated the wiki, these links should be updated
to their new locations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since [Misc #19679] migrated the wiki, these links should be updated
to their new locations.</pre>
</div>
</content>
</entry>
<entry>
<title>Expand tabs in .gdbinit</title>
<updated>2023-03-31T07:52:47+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-03-31T07:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a57270a8488dc7faaeb9fd62a2c4368a8cb703bf'/>
<id>a57270a8488dc7faaeb9fd62a2c4368a8cb703bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Put misc/gdb.py [experimental]</title>
<updated>2023-03-31T07:20:40+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-03-31T06:57:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9f426491ca5250084174d2a16855cce041ca1cee'/>
<id>9f426491ca5250084174d2a16855cce041ca1cee</id>
<content type='text'>
This works like:

```
(gdb) cfp
CFP (count=3, addr=0x7ffff73fef50):
$1 = {pc = 0x555556bf7818, sp = 0x7ffff72ff078, iseq = 0x7ffff2603270, self = 140737344619296, ep = 0x7ffff72ff058, block_code = 0x0,
  __bp__ = 0x7ffff72ff060, jit_return = 0x555558c2b000}

Stack (size=3):
[0] FIXNUM: 1
[1] T_STRING: "" bytesize:0 (embed) encoding:1 coderange:7bit $2 = (struct RString *) 0x7ffff249ea80
[2] [PROMOTED] T_OBJECT: $3 = {flags = 21474844769, klass = 140737344040416}
$4 = {0x24, 0x24, 0x24}

(gdb) cfp + 1
CFP (count=3, addr=0x7ffff73fef90):
$5 = {pc = 0x5555567a78f8, sp = 0x7ffff72ff040, iseq = 0x7ffff26032d0, self = 140737344619296, ep = 0x7ffff72ff038, block_code = 0x0,
  __bp__ = 0x7ffff72ff040, jit_return = 0x555558c2b000}

Stack (size=0):
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works like:

```
(gdb) cfp
CFP (count=3, addr=0x7ffff73fef50):
$1 = {pc = 0x555556bf7818, sp = 0x7ffff72ff078, iseq = 0x7ffff2603270, self = 140737344619296, ep = 0x7ffff72ff058, block_code = 0x0,
  __bp__ = 0x7ffff72ff060, jit_return = 0x555558c2b000}

Stack (size=3):
[0] FIXNUM: 1
[1] T_STRING: "" bytesize:0 (embed) encoding:1 coderange:7bit $2 = (struct RString *) 0x7ffff249ea80
[2] [PROMOTED] T_OBJECT: $3 = {flags = 21474844769, klass = 140737344040416}
$4 = {0x24, 0x24, 0x24}

(gdb) cfp + 1
CFP (count=3, addr=0x7ffff73fef90):
$5 = {pc = 0x5555567a78f8, sp = 0x7ffff72ff040, iseq = 0x7ffff26032d0, self = 140737344619296, ep = 0x7ffff72ff038, block_code = 0x0,
  __bp__ = 0x7ffff72ff040, jit_return = 0x555558c2b000}

Stack (size=0):
```
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ivar dump for RVARGC in .gdbinit</title>
<updated>2023-03-31T06:58:09+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-03-31T06:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f500df097f7f191b54d82dd6cace7ede718ce624'/>
<id>f500df097f7f191b54d82dd6cace7ede718ce624</id>
<content type='text'>
It was crashing with:
No symbol "ROBJECT_EMBED_LEN_MAX" in current context.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was crashing with:
No symbol "ROBJECT_EMBED_LEN_MAX" in current context.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a warning in .gdbinit</title>
<updated>2023-01-09T22:29:18+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2023-01-09T22:29:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0247ccddabd5305eeff09411c503125c31d4e0cd'/>
<id>0247ccddabd5305eeff09411c503125c31d4e0cd</id>
<content type='text'>
Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated.
Use 'set logging enabled on'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Warning: 'set logging on', an alias for the command 'set logging enabled', is deprecated.
Use 'set logging enabled on'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix gdb incompatibilies in rp_class, rb_ps_vm</title>
<updated>2022-08-20T03:24:37+00:00</updated>
<author>
<name>nick evans</name>
<email>nicholas.evans@gmail.com</email>
</author>
<published>2022-04-03T13:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=01e8d393bc06d8658ce04a042766cc8c0b5c108b'/>
<id>01e8d393bc06d8658ce04a042766cc8c0b5c108b</id>
<content type='text'>
Other changes are needed to bring .gdbinit up-to-date with current ruby.
It looks like lldb is the preferred approach now, and that config *is*
being kept up-to-date.  Still, this might be helpful to someone?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Other changes are needed to bring .gdbinit up-to-date with current ruby.
It looks like lldb is the preferred approach now, and that config *is*
being kept up-to-date.  Still, this might be helpful to someone?
</pre>
</div>
</content>
</entry>
<entry>
<title>.gdbinit: Fix indentation in print_id [ci skip]</title>
<updated>2021-02-06T18:03:40+00:00</updated>
<author>
<name>Adam Jensen</name>
<email>acjensen@gmail.com</email>
</author>
<published>2021-02-06T16:07:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=132e01a1c3ada1fe31559f8b2a3bf7106406f6d2'/>
<id>132e01a1c3ada1fe31559f8b2a3bf7106406f6d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kill OBJ_TAINT etc.</title>
<updated>2021-01-27T00:30:15+00:00</updated>
<author>
<name>卜部昌平</name>
<email>shyouhei@ruby-lang.org</email>
</author>
<published>2021-01-20T01:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0300dec32b5a25b409dc5dfa59b81f4e39fab501'/>
<id>0300dec32b5a25b409dc5dfa59b81f4e39fab501</id>
<content type='text'>
Now that RUBY_FL_TAINT is recycled to become new RUBY_FL_SHAREABLE.
Setting/clearing this flag from extension libraries break Ractor.
Especially problematic one is OBJ_INFECT, which would make non-shareable
objects travel across Ractor boundaries.

Such operations should just be prohibited.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that RUBY_FL_TAINT is recycled to become new RUBY_FL_SHAREABLE.
Setting/clearing this flag from extension libraries break Ractor.
Especially problematic one is OBJ_INFECT, which would make non-shareable
objects travel across Ractor boundaries.

Such operations should just be prohibited.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add T_MOVED to rp command of GDB</title>
<updated>2020-12-04T16:43:32+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2020-12-04T15:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d7cda3b0024d82d9c921382b7095a31c866fa857'/>
<id>d7cda3b0024d82d9c921382b7095a31c866fa857</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
