diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-01 20:19:04 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-01 20:19:04 +0000 |
commit | 3d50dd94cb60adbb423659378bb9d758381959a2 (patch) | |
tree | 57833ba4f7654479cdeecd4f05ab34933acde8cc /gdb/m2-lang.c | |
parent | dcf9f4ab7f00dba719a501c8bca3ff446edd200d (diff) | |
download | gdb-3d50dd94cb60adbb423659378bb9d758381959a2.zip gdb-3d50dd94cb60adbb423659378bb9d758381959a2.tar.gz gdb-3d50dd94cb60adbb423659378bb9d758381959a2.tar.bz2 |
gdb/
Stop on first linespec terminator instead of eating what we can.
* linespec.c (is_linespec_boundary): New function.
(name_end): Remove function.
(keep_name_info): New parameter on_boundary, replace the body.
(decode_line_1): Provide the parameter to keep_name_info.
(decode_compound): Likewise. Drop the trailing java return type
handling. Twice.
gdb/testsuite/
Stop on first linespec terminator instead of eating what we can.
* gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
* gdb.cp/minsym-fallback.cc (C::operator ()): Define.
* gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
(break C::f()): ... this one.
(break C::operator()()): New test.
* gdb.cp/minsym-fallback.h (C::operator ()): Declare.
* gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
test.
Diffstat (limited to 'gdb/m2-lang.c')
0 files changed, 0 insertions, 0 deletions