mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-14 19:38:01 +08:00
import gdb-1999-09-21
This commit is contained in:
@ -960,13 +960,8 @@ find_pc_sect_section (pc, section)
|
||||
struct objfile *objfile;
|
||||
|
||||
ALL_OBJSECTIONS (objfile, s)
|
||||
#if defined(HPUXHPPA)
|
||||
if ((section == 0 || section == s->the_bfd_section) &&
|
||||
s->addr <= pc && pc <= s->endaddr)
|
||||
#else
|
||||
if ((section == 0 || section == s->the_bfd_section) &&
|
||||
s->addr <= pc && pc < s->endaddr)
|
||||
#endif
|
||||
return (s);
|
||||
|
||||
return (NULL);
|
||||
|
Reference in New Issue
Block a user