[#102393] [Ruby master Feature#17608] Compact and sum in one step — sawadatsuyoshi@...

Issue #17608 has been reported by sawa (Tsuyoshi Sawada).

13 messages 2021/02/04

[#102438] [Ruby master Bug#17619] if false foo=42; end creates a foo local variable set to nil — pkmuldoon@...

Issue #17619 has been reported by pkmuldoon (Phil Muldoon).

10 messages 2021/02/10

[#102631] [Ruby master Feature#17660] Expose information about which basic methods have been redefined — tenderlove@...

Issue #17660 has been reported by tenderlovemaking (Aaron Patterson).

9 messages 2021/02/27

[#102639] [Ruby master Misc#17662] The herdoc pattern used in tests does not syntax highlight correctly in many editors — eregontp@...

Issue #17662 has been reported by Eregon (Benoit Daloze).

13 messages 2021/02/27

[#102652] [Ruby master Bug#17664] Behavior of sockets changed in Ruby 3.0 to non-blocking — ciconia@...

Issue #17664 has been reported by ciconia (Sharon Rosner).

23 messages 2021/02/28

[ruby-core:102427] [Ruby master Feature#17615] Dump machine registers on RISC-V Linux

From: mame@...
Date: 2021-02-09 19:41:26 UTC
List: ruby-core #102427
Issue #17615 has been updated by mame (Yusuke Endoh).


Merged, thank you!

----------------------------------------
Feature #17615: Dump machine registers on RISC-V Linux
https://bugs.ruby-lang.org/issues/17615#change-90298

* Author: xtkoba (Tee KOBAYASHI)
* Status: Closed
* Priority: Normal
----------------------------------------
Dump every integer register that is either callee-saved or used for parameter passing on RISC-V Linux. An example output:
```
-- Machine register context ------------------------------------------------
  sp: 0x0000004001801550  s0: 0x00000040018015b0  s1: 0x0000004000004bb0
  a0: 0x0000000000000000  a1: 0x000000000000000b  a2: 0xffffffffffffffff
  a3: 0x000000000000000b  a4: 0x000000000000000b  a5: 0x0000000000003934
  a6: 0x0000004001ac2ebe  a7: 0x0000000000000081  s2: 0x00000040022a8058
  s3: 0x0000000000000000  s4: 0x0000000000000000  s5: 0x0000000000000000
  s6: 0x0000000000000000  s7: 0x0000000000000000  s8: 0x0000000000000000
  s9: 0x0000000000000000 s10: 0x0000000000000000 s11: 0x0000000000000000
```

A patch is attached for this purpose. Please consider merging it.

---Files--------------------------------
ruby-riscv-dump_machine_register.patch (2.2 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next