Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA: add linetable to "maint info symtabs" output
@ 2007-11-13 18:58 Douglas Evans
  2007-11-13 22:10 ` Eli Zaretskii
  2007-11-13 23:13 ` Joel Brobecker
  0 siblings, 2 replies; 4+ messages in thread
From: Douglas Evans @ 2007-11-13 18:58 UTC (permalink / raw)
  To: gdb-patches

[-- 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");
           }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: add linetable to "maint info symtabs" output
  2007-11-13 18:58 RFA: add linetable to "maint info symtabs" output Douglas Evans
@ 2007-11-13 22:10 ` Eli Zaretskii
  2007-11-13 23:13 ` Joel Brobecker
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2007-11-13 22:10 UTC (permalink / raw)
  To: Douglas Evans; +Cc: gdb-patches

> Date: Tue, 13 Nov 2007 10:58:46 -0800
> From: "Douglas Evans" <dje@google.com>
> 
> I've been debugging some linetable issues, and this has been useful.

If this is approved, please augment with the new printouts the
examples in the manual that show the output of this command.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: add linetable to "maint info symtabs" output
  2007-11-13 18:58 RFA: add linetable to "maint info symtabs" output Douglas Evans
  2007-11-13 22:10 ` Eli Zaretskii
@ 2007-11-13 23:13 ` Joel Brobecker
  2007-11-13 23:47   ` Douglas Evans
  1 sibling, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2007-11-13 23:13 UTC (permalink / raw)
  To: Douglas Evans; +Cc: gdb-patches

> 2007-11-13  Doug Evans  <dje@google.com>
> 
>         * symmisc.c (maintenance_info_symtabs): Print linetable info.
>
> Ok to check in?

That looks good to me. But please remember to do the documentation
update as asked by Eli.

BTW: Do know know about -symbol-list-lines? It dumps the line table.
It was meant mostly for front-ends, but I do use it occasionally to
diagnose some problems.

Thank you,
-- 
Joel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFA: add linetable to "maint info symtabs" output
  2007-11-13 23:13 ` Joel Brobecker
@ 2007-11-13 23:47   ` Douglas Evans
  0 siblings, 0 replies; 4+ messages in thread
From: Douglas Evans @ 2007-11-13 23:47 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

On Nov 13, 2007 3:13 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> > 2007-11-13  Doug Evans  <dje@google.com>
> >
> >         * symmisc.c (maintenance_info_symtabs): Print linetable info.
> >
> > Ok to check in?
>
> That looks good to me. But please remember to do the documentation
> update as asked by Eli.

Shall do, thanks.

> BTW: Do know know about -symbol-list-lines? It dumps the line table.
> It was meant mostly for front-ends, but I do use it occasionally to
> diagnose some problems.

I didn't, thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-13 23:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-13 18:58 RFA: add linetable to "maint info symtabs" output Douglas Evans
2007-11-13 22:10 ` Eli Zaretskii
2007-11-13 23:13 ` Joel Brobecker
2007-11-13 23:47   ` Douglas Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox