aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-10-20 14:38:46 +0000
committerAndrew Cagney <cagney@redhat.com>2003-10-20 14:38:46 +0000
commit198beae2cfaf8ea8bfd554ef8d3d3feeabc33ed7 (patch)
treea7f14543a6127d3f9fbbfb8dfc79313cc4a22e5a /gdb/linespec.c
parente7d715e57543306e019954928a714afea276d9ca (diff)
downloadfsf-binutils-gdb-198beae2cfaf8ea8bfd554ef8d3d3feeabc33ed7.zip
fsf-binutils-gdb-198beae2cfaf8ea8bfd554ef8d3d3feeabc33ed7.tar.gz
fsf-binutils-gdb-198beae2cfaf8ea8bfd554ef8d3d3feeabc33ed7.tar.bz2
2003-10-19 Andrew Cagney <cagney@redhat.com>
* targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
Diffstat (limited to 'gdb/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 7e8c6a7..b3eb05f 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -1736,7 +1736,7 @@ minsym_found (int funfirstline, struct minimal_symbol *msymbol)
values.sals = (struct symtab_and_line *)
xmalloc (sizeof (struct symtab_and_line));
values.sals[0] = find_pc_sect_line (SYMBOL_VALUE_ADDRESS (msymbol),
- (struct sec *) 0, 0);
+ (struct bfd_section *) 0, 0);
values.sals[0].section = SYMBOL_BFD_SECTION (msymbol);
if (funfirstline)
{