OSDN Git Service

* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
authorJim Blandy <jimb@codesourcery.com>
Tue, 26 Aug 2003 23:35:19 +0000 (23:35 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 26 Aug 2003 23:35:19 +0000 (23:35 +0000)
commitb511e1ce6f62ab53f309055c59e608fd24f139f5
tree51ebc45949935b967b98fe062a0ded39f32a8835
parent8b7cbec86dc47f7020dc0defd2e3c4367976ebb4
* solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
(enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
bfd_lookup_symbol, since we only want symbols in code sections.
(look_for_base): Pass zero as the SECT_FLAGS argument to
bfd_lookup_symbol, since we're not concerned about which section
the symbol is in.
gdb/ChangeLog
gdb/solib-svr4.c