public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  users/jkratoch/dwarf5gcc-gdb: .
Date: Wed, 02 Nov 2016 20:53:00 -0000	[thread overview]
Message-ID: <20161102205336.109650.qmail@sourceware.org> (raw)

The branch, users/jkratoch/dwarf5gcc-gdb has been updated
       via  c798ab9a523c411797894d7085f825d69fd5bfc8 (commit)
      from  f3127892db71eac1c92d554b74e5023cc1ea8bbb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit c798ab9a523c411797894d7085f825d69fd5bfc8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Nov 2 21:53:28 2016 +0100

    .

-----------------------------------------------------------------------

Summary of changes:
 gdb/dwarf2read.c |    6 ++++--
 gdb/xcoffread.c  |    1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index a13493e..4aed261 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -221,6 +221,7 @@ struct dwarf2_per_objfile
   struct dwarf2_section_info abbrev;
   struct dwarf2_section_info line;
   struct dwarf2_section_info loc;
+  struct dwarf2_section_info loclists;
   struct dwarf2_section_info macinfo;
   struct dwarf2_section_info macro;
   struct dwarf2_section_info str;
@@ -759,6 +760,7 @@ struct dwo_sections
   struct dwarf2_section_info abbrev;
   struct dwarf2_section_info line;
   struct dwarf2_section_info loc;
+  struct dwarf2_section_info loclists;
   struct dwarf2_section_info macinfo;
   struct dwarf2_section_info macro;
   struct dwarf2_section_info str;
@@ -21908,9 +21910,9 @@ cu_debug_loc_section (struct dwarf2_cu *cu)
 {
   if (cu->dwo_unit)
     {
-      const struct dwo_sections *sections = &cu->dwo_unit->dwo_file->sections;
+      struct dwo_sections *sections = &cu->dwo_unit->dwo_file->sections;
       
-      return cu->header.version >= 5 ? sections->loclists : sections->loc;
+      return cu->header.version >= 5 ? &sections->loclists : &sections->loc;
     }
   return (cu->header.version >= 5 ? &dwarf2_per_objfile->loclists
 				  : &dwarf2_per_objfile->loc);
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index 90d0753..1ae83aa 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -159,6 +159,7 @@ static const struct dwarf2_debug_sections dwarf2_xcoff_names = {
   { ".dwabrev", NULL },
   { ".dwline", NULL },
   { ".dwloc", NULL },
+  { NULL, NULL }, /* debug_loclists */
   /* AIX XCOFF defines one, named DWARF section for macro debug information.
      XLC does not generate debug_macinfo for DWARF4 and below.
      The section is assigned to debug_macro for DWARF5 and above. */


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2016-11-02 20:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 20:53 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-15 21:48 jkratoch
2016-11-13 19:17 jkratoch
2016-11-07 22:51 jkratoch
2016-11-03 18:32 jkratoch
2016-11-02 20:46 jkratoch

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=20161102205336.109650.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).