2003-06-30 David Carlton <carlton@kealia.com>
authorDavid Carlton <carlton@bactrian.org>
Mon, 30 Jun 2003 16:21:16 +0000 (16:21 +0000)
committerDavid Carlton <carlton@bactrian.org>
Mon, 30 Jun 2003 16:21:16 +0000 (16:21 +0000)
commitb2a7f303a272232ff87fa82f7d1cd23377ef0b01
tree3e0da34849df637f74037153079c4bbe690789ef
parenta257b5bbf7a6dc411e3b2602e485e114f88d8203
2003-06-30  David Carlton  <carlton@kealia.com>

Band-aid for PR c++/1245.
* Makefile.in (cp-support.o): Depend on complaints_h.
* cp-support.c: Include complaints.h.  Add declaration for
find_last_component.
(cp_find_first_component): Separate code into
cp_find_first_component_aux.
(cp_find_first_component_aux): Call demangled_name_complaint.
(demangled_name_complaint): New.

2003-06-30  David Carlton  <carlton@kealia.com>

* gdb.c++/maint.exp (test_invalid_name): New.
(test_first_component): Add tests for invalid names.
gdb/ChangeLog
gdb/Makefile.in
gdb/cp-support.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.c++/maint.exp