haiku/headers/private
Augustin Cavalier 2c9560581b Debug Kit: Restore support for symbol lookup by remote memory access.
It's been broken since clone_area was changed to block cloning of
areas without B_CLONEABLE_AREA set on them. We here introduce a
B_DEBUG_MESSAGE_CLONE_AREA debug nub message, which clones the areas
of the debugged team for the debugger.

Also fix some bugs in SymbolLookup::_FindLoadedImageAt methods:
they didn't work properly when *next was NULL, so they would
always fail when iterating over the full list.

Note that this technically breaks libdebug.so and the debugger
protocol ABI. However, nothing out-of-tree that I know of uses
the private libdebug.so, and while GDB does use the debugger
protocol, it doesn't actually use any of the messages past
the first block, so it should still work after this.

Fixes #15251.

Change-Id: I71ccbee4afd17dae30d5dacbc7590d1e2175a90e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8821
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2025-01-13 18:03:52 +00:00
..
app app_server & libbe: Use server_read_only_memory for the colormap. 2025-01-06 23:39:39 -05:00
audio
binary_compatibility
bluetooth
debug Debug Kit: Restore support for symbol lookup by remote memory access. 2025-01-13 18:03:52 +00:00
debugger
device
drivers
file_systems file_systems/QueryParser: Don't try to read the key size of invalid indexes. 2024-12-10 16:28:28 -05:00
firewire
fs_shell LinkedLists: Rename MoveFrom method to TakeFrom. 2024-12-11 19:09:25 +00:00
graphics
i2c
index_server
input
interface app_server & libbe: Use server_read_only_memory for the colormap. 2025-01-06 23:39:39 -05:00
kernel runtime_loader: Resize heap areas instead of creating new ones. 2025-01-07 17:30:29 -05:00
libroot
locale
mail
media
midi
mount
net network: Let modules process all ancillary data at once, and adjust UNIX. 2024-11-05 15:23:24 -05:00
netservices
netservices2
notification
package Package Kit & packagefs: Allocate scratch buffers for decompression further up. 2024-12-30 19:04:10 +00:00
preferences
print
runtime_loader
screen_saver
shared
storage BDiskSystemAddOn: Remove the Flags field. 2024-12-19 16:34:16 -05:00
support Package Kit & packagefs: Allocate scratch buffers for decompression further up. 2024-12-30 19:04:10 +00:00
syslog_daemon
system POSIX: add pthread_getcpuclockid() 2024-12-17 09:45:13 +00:00
textencoding
tracker Tracker: Commands.h (and tracker_private.h) updates 2024-10-17 16:21:51 +00:00
usb_vision
userlandfs
virtio
vmdk
wmi