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 2/3] Remove hard-coded line number from templates.exp


On Fri, Feb 2, 2018 at 6:36 PM, Keith Seitz <keiths@redhat.com> wrote:
> templates.exp has a hard-coded line number in it:
>
>   gdb_test "b 770" \
>       "Breakpoint .* at .*, line 770."
>
> The problems with this are well-known, and this patch simply removes it.
> I've also added the missing FSF copyright header to templates.cc.
>
> testsuite/ChangeLog:
>
>         * gdb.cp/templates.cc (main): Add breakpoint marker comment.
>         * gdb.cp/templates.exp: Remove hard-coded line number.

Patch is good to me.

-- 
Yao (齐尧)


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