aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-08-072003-08-07 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-1/+4
* x86-64-tdep.c (x86_64_dwarf_regmap): Correct register numbers.
2003-08-072003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka1-1/+1
* MAINTAINERS (write after approval): Move Kei Sakamoto to the proper place.
2003-08-072003-08-07 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka1-0/+1
* MAINTAINERS (write after approval): Add myself.
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-07*** empty log message ***gdbadmin1-1/+1
2003-08-062003-08-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-401/+40
* gdb.texinfo (Mode Options): Mention that level three is the highest available and that level 2 is deprecated. (Annotations Overview): Mention annotation levels. Cross reference to "Limitations of the Annotation Interface" in annotate.texi. (TODO, Value Annotations, Frame Annotations): Delete section. (Displays, Breakpoint Info): Delete.
2003-08-06*** empty log message ***gdbadmin1-1/+1
2003-08-052003-08-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+20
* mi-cmd-env.c (env_execute_cli_command): Use an explicit "%s %s" when constructing the run command. (mi_cmd_env_cd, mi_cmd_env_path, mi_cmd_env_dir): Simplify command string removing the "%s".
2003-08-052003-08-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+11
* reggroups.c (reggroup_next): Check for the final entry.
2003-08-052003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-7/+18
* monitor.h (monitor_dump_reg_block): Remove ATTR_FORMAT. * cli/cli-script.c (define_command): Call query directly, instead of passing it a buffer. * ocd.c (ocd_error): Pass error a constant format string. * remote-mips.c (mips_error): Use fputs_filtered.
2003-08-052003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+6
* solib-svr4.c (_initialize_svr4_solib): Update register_gdbarch_data call. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Ditto.
2003-08-05*** empty log message ***gdbadmin1-1/+1
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-154/+176
* mi-cmds.h (struct mi_cli): Define. (struct mi_cmd): Change type of "cli" to "struct mi_cli". * mi-cmds.c (mi_cmds): Update table. * mi-parse.c (mi_parse): Update. * mi-main.c (mi_execute_cli_command): Add "args_p" parameter, make others constant. (mi_cmd_execute): Update call. (captured_mi_execute_command): Ditto.
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-21/+33
* gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. (register_gdbarch_data): Delete "free" parameter. Update comments. * gdbarch.h, gdbarch.c: Re-generate. * reggroups.c (_initialize_reggroup): Update. * gnu-v3-abi.c (init_gnuv3_ops): Update. * frame-base.c (_initialize_frame_base): Update. * frame-unwind.c (_initialize_frame_unwind): Update. * user-regs.c (_initialize_user_regs): Update. * remote.c (_initialize_remote): Update. * regcache.c (_initialize_regcache): Update.
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-22/+17
* regcache.c (xfree_regcache_descr): Delete function. (_initialize_regcache): Update call to register_gdbarch_data. (init_regcache_descr, init_legacy_regcache_descr): Use GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC.
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-12/+11
* remote.c (free_remote_state): Delete function. (_initialize_remote): Update register_gdbarch_data. (init_remote_state): Use GDBARCH_OBSTACK_XALLOC and GDBARCH_OBSTACK_CALLOC instead of xmalloc / xcalloc.
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-30/+29
* agentexpr.texi: Delete @bye. * Makefile.in (STABS_DOC_SOURCE_INCLUDES): Add "fdl.texi" (stabs.info): Add $(srcdir) to include search path. (html): Depend on "annotate_toc.html", and not "annotate.html". * stabs.texinfo: Ditto. Include "fdl.texi". * gdbint.texinfo: Update copyright statement's list of invariant sections.
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-66/+93
* reggroups.c (struct reggroup_el): Define. (struct reggroups): Delete field "nr_group". Replace array "group" with a "first" to "last" linked list. (reggroups_init): Update. Allocate using gdbarch's obstack. (reggroups_free): Delete function. (add_group): Update. Add "el" parameter. (reggroup_add): Pass gdbarch obstack allocated space to add_group. (default_groups): Update. (reggroup_next): Replace reggroups. (reggroups_dump): Update. (_initialize_reggroup): Pass XMALLOC allocated space to add_group. * regcache.c (regcache_dump): Use reggroup_next instead of reggroups. * infcmd.c (registers_info): Use reggroup_next instead of reggroups.
2003-08-04 * tui-interp.c: Include "cli-out.h".Daniel Jacobowitz2-0/+22
(tui_resume): Update tui_old_uiout's stream to gdb_stdout.
2003-08-04 * Makefile.in (tui-interp.o): Update dependencies.Daniel Jacobowitz2-1/+5
2003-08-042003-08-04 David Carlton <carlton@kealia.com>David Carlton16-37/+66
* charset.c (cached_iconv_convert): Add __FILE__ and __LINE__ args to internal_error call. * source.c (forward_search_command): Add "%s" format argument. (reverse_search_command): Ditto. * top.c (quit_confirm): Ditto. * cli/cli-setshow.c (do_setshow_command): Ditto. * cp-valprint.c (cp_print_class_method): Replace {f,}printf_{un,}filtered by {f,}puts_{un,}filtered. (cp_print_class_member): Ditto. * event-top.c (command_line_handler): Ditto. * linux-proc.c (linux_info_proc_cmd): Ditto. * p-typeprint.c (pascal_type_print_base): Ditto. * p-valprint.c (pascal_object_print_class_method): Ditto. (pascal_object_print_class_member): Ditto. * printcmd.c (print_scalar_formatted,printf_command): Ditto. * remote.c (remote_cisco_section_offsets): Ditto. * top.c (command_line_input): Ditto. * utils.c (vwarning,error_stream,quit): Ditto. * valprint.c (print_floating,print_binary_chars) (print_octal_chars,print_decimal_chars,print_hex_chars): Ditto. 2003-08-04 David Carlton <carlton@kealia.com> * mi-main.c (mi_error_last_message): Add "%s" second argument to xasprintf call. 2003-08-04 David Carlton <carlton@kealia.com> * generic/gdbtk.c (gdbtk_source_start_file): Add "%s" first argument to error call. (tk_command): Ditto. (view_command): Ditto.
2003-08-042003-08-04 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+8
* frame.c (frame_func_unwind): Use frame_unwind_address_in_block.
2003-08-04*** empty log message ***gdbadmin1-1/+1
2003-08-032003-08-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+10
* config/djgpp/fnchange.lst: Fix up testsuite/gdb.c++/annota3.cc, gdb/testsuite/gdb.c++/annota3.exp, amd64fbsd-tdep.c and amd64fbsd-nat.c.
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-08-03*** empty log message ***gdbadmin1-1/+1
2003-08-022003-08-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-472/+499
* Makefile.in: Update all dependencies and definitions.
2003-08-02* linespec.c (is_objc_method_format): New functionAdam Fedor2-4/+29
(decode_line_1, locate_first_half): Use it. Fixes PR objc/1298
2003-08-02*** empty log message ***gdbadmin1-1/+1
2003-08-012003-08-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-245/+29
* NEWS: Mention that m32r is multi-arch. From 2003-07-28 Kei Sakamoto <sakamoto.kei@renesas.com>: * configure.tgt: Recognize m32r-*-*. * config/m32r/tm-m32r.h: Delete file. * config/m32r/m32r.mt: New file. * m32r-rom.c (m32r_upload_command): Use hostent only when gethostname succeeds, in order to avoid a compilation warning. * m32r-tdep.c (m32r_store_return_value): Add a cast to remove a compiler warning.
2003-08-012003-08-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+13
* sh-tdep.c (sh_frame_align): New gdbarch method. (sh_gdbarch_init): Set up frame_align method.
2003-08-01*** empty log message ***gdbadmin1-1/+1
2003-07-312003-07-31 Michael Snyder <msnyder@redhat.com>Michael Snyder5-44/+37
* value.h, values.c, infcall.c, infcmd.c: Revert 07-30 change, which is already covered by the new frames infrastructure.
2003-07-312003-07-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-42/+78
* user-regs.c (struct user_reg): Add "next" link. (struct user_regs): Replace "user" with "first" and "last" links. (append_user_reg): Add pre-allocated "reg" parameter. (builtin_user_regs): Provide initial value for "last". (user_reg_add_builtin): XMALLOC memory for append_user_reg. (user_regs_init): Allocate memory from the gdbarch obstack. (user_reg_add): GDBARCH_OBSTACK_ZALLOC memory for append_user_reg. (user_reg_map_name_to_regnum): Rewrite to search the user_reg linked list. (usernum_to_user_reg): New function. (user_reg_map_regnum_to_name): Use usernum_to_user_reg. (value_of_user_reg): Use usernum_to_user_reg. (user_regs_free): Delete function. (_initialize_user_regs): Update register_gdbarch_data call.
2003-07-31 * dwarf2read.c (new_symbol): Use var_decode_location for parameters.Daniel Jacobowitz2-26/+8
2003-07-31*** empty log message ***gdbadmin1-1/+1
2003-07-302003-07-30 Michael Snyder <msnyder@redhat.com>Michael Snyder5-33/+54
* structs.h (value_being_returned): Add a struct_addr argument. * infcall.c (call_function_by_hand): Pass struct_addr to value_being_returned. * infcmd.c (print_return_value): Pass zero as struct_addr. * values.c (value_being_returned): If struct_addr is passed, use it instead of trying to recover it from the inferior.
2003-07-30 * mn10300-tdep.c (analyze_dummy_frame): Pass ``pc'' so thatKevin Buettner2-4/+21
the prologue analyzer won't need to attempt to extract the pc value from the woefully incomplete dummy frame. (mn10300_analyze_prologue): Avoid calls to get_frame_pc() when possible. Disable code which modifies the frame.
2003-07-302003-07-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-89/+222
* Makefile.in (INFO_DEPS): Add annotate.info. (dvi, ps, html, pdf): Add annotate. (ANNOTATE_DOC_SOURCE_INCLUDES): New macro. (ANNOTATE_DOC_BUILD_INCLUDES): New macro. (ANNOTATE_DOC_FILES): New macro. (ANNOTATE_TEX_TMPS): New macro. (annotate.info, annotate_toc.html): Specify dependencies. (annotate.ps, annotate.pdf, annotate.dvi): Ditto. * annotate.texinfo: Rename annotate.texi. Get building. Add "Migrating to GDB/MI" and "Limitations of the Annotation Interface" chapters. Mention why it is not part of the user guide. Update copyright notice. Include "fdl.texi".
2003-07-30*** empty log message ***gdbadmin1-1/+1
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-292003-07-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-48/+76
* annotate.c (annotate_breakpoints_headers): Restrict annotation to level 2. (annotate_breakpoints_table, annotate_record): Ditto. (annotate_breakpoints_table_end, annotate_field_begin): Ditto. (annotate_field_name_end, annotate_field_value): Ditto. (annotate_field_end, annotate_frame_source_begin): Ditto. (annotate_frame_source_file, annotate_frame_source_file_end): Ditto. (annotate_frame_source_line, annotate_frame_source_end): Ditto. (annotate_frame_begin, annotate_frame_function_name): Ditto. (annotate_frame_address_end, annotate_frame_address): Ditto. (annotate_frame_args, annotate_frame_end): Ditto. (annotate_frame_where, annotate_arg_begin): Ditto. (annotate_arg_name_end, annotate_arg_value): Ditto. (annotate_arg_end, annotate_signal_handler_caller): Ditto. (annotate_function_call, annotate_signal_name): Ditto. (annotate_signal_string, annotate_signal_name_end): Ditto. (annotate_signal_string_end, annotate_value_history_begin): Ditto. (annotate_value_begin, annotate_value_history_value): Ditto. (annotate_value_history_end, annotate_value_end): Ditto. (annotate_display_begin, annotate_display_number_end): Ditto. (annotate_display_format, annotate_display_expression): Ditto. (annotate_display_expression_end, annotate_display_value): Ditto. (annotate_display_end, annotate_array_section_begin): Ditto. (annotate_elt_rep, annotate_elt_rep_end): Ditto. (annotate_elt, annotate_array_section_end): Ditto.
2003-07-29*** empty log message ***gdbadmin1-1/+1
2003-07-282003-07-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-20/+25
* regcache.c (struct regcache_descr): Update comments on nr_raw_registers. (init_legacy_regcache_descr): Don't set nr_raw_registers or sizeof_raw_register_valid_p. (init_regcache_descr): Set nr_raw_registers and sizeof_raw_register_valid_p before calling init_legacy_regcache_descr.
2003-07-282003-07-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+9
* mips-tdep.c (print_gp_register_row): Print the GPR's register MOD NUM_REGS.
2003-07-28 * thread.c (info_threads_command): Use get_selected_frame ().Daniel Jacobowitz2-11/+13
Check that there is at least one non-sentinel frame.
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-28*** empty log message ***gdbadmin1-1/+1
2003-07-27 * m68hc11-tdep.c (struct frame_extra_info): Remove.Stephane Carrez2-182/+11
(m68hc11_pop_frame): Remove. (m68hc11_frame_saved_pc): Remove. (m68hc11_frame_chain): Remove. (m68hc11_frame_init_saved_regs): Remove. (m68hc11_init_extra_frame_info): Remove. (m68hc11_store_struct_return): Remove. (m68hc11_saved_pc_after_call): Remove. (m68hc11_call_dummy_address): Remove.
2003-07-27 * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to holdStephane Carrez2-57/+344
frame unwind information. (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue and adapted for frame unwinding. (m68hc11_skip_prologue): Update to scan prologue in temporary object. (m68hc11_unwind_pc): New function. (m68hc11_frame_unwind_cache): New function to analyze frames. (m68hc11_frame_this_id): New function to create new frame struct. (m68hc11_frame_prev_register): New function to unwind a register from the frame. (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. (m68hc11_frame_p): New function for the above. (m68hc11_frame_base_address): New function to return fp of frame. (m68hc11_frame_args_address): Update for frame. (m68hc11_frame_base): Default 68hc11/68hc12 frame. (m68hc11_unwind_sp): New function. (m68hc11_unwind_dummy_id): New function. (m68hc11_gdbarch_init): Install the above frames; remove deprecated calls.