aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2007-04-29 * gdb.java/jmain.exp: Handle demangled names with and without methodDaniel Jacobowitz2-3/+36
signatures.
2007-04-29 * gdb.mi/mi-syn-frame.c (main, foo, bar)Daniel Jacobowitz5-26/+28
(have_a_very_merry_interrupt): Remove calls to puts. * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect inferior output. * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct test names.
2007-04-29 * gdb.base/auxv.exp (core_works): Also check is_remote.Daniel Jacobowitz4-3/+9
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
2007-04-25 * gdb.base/sigaltstack.exp: Use 'srcfile' in errorVladimir Prus6-5/+17
message, not the undefined 'module' variable. * gdb.base/siginfo.exp: Likewise. * gdb.base/sigstep.exp: Likewise. * lib/gdbserver-support.exp (gdb_target_cmd): Quote serialport. * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
2007-04-25 * config/sim.exp (gdb_target_sim): Just return with -1 when settingCorinna Vinschen2-3/+9
target sim fails. Return 0 otherwise. (gdb_load): Return prematurely if gdb_target_sim fails.
2007-04-162007-04-16 Denis Pilat <denis.pilat@st.com>Denis Pilat2-0/+6
* gdb.base/setshow.exp: Reset height after having set it to 100.
2007-04-162007-04-16 Denis Pilat <denis.pilat@st.com>Denis Pilat2-12/+29
* gdb.mi/mi2-stack.exp: update from mi-stack.exp.
2007-04-162007-04-16 Denis Pilat <denis.pilat@st.com>Denis Pilat2-2/+6
* gdb.mi/mi2-var-display.exp: Test for the fullname field.
2007-04-14 * varobj.h (varobj_set_frozen): NewVladimir Prus4-2/+111
(varobj_get_frozen): New. (varobj_update): New parameter explicit. * varobj.c (struct varobj): New fields frozen and not_fetched. (varobj_set_frozen, varobj_get_frozen): New. (install_new_value): Don't fetch values for frozen variable object, or children thereof. Allow a frozen variable object to have non-fetched value. (varobj_update): Allow updating child variables. Don't traverse frozen children. (new_variable): Initialize the frozen field. (c_value_of_variable): Return NULL for frozen variable without any value yet. * mi/mi-cmd-var.c (varobj_update_one): New parameter 'explicit'. (mi_cmd_var_create): Output the 'frozen' field, as soon as testsuite is adjusted to expect that field. (mi_cmd_var_set_frozen): New. (mi_cmd_var_update): Pass the 'explicit' parameter to varobj_update_one. * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
2007-04-11* gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,Jan Kratochvil4-0/+251
gdb.base/type-opaque.exp: New files.
2007-04-01 * gdb.mi/mi-var-child.cVladimir Prus8-37/+69
(do_children_tests): User char[2] instead of char so that automatic printing of pointers to char don't give unpredicable result. * gdb.mi/var-cmd.c (do_locals_test): Initialize local variables. * gdb.mi/mi-var-child.exp: Step to right line of do_children_tests. * gdb.mi/mi2-var-child.exp: Likewise. * gdb.mi/mi-var-cmd.exp: Step to right line of do_locals_tests. (do_children_tests): User char[2] instead of char so that automatic printing of pointers to char don't give unpredicable result. * gdb.mi/mi2-var-cmd.exp: Likewise. * lib/mi-support.exp (mi_continue_to_line): Pass test name to mi_wait_for_stop.
2007-03-30 * MAINTAINERS: Remove d10v entry.Daniel Jacobowitz4-61/+6
* Makefile.in (SFILES): Remove dwarfread.c. (COMMON_OBS): Remove dwarfread.o. (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) (remote-est.o, rom68k-rom.o): Delete. * NEWS: Mention removal of d10v, target abug, target cpu32bug, target est, target rom68k, and DWARF 1. * configure.tgt: Mark d10v as removed. * dwarf2read.c: Doc update. * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, and lnsize. (elf_locate_sections): Do not set them. (elf_symfile_read): Do not call dwarf_build_psymtabs. * symfile.h (dwarf_build_psymtabs): Delete prototype. * config/m68k/monitor.mt (TDEPFILES): Prune. * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. * gdb.texinfo (M68K): Remove obsolete ROM monitors. * gdbint.texinfo (DWARF 1): Delete section and other dwarfread.c references. * gdb.asm/asm-source.exp: Remove d10v case. * lib/gdb.exp (skip_cplus_tests): Likewise. * gdb.asm/d10v.inc: Deleted.
2007-03-30 * doublest.c (convert_floatformat_to_doublest): UseDaniel Jacobowitz3-0/+70
floatformat_classify. (floatformat_is_nan): Rename to... (floatformat_classify): ...this. Return more information. * doublest.h (enum float_kind): New. (floatformat_is_nan): Replace prototype... (floatformat_classify): ...with this one. * valprint.c (print_floating): Use floatformat_classify. Handle infinity. * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
2007-03-30 * Makefile.in (SFILES): Remove nlmread.c.Daniel Jacobowitz2-219/+4
(COMMON_OBS): Remove nlmread.o. (nlmread.o): Delete rule. * README: Delete reference to remote-st.c. * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and GDB_OSABI_LYNXOS. * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. (_initialize_i386_tdep): Do not reference them. * nlmread.c: Delete file. * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. * target.c: Doc update. * thread.c: Delete commented include. * config/alpha/tm-alpha.h: Doc update. * gdb.texinfo (Startup): Delete references to some alternate names for .gdbinit. (Thread): Remove LynxOS reference. (Tandem ST2000): Delete target-specific documentation. * gdbint.texinfo (Symbol Handling): Remove mention of NLM. (Target Architecture Definition): Remove mention of GDB_OSABI_NETWARE and GDB_OSABI_LYNXOS. * config/netware.exp: Delete file.
2007-03-29 * gdb.dwarf2/dw2-noloc.S: New file.Joel Brobecker3-0/+266
* gdb.dwarf2/dw2-noloc.exp: New file.
2007-03-28 * gdb.cp/method2.cc: New test.Pedro Alves4-1/+104
* gdb.cp/method2.exp: New test. * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
2007-03-27 * gdb.ada/exec_changed.exp: Avoid "set confirm off".Daniel Jacobowitz2-5/+4
2007-03-27Add "make pdf" and "make install-pdf", from Brooks MosesDaniel Jacobowitz2-0/+6
<brooks.moses@codesourcery.com>.
2007-03-27 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.Daniel Jacobowitz19-240/+250
(gdb_load): Delete, replace with... (gdb_reload): ...this. * gdb.server/server-run.exp: Use gdb_load and gdbserver_run. * gdb.server/server-mon.exp: Likewise. * lib/gdb.exp (gdb_run_cmd): Use gdb_reload. (gdb_start_cmd): New. (gdb_file_cmd): Save the last loaded file. (gdb_reload): New. (gdb_gnu_strip_debug): Use transform. * lib/gdbserver-support.exp (gdbserver_spawn): Move file download support here. Use new $last_loaded_file. Check mtime. (gdb_target_cmd): Handle ObjC failure case. (infer_host_exec): Delete. (gdbserver_load): Rename to... (gdbserver_run): ...this. Simplify. * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file. (mi_gdb_load): Move most contents to a new function... (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load. (mi_run_cmd): Use mi_gdb_target_load. * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp, gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp: Use gdb_run_cmd. * gdb.base/charsign.exp: Remove incorrect comment. * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file. * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp, gdb.base/start.exp: Use gdb_start_cmd.
2007-03-23* gdb.base/sigbpt.exp: Fix the message when skipping test.Maciej W. Rozycki3-2/+8
* gdb.base/signull.exp: Similarly.
2007-03-16 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-upUlrich Weigand2-1/+8
messages available to test cases (like chng-sym.exp).
2007-03-14 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for outputAndreas Schwab2-2/+7
format changes.
2007-03-13 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.Daniel Jacobowitz3-6/+74
(rs6000_in_function_epilogue_p): Use extract_unsigned_integer. (refine_prologue_limit): Delete. (skip_prologue): Don't call it. Use extract_unsigned_integer. Assume lim_pc is set. Correct check for incomplete prologues. Do not skip clobbers of the frame pointer. * symtab.c (skip_prologue_using_sal): Fail if there is only one sal. * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker) (optimized_1): New. (main): Call optimized_1. (gdb2029): Correct typos. Call gdb2029_marker. * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint for gdb2029.
2007-03-12 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as wellMark Kettenis2-5/+6
as tabs. Remove redundant test pattern.
2007-03-10 * gdb.base/long_long.exp: Accept optional symbol name in <...>Ulrich Weigand2-2/+7
for /a format output.
2007-03-09 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test toDaniel Jacobowitz2-2/+20
collect output incrementally.
2007-03-09 * gdb.mi/mi-var-cmd.exp: Allow value without "..." stringUlrich Weigand3-2/+8
for -var-create lpcharacter test. * gdb.mi/mi2-var-cmd.exp: Likewise.
2007-03-09 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test toUlrich Weigand2-1/+6
pass on targets where address zero is readable.
2007-03-09 * gdb.xml/tdesc-arch.exp: Test is unsupported on target withUlrich Weigand2-0/+10
just a single architecture.
2007-03-08 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.Ulrich Weigand2-30/+64
(fetch_all_registers): New function, uses gdb_test_multiple and exp_continue to fetch inferior output line-by-line. Replace all uses of do_get_all_registers by fetch_all_registers.
2007-03-08 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is setUlrich Weigand2-0/+10
in target_info.
2007-03-022007-03-02 Michael Snyder <michael.snyder@palmsource.com>Michael Snyder2-1/+9
* gdb.threads/manythreads.exp: Use $message string for consistancy; add a default (timeout) case.
2007-03-022007-03-02 Michael Snyder <michael.snyder@palmsource.com>Michael Snyder2-1/+5
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-022007-03-02 Michael Snyder <michael.snyder@palmsource.com>Michael Snyder2-1/+5
* Makefile.in: Remove spurious single-quotes from sed command.
2007-02-28 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value forDaniel Jacobowitz3-4/+10
func. * gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-28Move dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed toJoel Brobecker2-0/+0
be checked in.
2007-02-27 * gdb.dwarf2/dw2-producer.S: New file.Joel Brobecker3-1/+259
* gdb.dwarf2/dw2-producer.exp: New testcase.
2007-02-27*** empty log message ***Nick Roberts1-0/+10
2007-02-27* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.expNick Roberts10-93/+250
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp Revert tests to use mi_gdb_test and include value field in output of -var-create.
2007-02-27 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)Daniel Jacobowitz3-0/+102
(dwarf2_frame_sniffer): Update. (dwarf2_signal_frame_this_id): New function. (dwarf2_signal_frame_unwind): Use it. (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. * frame.c (frame_func_unwind): Add this_type argument. (get_frame_func): Update. (frame_unwind_address_in_block): Add this_type argument and check it. Fix a typo. (get_frame_address_in_block): Update. * frame.h (enum frame_type): Move higher in the file. (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type argument. * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, xstormy16-tdep.c, xtensa-tdep.c: Update calls to frame_func_unwind and frame_unwind_address_in_block to specify the frame type. Use frame_unwind_address_in_block instead of frame_pc_unwind in sniffers. * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
2007-02-27 * gdb.base/maint.exp: Remove full paths from test names.Daniel Jacobowitz6-6/+12
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp, gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
2007-02-27 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.Joel Brobecker2-2/+6
2007-02-26 * gdb.texinfo (Monitor commands for gdbserver): New subsection.Daniel Jacobowitz2-0/+59
* remote-utils.c (monitor_output): New function. * server.c (debug_threads): Define here. (monitor_show_help): New function. (handle_query): Handle qRcmd. (main): Do not handle 'd' packet. * server.h (debug_threads, remote_debug, monitor_output): Declare. * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions of debug_threads. * gdb.server/server-mon.exp: New test.
2007-02-26 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.Daniel Jacobowitz3-0/+170
(default_symfile_offsets): Check VMA here. Update section VMAs. * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
2007-02-26 * arm-tdep.c (arm_scan_prologue): Do not record FPA register savesDaniel Jacobowitz3-55/+60
if there are no FPA registers. (arm_dwarf_reg_to_regnum): New function. (arm_register_type, arm_register_name): Return minimal values for unsupported registers. (arm_register_sim_regno): Handle iWMMXt registers. (arm_gdbarch_init): Record missing FPA registers if indicated by a target description. Recognize iWMMXt registers. Only register "info float" for FPA. Use ARM_NUM_REGS. Register arm_dwarf_reg_to_regnum. * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt constants. (struct gdbarch_tdep): Add have_fpa_registers. * features/xscale-iwmmxt.xml: Update capitalization. * regformats/arm-with-iwmmxt.dat: Regenerated. * src/gdb/doc/gdb.texinfo (Standard Target Features): Mention case insensitivity. (ARM Features): Describe org.gnu.gdb.xscale.iwmmxt. * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update register capitalization.
2007-02-132007-02-13 Denis Pilat <denis.pilat@st.com>Denis Pilat2-0/+126
* gdb.mi/mi-var-invalidate.exp: New file.
2007-02-08 * features/Makefile, features/arm-with-iwmmxt.xml,Daniel Jacobowitz3-0/+170
features/gdbserver-regs.xsl, features/number-regs.xsl, features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. * regformats/arm-with-iwmmxt.dat: Generate. * NEWS: Mention iWMMXt. * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New. * Makefile.in (OBS): Add $(XML_BUILTIN). (XML_DIR, XML_TARGET, XML_FILES, XML_BUILTIN): New. (clean): Update. (target.xml, xml-builtin.c, stamp-xml, arm-with-iwmmxt.o) (arm-with-iwmmxt.c): New. * config.in, configure: Regenerate. * configure.ac: Check for iWMMXt. Handle srv_xmltarget, srv_xmlbuiltin, and srv_xmlfiles. Define USE_XML. * configure.srv: Mention srv_xmltarget and srv_xmlfiles. (arm*-*-linux*): Add iWMMXt and regset support. * linux-arm-low.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_fill_gregset, arm_store_gregset, arm_fill_wmmxregset) (arm_store_wmmxregset, target_regsets): New. * server.c (get_features_xml): Take annex argument. Check builtin XML documents. (handle_query): Handle multiple annexes.
2007-02-08 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.Daniel Jacobowitz2-0/+7
2007-02-08 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)Daniel Jacobowitz5-0/+124
(xml-tdesc.o): Update. * xml-support.c: Add a comment. (gdb_xml_enums_boolean): New variable. (gdb_xml_parse_attr_enum): Use strcasecmp. * xml-support.h (gdb_xml_enums_boolean): Declare. * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, next_regnum, and current_union. (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) (tdesc_end_union, tdesc_start_field, tdesc_start_vector) (field_attributes, union_children, reg_attributes, union_attributes) (vector_attributes, feature_attributes, feature_children): New. (target_children): Make static. Add <feature>. (tdesc_elements): Make static. * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) (struct tdesc_feature, tdesc_feature_p): New types. (struct target_desc): Add features member. (struct tdesc_arch_data, tdesc_data): New. (target_find_description): Clarify error message. Warn about ignored register descriptions. (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) (tdesc_data_cleanup, tdesc_numbered_register) (tdesc_numbered_register_choices, tdesc_find_register) (tdesc_register_name, tdesc_register_type) (tdesc_remote_register_number, tdesc_register_reggroup_p) (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) (tdesc_create_feature, tdesc_record_type): New. (free_target_description): Free features. (_initialize_target_descriptions): Initialize tdesc_data. * arch-utils.c (default_remote_register_number): New. * arch-utils.h (default_remote_register_number): New prototype. * target-descriptions.h (set_tdesc_pseudo_register_name) (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) (tdesc_numbered_register, tdesc_numbered_register_choices) (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) (tdesc_named_type, tdesc_create_feature, tdesc_record_type) (tdesc_create_reg): Declare. * gdbarch.sh (remote_register_number): New entry. * gdbarch.c, gdbarch.h: Regenerate. * remote.c (init_remote_state): Use gdbarch_remote_register_number. * features/gdb-target.dtd: Add feature, reg, vector, union, and field. * arm-tdep.c (arm_register_aliases): New. (arm_register_name_strings): Rename to... (arm_register_names): ...this. Make const. Delete the old version. (current_option, arm_register_byte): Delete. (set_disassembly_style): Simplify. Do not adjust arm_register_names. (value_of_arm_user_reg): New. (arm_gdbarch_init): Verify any described registers. Call tdesc_use_registers. Don't use arm_register_byte. Create aliases for standard register names. (_initialize_arm_tdep): Do not adjust arm_register_names. * user-regs.c (struct user_reg): Add baton member. (append_user_reg, user_reg_add_builtin, user_regs_init) (user_reg_add, value_of_user_reg): Use a baton for user register functions. * std-regs.c: Update. * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) (user_reg_add): Add baton argument. * NEWS: Mention target description register support. * features/arm-core.xml, features/arm-fpa.xml: New. * eval.c (evaluate_subexp_standard): Allow ptype $register when the program is not running. * gdb.texinfo (-target-disconnect): Use @smallexample. (Requirements): Add anchor for Expat. Update description. (Target Descriptions): Mention Expat. (Target Description Format): Document new elements. Use @smallexample. (Predefined Target Types, Standard Target Features): New sections. * doc/gdbint.texinfo (Target Descriptions): New section. * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp, gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
2007-02-08*** empty log message ***Nick Roberts1-2/+1