[OpenIndiana-discuss] gdb debugger
Reginald Beardsley
pulaskite at yahoo.com
Sun Nov 16 14:27:50 UTC 2025
I did the full update and installed gdb.
root at hipster:~# pkg install gdb
Packages to install: 3
Services to change: 1
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 3/3 169/169 7.4/7.4 514k/s
PHASE ITEMS
Installing new actions 247/247
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
root at hipster:~# beadm list
BE Active Mountpoint Space Policy Created
2021-04-30 - - 153.33M static 2021-06-20 01:22
test - - 50.34M static 2021-06-22 07:31
openindiana-2025:01:13 - - 123.00M static 2025-01-13 05:34
openindiana-2025:06:28 - - 34.55M static 2025-06-28 15:29
2025.10 - - 709.12K static 2025-11-14 10:34
openindiana-2025:11:14 NR / 25.75G static 2025-11-14 10:35
root at hipster:~#
We can afford to keep a mounted snapshot of the repository so that "pkg install <name>" works 5 months later without requiring a full update.
No branches. Just the IPS system works for more than 4 months. The current model breaks IPS every 4 months. That is nuts! It create a situation where lack of resources for a full upgrade can prevents loading the tools to find out why!
Mount the snapshots RO. It's not space intensive nor is it complex. It's a snapshot of the system mounted properly for IPS to work. Whatever "release" is installed provides a static repeatable image at any time in the future. In short:
"pkg install gdb" should *always* work and provide the gdb in the repository at the release point.
I should expect that it's clear how to implement the mounts, but if not let me know. I've transparently resolved mounts across multiple architectures.
If I have 2 systems with the same "release" installed, even if they are updated with a pkg install at different times, they should both be the same.
If an OI install is not reproducible then I see no reason to use or support it. I'm just moving onto this is as my primary system and asking if I should continue. It sat powered off for several years until this year. I used a Linux test machine for a while or a much older Hipster install.
Have Fun!Reg
More information about the openindiana-discuss
mailing list