This is the mail archive of the gdb@sources.redhat.com 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: gdb.mi/*.exp and absolute line numbers


> Date: Thu, 05 Aug 2004 05:21:08 -0400
> From: Michael Chastain <mec.gnu@mindspring.com>
> 
> So my proposal is:
> 
>   rewrite gdb_get_line_number in tcl
>     (either clone the function or rewrite existing implementation)
>   add gdb_get_line_number to gdb.mi/*.exp
>   add copyright notices to gdb.mi/{basics.c,gdb701.c,var-cmd.c}
>   add #include lines to gdb.mi/{basics.c,gdb701.c,var-cmd.c}
>   ... so the the gdb test suite will work with gcc HEAD
> 
> Another way out.  Less work, but cheesier: put the copyright notices for
> basics.c, gdb701.c, and var-cmd.c in a separate COPYRIGHT file, with a
> note that these files have absolute line numbers and cannot easily be
> edited.
> 
> Ideas?

Do we have to put the copyright text at the beginning of a file?  If
not, you could add it to the end, which will keep the line info
intact.

But I see you already decided on the first approach.


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