This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
pushed: [RFA/linespec] wrong line number in breakpoint location
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Cc: Keith Seitz <keiths at redhat dot com>
- Date: Mon, 22 Jan 2018 08:17:28 +0400
- Subject: pushed: [RFA/linespec] wrong line number in breakpoint location
- Authentication-results: sourceware.org; auth=none
- References: <1513565091-118926-1-git-send-email-brobecker@adacore.com> <a02f608153c9050c0275ae058ffd60b9@polymtl.ca> <20171219092405.n2dql5ji52qhjilj@adacore.com> <206d75d6b1f14e55b6a0dff523d8c722@polymtl.ca> <20171221113127.ijqv6dnzjfifwfnb@adacore.com> <20171221113214.hezwvaatnbd4yzfq@adacore.com>
> > gdb/ChangeLog:
> >
> > * linespec.c (create_sals_line_offset): Remove code that preserved
> > the symtab_and_line's line number.
> >
> > gdb/testsuite/ChangeLog:
> >
> > * gdb.base/break-include.c, gdb.base/break-include.inc,
> > gdb.base/break-include.exp: New files.
> > * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
> > line number now being the actual line number where the breakpoint
> > was inserted.
> > * gdb.mi/mi-break.exp: Likewise.
> > * gdb.mi/mi-reverse.exp: Likewise.
> > * gdb.mi/mi-simplerun.exp: Ditto.
Now pushed, after having updated the copyright year and retesting
on x86_64-linux.
--
Joel