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: introduce objfile text_section_offset and data_section_offset methods
[deliverable/binutils-gdb.git]
/
gdb
/
ctfread.c
diff --git
a/gdb/ctfread.c
b/gdb/ctfread.c
index bfca2703c55259f09dcec24c83412323a064509b..f3c067ee0b3255f037b25068d8af9f1c723c2358 100644
(file)
--- a/
gdb/ctfread.c
+++ b/
gdb/ctfread.c
@@
-1165,7
+1165,7
@@
get_objfile_text_range (struct objfile *of, int *tsize)
codes = bfd_get_section_by_name (abfd, ".text");
*tsize = codes ? bfd_section_size (codes) : 0;
- return of->
section_offsets[SECT_OFF_TEXT (of)]
;
+ return of->
text_section_offset ()
;
}
/* Start a symtab for OBJFILE in CTF format. */
This page took
0.023963 seconds
and
4
git commands to generate.