On 03/08/2012 02:24 PM, Joel Brobecker wrote: >>>>>>> "Keith" == Keith Seitz writes: >> >> Keith> This is occurring because the two tests which do it are using >> Keith> gdb_get_line_number on a tag which is not defined in the source >> Keith> file. >> >> I wonder whether this should be an error. > > Seems like a good idea... Well, we three agree, so here it is. It exposed buglets in three other tests (which appear to be copies of one common file). Ok? Keith testsuite/ChangeLog 2012-03-08 Keith Seitz * lib/gdb.exp (gdb_get_line_number): Throw an error instead of returning -1. * gdb.base/break.exp: Remove unused variable bp_location5. * gdb.base/hbreak2.exp: Likewise. * gdb.base/sepdebug.exp: Likewise.