This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog linespec.c testsuite/ChangeL ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 4 Mar 2013 19:30:29 -0000
- Subject: src/gdb ChangeLog linespec.c testsuite/ChangeL ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2013-03-04 19:30:28
Modified files:
gdb : ChangeLog linespec.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.linespec: lspec.cc
gdb/testsuite/gdb.linespec/base/one: thefile.cc
gdb/testsuite/gdb.linespec/base/two: thefile.cc
Added files:
gdb/testsuite/gdb.linespec: break-ask.exp
Log message:
gdb/
* linespec.c (struct linespec_canonical_name): New.
(struct linespec_state): Change canonical_names type to it.
(add_sal_to_sals): Change variable canonical_name to canonical. Change
xrealloc element size. Initialize the different CANONICAL fields.
(canonical_to_fullform): New.
(filter_results): Use it. Add variables canonical, fullform and
cleanup.
(struct decode_line_2_item, decode_line_2_compare_items): New.
(decode_line_2): Remove variables iter and item_names, add variables
items and items_count. Modify the code for these new variables.
gdb/testsuite/
* gdb.linespec/base/one/thefile.cc (twodup): New.
(m): Call it.
* gdb.linespec/base/two/thefile.cc (dupname): New.
(n): Call it.
* gdb.linespec/break-ask.exp: New file.
* gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15202&r2=1.15203
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&r1=1.176&r2=1.177
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3569&r2=1.3570
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/break-ask.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/lspec.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/base/one/thefile.cc.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.linespec/base/two/thefile.cc.diff?cvsroot=src&r1=1.2&r2=1.3