Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Douglas Evans" <dje@google.com>
To: gdb-patches@sourceware.org
Subject: RFA: add linetable to "maint info symtabs" output
Date: Tue, 13 Nov 2007 18:58:00 -0000	[thread overview]
Message-ID: <e394668d0711131058p2e8abbcci44892f6497eeb7b5@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

I've been debugging some linetable issues, and this has been useful.

Ok to check in?

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gdb-071113-symmisc.patch --]
[-- Type: text/x-patch; name=gdb-071113-symmisc.patch, Size: 887 bytes --]

2007-11-13  Doug Evans  <dje@google.com>

	* symmisc.c (maintenance_info_symtabs): Print linetable info.

Index: symmisc.c
===================================================================
RCS file: /cvs/src/src/gdb/symmisc.c,v
retrieving revision 1.44
diff -u -p -r1.44 symmisc.c
--- symmisc.c	19 Oct 2007 12:26:34 -0000	1.44
+++ symmisc.c	13 Nov 2007 18:36:38 -0000
@@ -1039,6 +1039,8 @@ maintenance_info_symtabs (char *regexp, 
             printf_filtered ("    blockvector ((struct blockvector *) %p)%s\n",
                              symtab->blockvector,
                              symtab->primary ? " (primary)" : "");
+            printf_filtered ("    linetable ((struct linetable *) %p)\n",
+                             symtab->linetable);
             printf_filtered ("    debugformat %s\n", symtab->debugformat);
             printf_filtered ("  }\n");
           }

             reply	other threads:[~2007-11-13 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-13 18:58 Douglas Evans [this message]
2007-11-13 22:10 ` Eli Zaretskii
2007-11-13 23:13 ` Joel Brobecker
2007-11-13 23:47   ` Douglas Evans

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=e394668d0711131058p2e8abbcci44892f6497eeb7b5@mail.gmail.com \
    --to=dje@google.com \
    --cc=gdb-patches@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