projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aec338d
)
linux-user: Show heap address in /proc/pid/maps
author
Richard Henderson
<richard.henderson@linaro.org>
Wed, 16 Aug 2023 17:33:28 +0000
(10:33 -0700)
committer
Richard Henderson
<richard.henderson@linaro.org>
Fri, 1 Sep 2023 20:34:22 +0000
(13:34 -0700)
Tested-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 0b91f996b71b25c629adef4c7298f9f48da24322..0641d8f4339a94d0011288f02e0c6123852faf0a 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-8125,6
+8125,8
@@
static void open_self_maps_4(const struct open_self_maps_data *d,
if (test_stack(start, end, info->stack_limit)) {
path = "[stack]";
+ } else if (start == info->brk) {
+ path = "[heap]";
}
/* Except null device (MAP_ANON), adjust offset for this fragment. */