projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts/gdb: fix debugging modules compiled with hot/cold partitioning
[linux-2.6-microblaze.git]
/
scripts
/
gdb
/
linux
/
symbols.py
diff --git
a/scripts/gdb/linux/symbols.py
b/scripts/gdb/linux/symbols.py
index
7b7c2fa
..
be984aa
100644
(file)
--- 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 = []
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(
address = section_name_to_address.get(section_name)
if address:
args.append(" -s {name} {addr}".format(