haiku/headers
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
..
build Errors.h: Add ESOCKTNOSUPPORT. 2025-01-08 11:35:35 -05:00
compatibility libroot: move memmem for POSIX.1/2024 2024-11-04 17:55:40 +00:00
config HaikuConfig: Don't define __HAIKU_BEOS_COMPATIBLE_TYPES in kernel mode. 2024-09-24 12:10:35 -04:00
cpp userlandfs: use std::bitset for FSCapabilities 2023-07-10 06:27:18 +00:00
glibc Make public glibc header printf.h usable. 2013-07-17 18:07:56 +02:00
libs udis86: remove 2024-07-17 19:11:50 +00:00
os Debug Kit: Restore support for symbol lookup by remote memory access. 2025-01-13 18:03:52 +00:00
posix POSIX: add pthread_getcpuclockid() 2024-12-17 09:45:13 +00:00
private Debug Kit: Restore support for symbol lookup by remote memory access. 2025-01-13 18:03:52 +00:00
tools cppunit: Enable CPPUNIT_HAVE_SSTREAM for the non-legacy GCC. 2022-03-29 19:09:38 -04:00