aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-04-01*** empty log message ***gdbadmin1-1/+1
2008-03-31* gdb.base/break.exp: Mark failures as such. Fix formatting.Maciej W. Rozycki2-6/+22
2008-03-312008-03-31 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-3/+17
Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial value. Add xfail for older kernels.
2008-03-31 * ia64-tdep.c (examine_prologue): Correct array access.Daniel Jacobowitz2-2/+6
2008-03-31*** empty log message ***gdbadmin1-1/+1
2008-03-30*** empty log message ***gdbadmin1-1/+1
2008-03-29*** empty log message ***gdbadmin1-1/+1
2008-03-28* cp-support.c (first_component_command): Return if no arguments.Aleksandar Ristovski2-2/+12
2008-03-28gdb/Carlos O'Donell2-7/+4
2008-03-28 Carlos O'Donell <carlos@codesourcery.com> * ser-mingw.c (ser_windows_open): Open requested name.
2008-03-282008-03-28 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski2-0/+5
* MAINTAINERS: Added myself.
2008-03-28 * target.c (find_default_run_target): Allow a NULL `do_mesg'Pedro Alves2-6/+28
parameter. If it is NULL, don't call error. (find_default_can_async_p, find_default_is_async_p): Pass NULL as `do_mesg' parameter to find_default_run_target. If no target was found, return 0.
2008-03-282008-03-28 Aleksandar Ristovski <aristovski@qnx.com>Aleksandar Ristovski2-2/+16
Bring mi-support in line with gdb.exp. * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start. (mi_gdb_start): New function.
2008-03-28 * mips-linux-tdep.c: Update N32/N64 signal frame comments.Daniel Jacobowitz2-18/+25
(N64_SIGCONTEXT_LO, N64_SIGCONTEXT_PC, N64_SIGCONTEXT_FPCSR): Update. (N64_SIGCONTEXT_FIR, N64_SIGCONTEXT_CAUSE, N64_SIGCONTEXT_BADVADDR): Delete. (mips_linux_n32n64_sigframe_init): Do not record cause or badvaddr.
2008-03-28* gdb.mi/mi-var-cmd.exp: Fix a typo.Maciej W. Rozycki2-1/+5
2008-03-28*** empty log message ***gdbadmin1-1/+1
2008-03-27GDB 6.8 released.gdbadmin1-0/+4