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]

[commit/testsuite] Avoid hardcoding source line numbers


Hello,

This is necessary for the transition to the GPL v3 license. I end up
shortening some .c files that these two tests use, and causing line
number changes that these script do not like. I modified these two
scripts to be able to handle such changes.

2007-08-17  Joel Brobecker  <brobecker@adacore.com>

        * gdb.base/gdb1555.exp: Make expected output immune to formatting
        changes inside gdb1555.c.
        * gdb.base/pending.exp: Likewise.

Tested on x86-linux, after having added a few empty lines at the beginning
of the C files.

Pretty straightforward so I checked it in.

-- 
Joel

Attachment: bploc.diff
Description: Text document


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