summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorSpiritCroc <dev@spiritcroc.de>2020-02-20 16:15:19 +0100
committerSpiritCroc <dev@spiritcroc.de>2020-02-20 16:15:19 +0100
commitaba7fab93b0de56479c04e313f75eebd7e7d5769 (patch)
treeea58d7766bfdbcd4d1aa3c842fd540c0c5a58866 /scripts/gdb/linux/symbols.py
parent7d8883219cde3f0d993b6c87c180a9464b654d27 (diff)
parentd95bed04b9e6f49e0ff8454ed765b9e0ba1e8819 (diff)
Merge remote-tracking branch 'sony/aosp/LA.UM.7.1.r1' into q10.0-4.14q10.0-4.14
Change-Id: I130af189da62f8eaca8c732a2cf3d434b1c3f26d
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
-rw-r--r--scripts/gdb/linux/symbols.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gdb/linux/symbols.py b/scripts/gdb/linux/symbols.py
index 004b0ac7fa72..4644f1a83b57 100644
--- a/scripts/gdb/linux/symbols.py
+++ b/scripts/gdb/linux/symbols.py
@@ -99,7 +99,8 @@ lx-symbols command."""
attrs[n]['name'].string(): attrs[n]['address']
for n in range(int(sect_attrs['nsections']))}
args = []
- for section_name in [".data", ".data..read_mostly", ".rodata", ".bss"]:
+ for section_name in [".data", ".data..read_mostly", ".rodata", ".bss",
+ ".text", ".text.hot", ".text.unlikely"]:
address = section_name_to_address.get(section_name)
if address:
args.append(" -s {name} {addr}".format(