aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2008-04-16 * gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to theAleksandar Ristovski2-9/+18
sample output for 'stopped,reason="breakpoint-hit"' message. (GDB/MI Program Execution): Likewise.
2008-04-16*** empty log message ***gdbadmin1-1/+1
2008-04-15 * gdb.base/attach.exp (do_attach_tests): Matching pattern forAleksandar Ristovski23-57/+104
temporary breakpoint to match "Temporary breakpoint". * gdb.base/break.exp (delete_breakpoints): Likewise. * gdb.base/call-ar-st.exp (get_debug_format): Likewise. * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise. * gdb.base/display.exp: Likewise. * gdb.base/foll-exec.exp (do_exec_tests): Likewise. * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise. * gdb.base/restore.exp (restore_tests): Likewise. * gdb.base/sepdebug.exp: Likewise. * gdb.base/watchpoint.exp: Likewise. * gdb.mi/mi-cli.exp: Added argument for new "disp" field. * gdb.mi/mi-pending.exp: Likewise. * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise. * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise. * gdb.mi/mi-var-cmd.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise. * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise. * gdb.mi/mi2-var-display.exp: Likewise. * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint. * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for new "disp" field. (mi_expect_stop): Move after_reason argument to be really after reason. This is to support fix for PR2424.
2008-04-15PR gdb/2424Aleksandar Ristovski3-13/+43
* infrun.c (normal_stop) Move breakpoint_auto_delete further down to allow printing to 'see' real reason of stop. This fixes PR 2424. * breakpoint.c (bpdisp_texst): New function. The function takes over the role of bpstats static array in print_one_breakpoint_location. (print_it_typical): Print "Temporary breakpoint" instead of just "Breakpoint" when breakpoint is, well, temporary. For mi-like protocols, print disp field. (print_one_breakpoint_location): Removed bpdisps static definition. Call new bpstat_text function to get value for 'disp' field. (mention): Print "Temporary breakpoint" instead of just "Breakpoint".
2008-04-15 * gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,Daniel Jacobowitz5-9/+45
gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust by rerunning gnulib-tool with --aux-dir=gnulib/extra. * gnulib/Makefile.in: Regenerate.
2008-04-15 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.Jan Kratochvil2-0/+7
2008-04-15*** empty log message ***gdbadmin1-1/+1
2008-04-14 * Makefile.in (GNULIB_H): New. Trigger all-lib.Daniel Jacobowitz4-5/+249
(defs_h): Use $(GNULIB_H). (all-lib): Depend on gnulib/Makefile. (gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps. * config.in, gnulib/Makefile.in: Regenerated.
2008-04-14Fix generated files.Daniel Jacobowitz2-245/+3406
2008-04-14Add missed files from last commit.Daniel Jacobowitz24-0/+4516
2008-04-14 * Makefile.in (LIBGNU, INCGNU): Define.Daniel Jacobowitz9-38/+1721
(INTERNAL_CFLAGS_BASE): Add INCGNU. (INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU. (CLEANDIRS): New. ($(LIBGNU), all-lib): New rules. (clean, distclean, do-maintainer-clean): Use CLEANDIRS. * configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE. Simplify AC_CONFIG_AUX_DIR. Generate gnulib/Makefile. * gnulib: New directory, from gnulib-tool. * configure, aclocal.m4: Regenerated. * Makefile.in (LIBOBJS): New. (OBS): Use LIBOBJS. (memmem.o): New rule. * configure.ac: Use AC_CONFIG_LIBOBJ_DIR and check for memmem. * configure: Regenerated.
2008-04-14 * linux-thread-db.c (have_threads_callback): Check thread->private.Daniel Jacobowitz2-1/+5
2008-04-14*** empty log message ***gdbadmin1-1/+1
2008-04-13 Fix @-varobjs.Vladimir Prus8-4/+119
* varobj.c (value_of_root): Update the expression for floating varobjs. * mi/mi-cmd-var.c (varobj_update_one): If type has changed, report that.
2008-04-13*** empty log message ***gdbadmin1-1/+1
2008-04-12*** empty log message ***gdbadmin1-1/+1
2008-04-11*** empty log message ***gdbadmin1-1/+1
2008-04-10*** empty log message ***gdbadmin1-1/+1
2008-04-09gdb/ChangeLogMarc Khouzam10-46/+241
2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> * mi/mi-cmd-var.c: Include "mi-getopt.h". (mi_parse_format): New. Factored out from mi_cmd_var_set_format. (mi_cmd_var_set_format): Use new mi_parse_format. (mi_cmd_var_evaluate_expression): Support for -f option to specify format. * Makefile.in (mi-cmd-var.o): Update dependencies. * varobj.h (varobj_get_formatted_value): Declare. * varobj.c (my_value_of_variable): Added format parameter. (cplus_value_of_variable): Likewise. (java_value_of_variable): Likewise. (c_value_of_variable): Likewise. Evaluate expression based on format parameter. (struct language_specific): Add format parameter to function member *value_of_variable. (varobj_get_formatted_value): New. (varobj_get_value): Added format parameter to method call. gdb/doc/ChangeLog 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> * gdb.texinfo (GDB/MI Variable Objects): Add anchor to -var-set-format. Add -f option to -var-evaluate-expression. gdb/testsuite/ChangeLog 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com> * gdb.mi/mi2-var-display.exp: Added tests for the new -f option of -var-evaluate-expression. * gdb.mi/mi2-var-display.exp: Likewise.
2008-04-09*** empty log message ***gdbadmin1-1/+1
2008-04-08 * stabsread.c (cleanup_undefined_types_noname): Manually set theJoel Brobecker2-1/+13
instance flags of the undefined type before calling replace_type.
2008-04-08Fix trailing space.Vladimir Prus1-1/+1
2008-04-08 * target.h (enum strata): Remove the download_stratum.Vladimir Prus2-2/+5
2008-04-08*** empty log message ***gdbadmin1-1/+1
2008-04-07 * buildsym.h (last_source_file): Add dwarf info to comment.Doug Evans2-2/+9
(last_source_start_addr): Ditto.
2008-04-07 Introduce test setup helpers.Vladimir Prus5-119/+84
* lib/gdb.exp (build_executable, clean_restart) (prepare_for_testing): New. * gdb.base/break.exp: Use prepare_for_testing, and clean_restart. * gdb.base/return.exp: Likewise. * gdb.base/ending-run.exp: Likewise.
2008-04-07 * alphanbsd-tdep.c: Include "target.h".Pedro Alves4-2/+10
* mn10300-tdep.c: Include "target.h". * Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update.
2008-04-07*** empty log message ***gdbadmin1-1/+1
2008-04-06*** empty log message ***Nick Roberts1-0/+5
2008-04-06New test for asynchronous Machine Interface (MI) responses.Nick Roberts1-0/+137
2008-04-06 Fix breakpoint condition that use member variables.Vladimir Prus17-74/+134
* valops.c (check_field): Remove. (check_field_in): Rename to check_field. (value_of_this): Use la_name_of_this. * value.h (check_field): Adjust prototype. * language.h (la_value_of_this): Rename to la_name_of_this. * language.c (unknown_language_defn): Specify "this" for name_of_this. (auto_language_defn): Likewise. (local_language_defn): Likewise. * ada-lang.c (ada_language_defn): Adjust comment. * c-lang.c (c_language_defn): Adjust comment. (cplus_language_defn): Specify "this" for name_of_this. (asm_language_defn): Adjust comment. (minimal_language_defn): Adjust comment. * f-lang.c (f_language_defn): Specify NULL for name_of_this. * jv-lang.c (java_language_defn): Specify "this" for name_of_this. * m2-lang.c (m2_language_defn): Specify "this" for name_of_this. * objc-lang.c (objc_language_defn): Specify "self" for name_of_this. * p-lang.c (pascal_language_defn): Specify "this" for name_of_this. * scm-lang.c (scm_language_defn): Specify NULL for name_of_this. * symtab.c (lookup_symbol_aux): Lookup "this" in the proper scope, and check for field in type of "this", without trying to create a value.
2008-04-06*** empty log message ***gdbadmin1-1/+1
2008-04-05 * lib/mi-support.exp (mi_expect_stop): New.Vladimir Prus20-530/+243
(mi_run_cmd): Change the token. Use mi_send_resuming_command, use mi_expect_stop. (mi_execute_to_helper): Rename to mi_execute_to. (mi_send_resuming_command): Add more error patterns. (mi_wait_for_stop): Renamed to... (mi_get_stop_line): ...this. (mi_run_inline_test): Adjust. * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop. * gdb.mi/mi-console.exp: Likewise. * gdb.mi/mi-pending.exp: Likewise. * gdb.mi/mi-simplerun.exp: Likewise. * gdb.mi/mi-stack.exp: Likewise. * gdb.mi/mi-stepi.exp: Likewise. * gdb.mi/mi-syn-frame.exp: Add comment. * gdb.mi/mi-until.exp: Likewise. * gdb.mi/mi-var-display.exp: Likewise. * gdb.mi/mi-watch.exp: Likewise. * gdb.mi/mi2-cli.exp: Likewise. * gdb.mi/mi2-console.exp: Likewise. * gdb.mi/mi2-simplerun.exp: Likewise. * gdb.mi/mi2-stack.exp: Likewise. * gdb.mi/mi2-stepi.exp: Likewise. * gdb.mi/mi2-until.exp: Likewise. * gdb.mi/mi2-var-display.exp: Likewise. * gdb.mi/mi2-watch.exp: Likewise.
2008-04-05*** empty log message ***gdbadmin1-1/+1
2008-04-04 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.Ulrich Weigand3-3/+13
* gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
2008-04-04gdb/Pedro Alves17-231/+161
2008-04-04 Pedro Alves <pedro@codesourcery.com> * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_ERROR. (mi_error_message): Delete declaration. * mi/mi-interp.c (mi_cmd_interpreter_exec): Call error instead of returning MI_CMD_ERROR. * mi/mi-main.c (mi_error_message): Delete. (mi_cmd_exec_interrupt): (mi_cmd_thread_select, mi_cmd_thread_list_ids) (mi_cmd_thread_info): Call error instead of returning MI_CMD_ERROR. (mi_cmd_data_list_register_values): Call error instead of returning MI_CMD_ERROR. Adapt to new get_register interface. (get_register): Change return typo to void. Call error instead of returning MI_CMD_ERROR. (mi_cmd_data_write_register_values): Call error instead of returning MI_CMD_ERROR. (mi_cmd_list_features): Return MI_CMD_DONE. (captured_mi_execute_command): Remove MI_CMD_ERROR handling. (mi_execute_command): Always print exceptions with -error. gdb/testsuite/ 2008-04-04 Pedro Alves <pedro@codesourcery.com> * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp, gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not expect an mi error duplicated in stderr.
2008-04-04 * server.c (handle_query): Never return "unsupported" forUlrich Weigand2-8/+5
qXfer:features:read queries.
2008-04-04 * NEWS: Mention new commands set/show multiple-symbols.Joel Brobecker2-0/+10
2008-04-04*** empty log message ***gdbadmin1-1/+1
2008-04-03 * gdb.texinfo (Breakpoint Menus): Delete. Contents moved insideJoel Brobecker2-51/+96
new node "Ambiguous Expressions". Replace references to this node by references to "Ambiguous Expressions" throughout. (Ambiguous Expressions): New node.
2008-04-03 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.Joel Brobecker5-2/+39
* gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask". Add a couple of tests that verify the behavior when the new setting is set to "cancel" and "all". * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to "ask" before we start the testing.
2008-04-03 * symtab.c (multiple_symbols_ask, multiple_symbols_all)Joel Brobecker5-22/+106
(multiple_symbols_cancel): New constants. (multiple_symbols_modes, multiple_symbols_mode): New static globals. (multiple_symbols_select_mode): New function. (_initialize_symtab): Add new set/show multiple-symbols commands. * symtab.h (multiple_symbols_ask, multiple_symbols_all) (multiple_symbols_cancel, multiple_symbols_select_mode): Declare. * ada-lang.c (user_select_syms): Add handling of new multiple-symbols setting. * linespec.c (decode_line_2): Likewise.
2008-04-03 * symtab.h (enum free_code): Delete free_contents, unused.Doug Evans3-45/+11
* symmisc.c (free_symtab_block): Delete. (free_symtab, case free_code): Delete.
2008-04-03*** empty log message ***gdbadmin1-1/+1
2008-04-02*** empty log message ***gdbadmin1-1/+1
2008-04-01 * gdb.cp/casts.cc: Add class reference variables.Aleksandar Ristovski1-0/+5
* gdb.cp/casts.exp: New test cases for up/down casting references.
2008-04-01 * gdb.cp/casts.cc: Add class reference variables.Aleksandar Ristovski2-0/+19
* gdb.cp/casts.exp: New test cases for up/down casting references.
2008-04-01 * valops.c (value_cast_structs): New function. Cast relatedAleksandar Ristovski2-52/+105
STRUCT types up/down and return cast value. The body of this function comes mostly from value_cast_pointers. (value_cast_pointers): Code for actual cast STRUCT-STRUCT moved to value_cast_structs. Now value_cast_pointers needs only create appropriate reference after using value_cast_structs for actual casting. (value_cast): Handle references.
2008-04-012008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam3-9/+15
* gdb.mi/mi-var-display.exp: Stop at end of do_special_tests instead of beginning to make an extra test pass. * gdb.mi/mi2-var-display.exp: Likewise.
2008-04-012008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam2-0/+5
* MAINTAINERS: Added myself to section Write After Approval.