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: [RFC - Python Scripting] Add 'end' attribute to gdb.Symtab_and_line


> Date: Wed, 13 Jun 2012 00:10:39 +0530
> From: Siva Chandra <sivachandra@google.com>
> Cc: gdb-patches@sourceware.org
> 
> +  ** gdb.Symtab_and_line has new attribute 'end_pc' which holds the end
> +     address of the program counter address range for the current source
> +     line.

Perhaps this minor rewording is better:

  gdb.Symtab_and_line has a new attribute 'end_pc' which holds the end
  of the address range occupied by code for the current source line.

> +@defvar Symtab_and_line.end_pc
> +Indicates the end address of the program counter address range for
> +the current source line.  This attribute is not writable.
> +@end defvar

Can you reword this so as not to use "address" twice in the same
sentence, like I did for NEWS?

Thanks.


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