diff options
Diffstat (limited to 'gdb/osfsolib.c')
-rw-r--r-- | gdb/osfsolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c index 7f0d1a5..843448a 100644 --- a/gdb/osfsolib.c +++ b/gdb/osfsolib.c @@ -214,7 +214,7 @@ solib_map_sections (so) p -> addr += (CORE_ADDR) LM_ADDR (so); p -> endaddr += (CORE_ADDR) LM_ADDR (so); so -> lmend = (CORE_ADDR) max (p -> endaddr, so -> lmend); - if (STREQ (p -> sec_ptr -> name, ".text")) + if (STREQ (p -> the_bfd_section -> name, ".text")) { so -> textsection = p; } |