aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
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-27 * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.Stephane Carrez2-13/+22
(m68hc11_guess_from_prologue): Advance the pc and frame size only when we are beyond the current pc.
2003-07-27 * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adaptedStephane Carrez2-50/+47
from m68hc11_push_arguments. (m68hc11_push_arguments): Remove. (m68hc11_push_return_address): Remove. (m68hc11_gdbarch_init): Install the above; remove above deprecated handlers; remove deprecated_extra_stack_alignment_needed.
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-2/+13
* config/pa/tm-hppa.h (init_frame_pc_default): Declare. * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update REAL_PC and not the pointer. * hppa-hpux-tdep.c: Include frame.h
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+13
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to GDB_MULTI_ACH_PARTIAL.
2003-07-27Doh! configure.tgt was not part of the change.Andrew Cagney1-2/+1
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-53/+75
Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>: * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - operator at start and not end of line. (decode_prologue): Ditto. (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use frame_unwind_register_unsigned instead of frame_unwind_unsigned_register. (m32r_read_pc): Use regcache_cooked_read_unsigned instead of read_register. (m32r_push_dummy_call): Use register_size instead of REGISTER_RAW_SIZE. (m32r_frame_sniffer): Replace m32r_frame_p. (m32r_gdbarch_init): Call frame_unwind_append_sniffer. * m32r-rom.c (report_transfer_performance): Delete extern declaration. (m32r_load, m32r_upload_command): Use print_transfer_performance instead of report_transfer_performance. (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd / add_show_from_set.
2003-07-27*** empty log message ***gdbadmin1-1/+1
2003-07-262003-07-26 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+7
* m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated store_return_value and extract_struct_value_address.
2003-07-26 PR c++/1267Daniel Jacobowitz2-1/+17
* minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is NULL, default to the section containing PC.
2003-07-26 * gdb.texinfo (TUI Keys): Document C-x o key to switch active window.Stephane Carrez2-3/+16
2003-07-26*** empty log message ***gdbadmin1-1/+1
2003-07-25*** empty log message ***gdbadmin1-1/+1
2003-07-24 * tui.c (tui_rl_other_window): New function to switch the TUI activeStephane Carrez2-0/+34
window and give focus to a next window. (tui_initialize_readline): Bind it to c-x o. (tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.
2003-07-24 * NEWS: Mention "regs" deprecated for m68hc11 too.Stephane Carrez3-46/+166
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. (m68hc11_print_register): New function to print out one register. (m68hc11_print_registers_info): New function to print registers. (show_regs): Deprecate and use the above. (m68hc11_gdbarch_init): Install the print_registers_info.
2003-07-24 * linux-arm-low.c (arm_reinsert_addr): New function.Daniel Jacobowitz2-1/+17
(the_low_target): Add arm_reinsert_addr.
2003-07-24 * gdbint.texinfo (libgdb components): Correct a GDB to GDBN.Daniel Jacobowitz2-1/+5
2003-07-24 * gdb.texinfo (Server): Mention pidof.Daniel Jacobowitz2-0/+17
2003-07-24 From Kei Sakamoto <sakamoto.kei@renesas.com>:Daniel Jacobowitz2-0/+9
* gdb.base/relocate.c (dummy): New padding array.
2003-07-242003-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+7
* ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify that we have a SIGTRAP before returning non-zero.
2003-07-24*** empty log message ***gdbadmin1-1/+1
2003-07-23 * tui.c (tui_enable): Call tuiRefreshAll to make sure the windowStephane Carrez2-1/+6
is accurate.
2003-07-23 * tui-interp.c (tui_resume): Enable tui when we expected it.Stephane Carrez2-1/+21
(tui_suspend): Remember in which TUI mode we are. (_initialize_tui_interp): Use the tui interpreter even when no other interpreter was set and define in which TUI mode to start.
2003-07-232003-07-23 Michal Ludvig <mludvig@suse.cz>Elena Zannoni2-5/+18
Elena Zannoni <ezannoni@redhat.com> * linespec.c (decode_line_2): Avoid crash if find_function_start_sal() returns empty record.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+3
* gdb.base/return2.exp: Don't test long-long return.