aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2003-09-112003-09-11 David Carlton <carlton@kealia.com>David Carlton3-4/+25
* 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.
2003-09-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+2
* gdb.stabs/weird.exp: Ditto.
2003-09-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+6
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-082003-09-08 Michael Chastain <mec@shout.net>Michael Chastain2-2/+10
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2003-09-082003-09-07 Michael Chastain <mec@shout.net>Michael Chastain2-2/+13
* gdb.cp/classes.exp: Accommodate both 'syntax error' and 'parse error'.
2003-09-07* gdb.arch/i386-prologue.exp: Add checks for saved registers.Mark Kettenis2-0/+12
2003-08-302003-08-30 Michael Chastain <mec@shout.net>Michael Chastain4-28/+7
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux. * gdb.gdb/observer.exp: Ditto. * gdb.gdb/xfullpath.exp: Ditto.
2003-08-29* gdb.base/interrupt.exp: XFAIL "call function when asleep" forMark Kettenis2-1/+6
*-*-*bsd*.
2003-08-282003-08-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-55/+83
* gdb.base/dump.exp: Skip for ia64.
2003-08-26switch to changelog modeJason Merrill1-1/+1
2003-08-252003-08-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+58
* gdb.asm/asm-source.exp: Add ia64 support. * gdb.asm/ia64.inc: New file.
2003-08-232003-08-22 Michael Chastain <mec@shout.net>Michael Chastain79-4/+13
* 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.
2003-08-17* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.Mark Kettenis3-2/+31
* gdb.arch/i386-prologue.c (gdb1338): Add function.
2003-08-17 * mi-var-display.exp (-var-list-children weird): Accept functionDaniel Jacobowitz4-3/+10
pointers with argument types. * mi1-var-display.exp (-var-list-children weird): Likewise. * mi2-var-display.exp (-var-list-children weird): Likewise.
2003-08-17 * gdb.base/annota3.exp: Add missing newline.Daniel Jacobowitz2-1/+5
2003-08-142003-08-06 Michael Chastain <mec@shout.net>Michael Chastain2-1/+31
* gdb.java/jmisc1.exp: Add test for pr gdb/1322.
2003-08-122003-08-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+14
* gdb.base/float.exp: Add test for SH.
2003-08-112003-07-22 Michael Snyder <msnyder@redhat.com>Michael Snyder3-66/+76
* 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.
2003-08-10* gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.Mark Kettenis3-0/+87
2003-08-072003-08-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-32/+7
* gdb.base/completion.exp: Remove reduntant completion test on filename.
2003-08-072003-08-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni7-21/+38
* 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.
2003-08-072003-08-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-188/+60
* 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-07Index: ChangeLogAndrew Cagney23-0/+5008
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.
2003-08-07 From Kei Sakamoto <sakamoto.kei@renesas.com>:Daniel Jacobowitz3-2/+11
* 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.
2003-08-032003-08-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-0/+732
* gdb.base/annota3.exp: New file. * gdb.base/annota3.c: New file. * gdb.c++/annota3.exp: New file. * gdb.c++/annota3.cc: New file.
2003-07-292003-07-29 Michael Chastain <mec@shout.net>Michael Chastain3-34/+41
* 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.
2003-07-28 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAILDaniel Jacobowitz4-2/+16
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.
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+9
* gdb.base/fileio.exp: Use SH when running commands using remote_exec.
2003-07-24 From Kei Sakamoto <sakamoto.kei@renesas.com>:Daniel Jacobowitz2-0/+9
* gdb.base/relocate.c (dummy): New padding array.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+3
* gdb.base/return2.exp: Don't test long-long return.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+26271
* 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.
2003-07-232003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+5
* gdb.threads/tls.exp :Add kfail for 'info address' case.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-0/+651
* 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.
2003-07-22 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.Andreas Schwab2-0/+5
2003-07-20 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patternsAndreas Schwab2-0/+17
due to insn reordering.
2003-07-152003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* 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.
2003-07-152003-07-15 Michael Chastain <mec@shout.net>Michael Chastain3-0/+142
* gdb.base/gdb1250.exp: New file. * gdb.base/gdb1250.c: New file.
2003-07-112003-07-09 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-2/+7
* gdb.c++/templates.exp (test_ptype_of_templates): Recognize expansion of size_t to 'unsigned long', not only to 'unsigned'.
2003-07-092003-07-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-5/+28
* 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.
2003-07-07 * gdb.asm/m68k.inc: New file.Andreas Schwab3-0/+44
* gdb.asm/asm-source.exp: Use it for m68k-*-*.
2003-07-06 * gdb.objc/basicclass.exp ("Call an Objective-C method with noAndreas Schwab3-1/+10
arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-03 * gdb.base/store.c (charest): New typedef.Daniel Jacobowitz3-19/+32
(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.
2003-06-302003-06-30 David Carlton <carlton@kealia.com>David Carlton2-0/+27
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.
2003-06-302003-06-29 Michael Chastain <mec@shout.net>Michael Chastain2-0/+27
* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb output of '<VTT for class>' for virtual base classes.
2003-06-29 * gdb.base/completion.exp: Tab-complete "complet" instead ofDaniel Jacobowitz4-8/+126
"compl". * gdb.base/complex.exp, gdb.base/complex.c: New files.
2003-06-29 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.Daniel Jacobowitz3-3/+24
* gdb.base/volatile.exp: Likewise.
2003-06-29 * gdb.threads/print-threads.exp (test_all_threads): Add kfail forDaniel Jacobowitz2-1/+13
gdb/1265.
2003-06-28 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximumDaniel Jacobowitz2-2/+31
initial line count of 'captured_main' from 26 to 32. (test_with_self): Allow xmalloc call to be interleaved with the preceding two lines.
2003-06-24 * gdb.base/bang.exp: New testcase.Joel Brobecker2-0/+45
2003-06-23 * gdb.base/langs.exp: Add some tests for the "minimal" languageJoel Brobecker2-0/+20
support.