This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [PATCH] gdb: New maint info line-table command.


> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Cc: Andrew Burgess <andrew.burgess@embecosm.com>
> Date: Sat,  6 Feb 2016 22:16:23 +0000
> 
> Add a new command 'maint info line-table' to display the contents of
> GDB's internal line table structure.  Useful when trying to understand
> problems (within gdb) relating to line tables.

Thanks.

> +@kindex maint info line-table
> +@cindex listing @value{GDBN}'s internal line tables
> +@cindex line tables, listing @value{GDBN}'s internal
> +@item maint info line-table @var{filename}
> +
> +List the @code{struct linetable} for the symtab with @var{filename}.

I'd suggest to tell here in a couple of words what that structure
includes.

> +If @var{filename} is not given then the the @code{struct linetable}
                                       ^^^^^^^
"the" twice

> +that contains the current @var{pc} is given.
                                      ^^^^^^^^
"is listed"

> +  add_cmd ("line-table", class_maintenance, maintenance_info_line_tables, _("\
> +List line tables contents for specified symtab.\n\

I suggest "List contents of line tables for the specified symtab."

The documentation parts are okay with these fixed.


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