Age | Commit message (Collapse) | Author | Files | Lines |
|
* gdbtypes.h: Add TYPE_CODE_NAMESPACE.
* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
(recursive_dump_type): Ditto.
* printcmd.c (print_formatted): Ditto.
* typeprint.c (print_type_scalar): Ditto.
* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
(c_type_print_varspec_suffix, c_type_print_base): Ditto.
* cp-support.h: Declare cp_check_possible_namespace_symbols,
maint_cplus_cmd_list.
* cp-support.c: Make maint_cplus_cmd_list extern.
* cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
command.h.
(lookup_symbol_file): Look in possible namespace blocks when
appropriate.
(initialize_namespace_symtab): New.
(get_possible_namespace_block, free_namespace_block)
(check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol, maintenance_cplus_namespace)
(_initialize_cp_namespace): Ditto.
* block.h: Declare allocate_block.
* block.c (allocate_block): New.
* jv-lang.c (get_java_class_symtab): Allocate blocks via
allocate_block.
* symfile.h: Update declaration of add_psymbol_to_list.
* symfile.c (add_psymbol_to_list): Return the partial symbol in
question.
* dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
scan_partial_symbols_call.
(scan_partial_symbols): Add NAMESPACE argument; update calls to
helper functions.
(add_partial_symbol): If necessary, scan mangled names for names
of namespaces.
(add_partial_namespace): Add NAMESPACE argument; generate partial
symbols associated to namespaces.
(add_partial_enumeration): Add NAMESPACE argument.
(new_symbol): Allow namespace syms.
(read_namespace): Generate namespace syms.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.
* Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
dictionary_h, command_h.
2003-09-11 David Carlton <carlton@kealia.com>
* gdb.c++/namespace.exp: Add tests for namespace types.
* gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'.
(test_namespace): New.
|
|
* gdb.stabs/weird.exp: Ditto.
|
|
* gdb.base/relocate.exp: Handle new gdb output at startup.
|
|
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
|
|
* gdb.cp/classes.exp: Accommodate both 'syntax error' and
'parse error'.
|
|
|
|
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
* gdb.gdb/observer.exp: Ditto.
* gdb.gdb/xfullpath.exp: Ditto.
|
|
*-*-*bsd*.
|
|
* gdb.base/dump.exp: Skip for ia64.
|
|
|
|
* gdb.asm/asm-source.exp: Add ia64 support.
* gdb.asm/ia64.inc: New file.
|
|
* gdb.cp: New directory.
* gdb.cp/*: Copy from gdb.c++/*.
* gdb.c++/*: Remove.
* Makefile.in: Change gdb.c++ to gdb.cp.
* configure.in: Ditto.
* configure: Regnerate.
|
|
* gdb.arch/i386-prologue.c (gdb1338): Add function.
|
|
pointers with argument types.
* mi1-var-display.exp (-var-list-children weird): Likewise.
* mi2-var-display.exp (-var-list-children weird): Likewise.
|
|
|
|
* gdb.java/jmisc1.exp: Add test for pr gdb/1322.
|
|
* gdb.base/float.exp: Add test for SH.
|
|
* gdb.disasm/8300s.s: Fix syntax of bsr insn.
* gdb.disasm/h8300s.exp : Minor changes in disassembler output require
patterns to be more general, accepting old and new output.
Some output chars (such as '+') also must be quoted.
Some addresses are displayed numerically instead of
symbolically.
|
|
|
|
* gdb.base/completion.exp: Remove reduntant completion test
on filename.
|
|
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
gdb.trace/save-trace.exp: Make sure that full pathnames are
escaped correctly.
|
|
* configure.in: Don't generate config.h from config.hin.
* configure: Regenerate.
* config.hin: Remove file.
* gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
* gdb.threads/pthreads.c: Ditto.
|
|
2003-08-07 Andrew Cagney <cagney@redhat.com>
* interps.h (INTERP_MI2, INTERP_MI3): Define.
Index: doc/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Mode Options): Mention that "mi2" was included in
GDB 6.0.
Index: mi/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* mi-interp.c (_initialize_mi_interp): Register "mi2" and "mi3".
Make "mi" select "mi2".
Index: testsuite/gdb.mi/ChangeLog
2003-08-07 Andrew Cagney <cagney@redhat.com>
* mi2-basics.exp: Copy base MI .exp file, set MIFLAGS to -i=mi2.
* mi2-break.exp, mi2-cli.exp, mi2-console.exp: Ditto.
* mi2-disassemble.exp, mi2-eval.exp, mi2-file.exp: Ditto.
* mi2-hack-cli.exp, mi2-pthreads.exp, mi2-read-memory.exp: Ditto.
* mi2-regs.exp, mi2-return.exp, mi2-simplerun.exp: Ditto.
* mi2-stack.exp, mi2-stepi.exp, mi2-syn-frame.exp: Ditto.
* mi2-until.exp, mi2-var-block.exp, mi2-var-child.exp: Ditto.
* mi2-var-cmd.exp, mi2-var-display.exp, mi2-watch.exp: Ditto.
|
|
* gdb.asm/asm-source.exp : Add -lgloss to link-flags.
* gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
Replace ld24 with seth/add3.
|
|
* gdb.base/annota3.exp: New file.
* gdb.base/annota3.c: New file.
* gdb.c++/annota3.exp: New file.
* gdb.c++/annota3.cc: New file.
|
|
* gdb.threads/tls.c (spin): Check errno only if sem_wait
actually failed.
(do_pass): Likewise.
* gdb.threads/tls.exp: Always initialize no_of_threads.
|
|
pattern.
* gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
* gdb.threads/tls.exp: Recognize one case of the host library not
supporting TLS.
|
|
* gdb.base/fileio.exp: Use SH when running commands using
remote_exec.
|
|
* gdb.base/relocate.c (dummy): New padding array.
|
|
* gdb.base/return2.exp: Don't test long-long return.
|
|
* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
* gdb.disasm/t01_mov.exp: Ditto.
* gdb.disasm/t02_mova.s: Ditto.
* gdb.disasm/t02_mova.exp: Ditto.
* gdb.disasm/t03_add.s: Ditto.
* gdb.disasm/t03_add.exp: Ditto.
* gdb.disasm/t04_sub.s: Ditto.
* gdb.disasm/t04_sub.exp: Ditto.
* gdb.disasm/t05_cmp.s: Ditto.
* gdb.disasm/t05_cmp.exp: Ditto.
* gdb.disasm/t06_ari2.s: Ditto.
* gdb.disasm/t06_ari2.exp: Ditto.
* gdb.disasm/t07_ari3.s: Ditto.
* gdb.disasm/t07_ari3.exp: Ditto.
* gdb.disasm/t08_or.s: Ditto.
* gdb.disasm/t08_or.exp: Ditto.
* gdb.disasm/t09_xor.s: Ditto.
* gdb.disasm/t09_xor.exp: Ditto.
* gdb.disasm/t10_and.s: Ditto.
* gdb.disasm/t10_and.exp: Ditto.
* gdb.disasm/t11_logs.s: Ditto.
* gdb.disasm/t11_logs.exp: Ditto.
* gdb.disasm/t12_bit.s: Ditto.
* gdb.disasm/t12_bit.exp: Ditto.
* gdb.disasm/t13_otr.s: Ditto.
* gdb.disasm/t13_otr.exp: Ditto.
|
|
* gdb.threads/tls.exp :Add kfail for 'info address' case.
|
|
* gdb.threads/tls.c : New file.
* gdb.threads/tls.exp : New file.
* gdb.threads/tls-main.c : New file.
* gdb.threads/tls-shared.c : New file.
* gdb.threads/tls-shared.exp : New file.
|
|
|
|
due to insn reordering.
|
|
* frame.c (get_prev_frame): Move disabled inside_entry_func to
before code inhibiting repeated unwind attempts. Add to
commentary on that test's problems.
* blockframe.c (inside_main_func): Look for "main" in the minimal
symbol table.
* d10v-tdep.c (d10v_frame_this_id): Delete check that frames are
identical.
Index: testsuite/ChangeLog
2003-07-15 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
|
|
* gdb.base/gdb1250.exp: New file.
* gdb.base/gdb1250.c: New file.
|
|
* gdb.c++/templates.exp (test_ptype_of_templates): Recognize
expansion of size_t to 'unsigned long', not only to 'unsigned'.
|
|
* gdb.base/annota1.exp: Make sure that we properly escape the
full path of the source file. Xfail more permissive patterns,
due to a compiler debug info problem.
|
|
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
|
|
arguments"): Also match negative number.
* gdb.base/float.exp ("info float"): Add test for m68k-*-*.
|
|
(add_char): Rename to add_charest, update.
(wack_char): Rename to wack_charest, update types. Return l + r
to keep r live across the call.
(wack_short, wack_int, wack_long, wack_longest, wack_float)
(wack_double, wack_doublest): Return l + r to keep r live across
the call.
* gdb.base/store.exp: Accomodate store.c changes.
|
|
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.c++/inherit.exp (test_print_svi_classes): Accept gdb
output of '<VTT for class>' for virtual base classes.
|
|
"compl".
* gdb.base/complex.exp, gdb.base/complex.c: New files.
|
|
* gdb.base/volatile.exp: Likewise.
|
|
gdb/1265.
|
|
initial line count of 'captured_main' from 26 to 32.
(test_with_self): Allow xmalloc call to be interleaved with the
preceding two lines.
|
|
|
|
support.
|