projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gdb: Convert language la_value_print field to a method
[deliverable/binutils-gdb.git]
/
sim
/
aarch64
/
memory.c
diff --git
a/sim/aarch64/memory.c
b/sim/aarch64/memory.c
index 50f4837186852041094b5d9ccd9da1dc8bd683e5..692c22608156ff38b1c0f0371180c5c3dca46a18 100644
(file)
--- a/
sim/aarch64/memory.c
+++ b/
sim/aarch64/memory.c
@@
-1,6
+1,6
@@
/* memory.c -- Memory accessor functions for the AArch64 simulator
/* memory.c -- Memory accessor functions for the AArch64 simulator
- Copyright (C) 2015-20
16
Free Software Foundation, Inc.
+ Copyright (C) 2015-20
20
Free Software Foundation, Inc.
Contributed by Red Hat.
Contributed by Red Hat.
@@
-25,11
+25,7
@@
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#include "bfd.h"
-#include "libbfd.h"
#include "libiberty.h"
#include "libiberty.h"
-#include "elf/internal.h"
-#include "elf/common.h"
#include "memory.h"
#include "simulator.h"
#include "memory.h"
#include "simulator.h"
@@
-164,10
+160,10
@@
aarch64_get_mem_ptr (sim_cpu *cpu, uint64_t address)
uint64_t
aarch64_get_heap_start (sim_cpu *cpu)
{
uint64_t
aarch64_get_heap_start (sim_cpu *cpu)
{
- uint64_t heap =
aarch64_get_sym_value (
"end");
+ uint64_t heap =
trace_sym_value (CPU_STATE (cpu),
"end");
if (heap == 0)
if (heap == 0)
- heap =
aarch64_get_sym_value (
"_end");
+ heap =
trace_sym_value (CPU_STATE (cpu),
"_end");
if (heap == 0)
{
heap = STACK_TOP - 0x100000;
if (heap == 0)
{
heap = STACK_TOP - 0x100000;
This page took
0.023397 seconds
and
4
git commands to generate.