This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: fix cut-and-paste-o in debug relocation patch


2003-02-04  Jim Blandy  <jimb@redhat.com>

	* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
	section, let dwarf_macinfo_section point to it, not
	dwarf_loc_section.

Index: gdb/dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.84
diff -c -r1.84 dwarf2read.c
*** gdb/dwarf2read.c	4 Feb 2003 18:07:01 -0000	1.84
--- gdb/dwarf2read.c	4 Feb 2003 20:10:20 -0000
***************
*** 978,984 ****
      {
        dwarf_macinfo_offset = sectp->filepos;
        dwarf_macinfo_size = bfd_get_section_size_before_reloc (sectp);
!       dwarf_loc_section = sectp;
      }
    else if (STREQ (sectp->name, STR_SECTION))
      {
--- 978,984 ----
      {
        dwarf_macinfo_offset = sectp->filepos;
        dwarf_macinfo_size = bfd_get_section_size_before_reloc (sectp);
!       dwarf_macinfo_section = sectp;
      }
    else if (STREQ (sectp->name, STR_SECTION))
      {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]