Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: PATCH: fix cut-and-paste-o in debug relocation patch
Date: Tue, 04 Feb 2003 20:18:00 -0000	[thread overview]
Message-ID: <vt2smv3x0xc.fsf@zenia.red-bean.com> (raw)


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))
      {


             reply	other threads:[~2003-02-04 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-04 20:18 Jim Blandy [this message]
2003-02-04 20:22 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vt2smv3x0xc.fsf@zenia.red-bean.com \
    --to=jimb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox