* elfread.c (elf_symtab_read): Remove if (1) and reindent.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ed8d34898761d450d81511c121746a73c9e9e574..db0f0344ed648f392d76b2b995e4869c76f073de 100644 (file)
@@ -1,3 +1,804 @@
+2005-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfread.c (elf_symtab_read): Remove if (1) and reindent.
+
+2005-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-linux-tdep.c (eabi_linux_arm_le_breakpoint)
+       (eabi_linux_arm_be_breakpoint): New variables.
+       (arm_linux_init_abi): Use them.
+
+2005-11-11  Michael Snyder  <msnyder@redhat.com>
+
+       * inftarg.c (child_wait): Delete unused local variable.
+
+2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
+
+       PR tui/1995
+       * tui/tui-command.c (tui_dispatch_ctrl_char): Handle CTRL-L even if the
+       focus is on the command window.
+
+2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * tui/tui-win.c (tui_update_gdb_sizes): Use tui_term_width() and
+       tui_term_height() to restore the terminal size when leaving the
+       TUI mode.
+
+2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_pseudo_register_write): Use gdb_byte
+       for buffers.
+       (m68hc11_pseudo_register_read): Likewise.
+       (m68hc11_return_value): Likewise.
+       (m68hc11_frame_prev_register): Likewise.
+       (m68hc11_frame_align): Remove as its seems no longer necessary.
+       (m68hc11_gdbarch_init): Don't install frame_align handler.
+       (m68hc11_scan_prologue): Fix crash that occurred when called from
+       m68hc11_skip_prologue
+
+2005-11-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
+       longer broken.
+
+2005-11-09  Randolph Chung <tausq@debian.org>
+
+       * hppa-linux-nat.c (_initialize_hppa_linux_nat): Use
+       hppa_linux_{store,fetch}_inferior_registers instead of
+       arm_linux_{store,fetch}_inferior_registers.
+
+2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
+
+       * remote-m32r-sdi.c: Update copyright years.
+       (m32r_resume): Write DBT at word-aligned addresses.
+       (m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.
+
+2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
+
+       * m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead
+       of 'unsigned char'.
+       (m32r_linux_sigtramp_start): Likewise.
+       (linux_rt_sigtramp_code): Likewise.
+       (m32r_linux_rt_sigtramp_start): Likewise.
+       (m32r_linux_sigtramp_frame_prev_register): Use 'gdb_byte *' instead
+       of 'void *'.
+       * m32r-tdep.c (m32r_memory_insert_breakpoint): Use 'gdb_byte'
+       instead of 'char'.
+       (m32r_memory_remove_breakpoint): Likewise.
+       (m32r_breakpoint_from_pc): Likewise.
+       (m32r_store_return_value): Likewise.
+       (decode_prologue): Likewise.
+       (m32r_push_dummy_call): Likewise.
+       (m32r_return_value): Use 'gdb_byte *' instead of 'void *'.
+       * remote-m32r-sdi.c (m32r_xfer_memory): Use 'gdb_byte' instead of
+       'char'.
+
+2005-11-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * ia64-tdep.c (floatformat_valid): Change type of `from' from
+       `const char *' to `const void *'.
+
+2005-11-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * frv-linux-tdep.c (frv_linux_sigtrapm_frame_prev_register): Change
+       type of `valuep' argument to `gdb_byte *'.
+       * frv-tdep.c (frv_pseudo_register_write): Change type of `buffer'
+       argument to `gdb_byte *'.
+       (frv_extract_return_value): Change type of `valbuf' argument to
+       `gdb_byte *'.
+       (frv_store_return_value): Likewise.
+       (frv_frame_prev_register): Change type of `bufferp' argument to
+       `gdb_byte *'
+       * solib-frv.c (ext_Elf32_Half, ext_Elf32_Addr, ext_Elf32_Word)
+       (ext_ptr): Change base type from `unsigned char' to `gdb_byte'.  Adjust
+       calls to extract_unsigned_integer which use struct members declared
+       with these array types to not try to take the address of those
+       members.
+       (fetch_loadmap, frv_current_sos): Change cast in target_read_memory()
+       calls from `char *' to `gdb_byte *'.
+       (lm_base): Change base type of `buf' from `char' to `gdb_byte'.
+       (enable_break2): Change type of `buf' from `char *' to `gdb_byte *'.
+       Change base type of `addr_buf' from `char' to `gdb_byte'.
+       (find_canonical_descriptor_in_load_object): Change base type of `buf'
+       from `char' to `gdb_byte'.
+
+2005-11-07  Paul Gilliam  <pgilliam@us.ibm.com
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from
+       ppc_sysv_abi_return_value() to handle a vector return value.
+
+2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * main.h (return_child_result, return_child_result_value): Declare.
+       * infrun.c: Include main.h.
+       (print_stop_reason): Remove declaration of return_child_result_value.
+       * top.c: Include main.h.
+       (quit_force): Remove declarations of return_child_result_value and
+       return_child_result.
+       * Makefile.in (top.o, infrun.o): Add main.h to dependencies.
+
+2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.
+
+2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
+       Add new options --eval-command and alias -ex.
+       Adjust --command to use the new struct cmdarg.
+       Execute commands given with --eval-command.
+       (print_gdb_help): Add new options --eval-command, -ex and mention -x.
+
+2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * main.c (main): Use INTERP_TUI instead of "tui".
+       Set interpreter to INTERP_INSIGHT when '-w' given.
+       * interps.h (INTERP_INSIGHT): New define.
+       * tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
+       of "tui".
+
+2005-11-04  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * infrun.c (print_stop_reason): Set return_child_result_value on exit.
+       * main.c (return_child_result): New variable.
+       (return_child_result_value): Likewise.
+       (captured_main): Add option --return-child-result.
+       Replace call to target_detach and exit (in batch mode) with quit_force.
+       (print_gdb_help): Add option --return-child-result.
+       * top.c (quit_force): Return child result if appropriate.
+
+2005-11-03  Wu Zhou  <woodzltc@cn.ibm.com>
+
+        Checked in by Elena Zannoni  <ezannoni@redhat.com>
+
+       * dwarf2read.c (read_structure_type): Add IBM XL C++
+       specific code to set TYPE_VPTR_FIELDNO and TYPE_VPTR_BASETYPE
+       of a virtual class if a field named "__vfp" is found. 
+
+2005-11-03  Jim Blandy  <jimb@redhat.com>
+
+        Checked in by Elena Zannoni  <ezannoni@redhat.com>     
+
+       * dwarf2read.c (file_full_name): Cope with file numbers that are
+       out of range for the given line header.
+
+2005-11-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+        Checked in by Elena Zannoni  <ezannoni@redhat.com>
+
+       * elfread.c (elf_symtab_read): Add number_of_symbols and
+       symbol_table as arguments.  Do not load the symbol table
+       here.
+       (elf_symfile_read): Load the static and dynamic symbol tables
+       here, before calling elf_symtab_read.  Also load any synthetic
+       symbols and process those.
+       
+2005-11-03 Andrew Cagney  <cagney@gnu.org>
+
+       Checked in by Elena Zannoni  <ezannoni@redhat.com>
+
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc): Handle DW_OP_piece
+       reads.
+
+2006-11-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-nat.c (linux_nat_resume): Add more debugging messages.  Do
+       not short-circuit resuming all threads if the signal will be ignored
+       in linux_nat_wait.
+
+2005-11-02  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * monitor.c (monitor_xfer_memory): Change char to gdb_byte.
+       (monitor_insert_breakpoint): Likewise.
+       (monitor_remove_breakpoint): Likewise.
+       * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
+       * sh-tdep.c (sh_return_value_nofpu): Change void to gdb_byte.
+       (sh_return_value_fpu): Likewise.
+       (sh_pseudo_register_read): Likewise.
+       (sh_pseudo_register_write): Likewise.
+       (sh_frame_prev_register): Likewise.
+       * sh64-tdep.c (sh64_extract_return_value): Change char to gdb_byte.
+       (sh64_return_value): Change void to gdb_byte.
+       (sh64_pseudo_register_read): Likewise.
+       (sh64_pseudo_register_write): Likewise.
+       (sh64_frame_prev_register): Likewise.
+
+2005-11-01  Joel Brobecker  <brobecker@adacore.com>
+
+       * event-top.c (gdb_setup_readline): Add missing type in extern
+       declaration.
+
+2005-11-01  Paul Gilliam  <pgilliam@us.ibm.com>
+
+        * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
+        bfd_mach_ppc64 has altivec unit, just like bfd_mach_ppc.
+
+2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * tui/tui-data.h (tui_line_or_address): Encapsulate the union in a
+       struct with a tag.
+       (tui_source_element, tui_source_info): Update.
+       * tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union.
+       * tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise.
+       * tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise.
+       * tui/tui-winsource.h: Likewise.
+
+2005-11-01  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
+       (_CYGWIN_SIGNAL_STRING): Define if not already defined in cygwin.h.
+       (win32_add_thread): Use XZALLOC rather than xmalloc/memset.
+       (register_loaded_dll): Ditto.
+       (handle_load_dll): Call solib_add here.
+       (handle_unload_dll): Ditto.
+       (info_dll_command): Delete.
+       (handle_output_debug_string): Use official _CYGWIN_SIGNAL_STRING.
+       (win32_current_sos): Duplicate table to pass off to caller rather than
+       deleting our version.
+       (set_win32_aliases): New function.
+       (_initialize_win32_nat): Remove local handling of "info shared".  Set
+       deprecated_init_ui_hook to allow late setting of "info dll" alias.
+
+2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * event-top.c (gdb_setup_readline): Don't set gdb_stdout when
+       --batch-silent option was given.
+       * main.c (batch_silent): New variable.
+       (captured_main): Add new option --batch-silent.
+       (print_gdb_help): Likewise.
+
+2005-11-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * NEWS: Mention VAX floating point support.
+
+2005-10-31  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c (get_relocated_section_addrs): Reinstate.
+       (solib_symbols_add): New function.
+       (lm_info): Remove end_addr field.
+       (register_loaded_dll): Don't try to find end_addr since gdb will do
+       this automatically now.  Make so_original_name == so_name for now.
+       Eliminate strcpy by using so_name directly.  Read in symbols if new
+       paramater "readsyms" is true.
+       (handle_load_dll): Pass auto_solib_add to register_loaded_dll to
+       control when symbols should be read.
+       (win32_free_so): Don't free objfile here.
+       (win32_create_inferior_hook): New function.
+       (handle_unload_dll): Remove left-over cruft.
+       (win32_special_symbol_handling): New (dummy) function.
+       (map_single_dll_code_section): Reinstate.
+       (dll_code_sections_add): Reinstate.
+       (core_section_load_dll_symbols): Reinstate.  Don't issue an error on
+       duplicate attempts to read same dll.  Make sure that UNIX-like name is
+       used to register DLL.
+       (win32_current_sos): Handle core files.  Reset private list before
+       passing start of list pointer to gdb.
+       (init_win32_ops): Fill out (currently unused)
+       solib_create_inferior_hook.  Fill out special_symbol_handling.
+       * config/i386/tm-cygwin.h: Remove most special solib stuff.
+
+2005-10-31  Christopher Faylor  <cgf@timesys.com>
+
+       * win32-nat.c: Remove comment intended only for debugging.
+
+2005-11-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * doublest.c (floatformat_normalize_byteorder): Handle
+       floatformat_vax.
+       (convert_doublest_to_floatformat): Use
+       floatformat_normalize_byteorder to swap bytes if necessary.
+       * vax-tdep.c: Include floatformat.h.
+       (vax_gdbarch_init): Set float_format, double_format,
+       long_double_format and long_double_bit.
+       * Makefile.in (vax-tdep.o): Update dependencies.
+
+2005-10-31  Christopher Faylor  <cgf@timesys.com>
+
+       Change child_ to win32_ throughout.
+       * win32-nat.c (win32_ops): New variable.
+       (win32_so_ops): Ditto.
+       (psapi_get_dll_name): Make function static.
+       (struct so_stuff): Delete.
+       (struct lm_info): New struct.
+       (solib_start, solib_end): Redefine as struct so_list.
+       (safe_symbol_file_add_stub): Use so_list rather than so_stuff.
+       (register_loaded_dll): Ditto.  Special-case ntdll.dll.  Fill in lm_info
+       field of so_list with information previously stored in so_stuff.
+       (get_image_name): Make function static.
+       (max_dll_name_len): Make variable static.
+       (win32_free_so): New function.
+       (win32_current_sos): Ditto.
+       (win32_relocate_section_addresses): Ditto.
+       (handle_unload_dll): Use so_list rather than so_stuff.  Call free_so to
+       delete shared library.
+       (solib_address): Delete function.
+       (child_solib_loaded_library_pathname): Ditto.
+       (win32_clear_solib): Rename from child_clear_solibs.  Use so_list
+       rather than so_stuff.  Just clear win32-specific stuff.
+       (get_relocated_section_addrs): Delete.
+       (solib_symbols_add): Ditto.
+       (info_dll_command): Make static.  Use lm_info field from so_list to
+       retrieve load address.
+       (fake_create_process): Make function static.
+       (win32_xfer_memory): Ditto.
+       (win32_kill_inferior): Ditto.
+       (win32_resume): Ditto.
+       (cygwin_pid_to_str): Ditto.
+       (do_initial_win32_stuff): Use win32_ops rather than
+       deprecated_child_ops.
+       (child_detach): Ditto.
+       (win32_mourn_inferior): Ditto.
+       (_initialize_win32_nat): Ditto.
+       (init_win32_ops): Ditto.  Fill out win32_so_ops and set
+       current_target_so_ops to win32_so_ops.
+       (core_dll_symbols_add): Delete.
+       (map_single_dll_code_section): Ditto.
+       (dll_code_sections_add): Ditto.
+       (core_section_load_dll_symbols): Ditto.
+       (child_solib_add): Ditto.
+
+2005-10-31  Andrew Stubbs  <andrew.stubbs@st.com>
+
+       * tui/tui-command.c (tui_dispatch_ctrl_char): Test output of
+       getenv() before using it.
+
+2005-10-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.h (HPPA_INSN_SIZE): New define.
+       * hppa-hpux-tdep.c (hppa_hpux_search_pattern)
+       (hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid
+       assumption on sizeof(unsigned).
+
+       * inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
+       code; return TARGET_WAITKIND_STOPPED instead.
+
+2005-10-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppc-tdep.h (PPC_INSN_SIZE): Define.
+
+       * inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
+       (inf_ttrace_kill): Renamed from inf_ttrace_kill_inferior.
+       (inf_ttrace_target): Resort assignments.
+
+2005-10-28  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/gdb-mi.el: Sync with Emacs 22.0.50.
+
+2005-10-25  Andreas Schwab  <schwab@suse.de>
+
+       * regformats/reg-ia64.dat: Remove NAT registers.
+
+2005-10-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
+       (rs6000_info_powerpc_command): Remove function.
+
+2005-10-21  Andreas Schwab  <schwab@suse.de>
+
+       * dwarf2read.c (isreg): Removed.
+       (decode_locdesc): Don't set it.
+
+2005-10-20  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (YYFILES): Add ada-lex.c
+
+2005-10-17  Jim Blandy  <jimb@redhat.com>
+
+       * dwarf2expr.c (dwarf_expr_fetch): Use correct comparison to
+       detect stack underflow.
+
+2005-10-14  Paul Gilliam  <pgilliam@us.ibm.com>
+
+        * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
+        vector registers.
+
+2005-10-13  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).
+
+       * linux-thread-db.c (enable_thread_event): Extend pointer value as
+       specified by target.
+       (thread_db_get_thread_local_address): Likewise.
+
+2005-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * i386-tdep.c (i386_reg_struct_return_p): Allow array types as well.
+       (i386_return_value): Add handling for functions that return array
+       types.
+
+2005-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (print_optional_low_bound): Handle properly
+       cases where the array index type is a TYPE_CODE_RANGE.
+
+2005-10-09  Joel Brobecker  <brobecker@adacore.com>
+
+       * valprint.c (val_print_array_elements): Check array size before
+       computing its low bound. If zero, then use a default bound of zero.
+
+2005-10-06  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 1659
+       * rs6000-tdep.c (rs6000_push_dummy_call): Correct size of
+       backchain write.
+       (rs6000_convert_from_func_ptr_addr): Correct comment.
+
+2005-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS: Add section for release management.
+
+2005-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Add entry for new "set print array-indexes" command.
+
+2005-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * language.h (language_defn): New field la_print_array_index.
+       (LA_PRINT_ARRAY_INDEX): New macro.
+       (default_print_array_index): Add declaration.
+       * language.c (default_print_array_index): new function.
+       (unknown_language): Add value for new field.
+       (auto_language): Likewise.
+       (local_language): Likewise.
+       * ada-lang.c (ada_print_array_index): New function.
+       (ada_language_defn): Add value for new field.
+       * c-lang.c (c_language_defn): Likewise.
+       (cpluc_language_defn): Likewise.
+       (asm_language_defn): Likewise.
+       (minimal_language_defn): Likewise.
+       * f-lang.c (f_language_defn): Likewise.
+       * jv-lang.c (java_language_defn): Likewise.
+       * m2-lang.c (m2_language_defn): Likewise.
+       * objc-lang.c (objc_language_defn): Likewise.
+       * p-lang.c (pascal_language_defn): Likewise.
+       * scm-lang.c (scm_language_defn): Likewise.
+       * valprint.h (print_array_indexes_p): Add declaration.
+       (get_array_low_bound): Add declaration.
+       (maybe_print_array_index): Add declaration.
+       * valprint.c (print_array_indexes): New static variable.
+       (show_print_array_indexes): New function.
+       (print_array_indexes_p): New function.
+       (get_array_low_bound): New function.
+       (maybe_print_array_index): New function.
+       (val_print_array_elements): Print the index of each element if
+       requested by the user.
+       (_initialize_valprint): Add new array-indexes "set/show print" command.
+       * ada-valprint.c (print_optional_low_bound): Replace extracted code
+       by call to ada_get_array_low_bound_and_type(). Stop printing the low
+       bound if indexes will be printed for all elements of the array.
+       (val_print_packed_array_elements): Print the index of each element
+       of the array if necessary.
+
+2005-10-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * hppa-tdep.c (read_unwind_info): Fix typo in comment.
+
+2005-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb_gcore.sh: Use a temporary file.  Use gdb from $PATH.
+
+2005-09-29  Andreas Schwab  <schwab@suse.de>
+
+       PR threads/2015
+       * infrun.c (adjust_pc_after_break): Don't use the state from a
+       non-matching thread context.
+
+2005-09-29  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * rs6000-tdep.c (rs6000_frame_cache): Handle misdetected frameless
+       functions.
+
+2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
+
+       * annotate.c (breakpoints_changed, annotate_frames_invalid)
+       (_initialize_annotate): Print breakpoints-invalid and
+       frames-invalid for level 2 annotations only.
+
+2005-09-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * infrun.c (init_execution_control_state): Initialize
+       ecs->another_trap.
+
+2005-09-28  Nick Roberts  <nickrob@snap.net.nz>
+
+       * Makefile.in (TAGS): Put DEPFILES back and add as a dependency.
+
+2005-09-26  Nick Roberts  <nickrob@snap.net.nz>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
+       (ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
+       Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
+       symm-tdep.c and symm-nat.c.
+       (TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
+       (DEPFILES): Remove CONFIG_OBS and include it explicitly where
+       needed.
+
+2005-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2005-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
+       AMD64_MXCSR_REGNUM): New.
+       * amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
+       mxcsr, fp control and status words.
+       * i386-tdep.c (): Add selector regs, mxcsr, fp control and status
+       words.
+
+2005-09-26  Paul Brook  <paul@codesourcery.com>
+
+       * arm-tdep.c (arm_type_align): New function.
+       (arm_push_dummy_call): Use it.  Ensure proper argument alignment.
+       (arm_extract_struct_value_address): Remove.
+       (arm_use_struct_convention): Rename...
+       (arm_return_in_memory): ... To this.  Return nonzero for all small
+       aggregates under the EABI.
+       (arm_return_value): New function.
+       (arm_gdbarch_init): Default for VFP float model for EABI binaries.
+       Use set_gdbarch_return_value instead of obsolete functions.
+
+2005-09-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
+       *' for second argument instead of 'const char *'.
+
+2005-09-20  Paul Gilliam  <pgilliam@us.ibm.com>
+
+        * gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
+         after a 'finish' command.
+
+2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * c-exp.y (parse-number): Modify the float parsing logic to let it 
+       recognize a suffix.
+
+2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * expression.h (enum exp_opcode): Fix a format error of a comment.
+2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * expression.h (enum exp_opcode): Add a new operator for F90
+       subrange.
+       * f-lang.h (enum f90_range_type): New enumeration type to identify
+       F90 subrange type.
+       * f-exp.y (yyparse): Add support for parsing F90 subrange and
+       change substring parsing to subrange parsing.
+       * parse.c (operator_length_standard): Set the operator length
+       and args number for OP_F90_RANGE.
+       * eval.c (evaluate_subexp_standard): Add code to evaluate F90
+       array section and substring.
+       (value_f90_subarray): New function to evaluate F90 array section.
+       (evaluate_subexp_standard): Delete label op_f77_substr and its code
+       because the logic is implemented by function value_f90_subarray now.
+
+2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
+
+       * rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
+       'info powerpc' command prefix.
+
+2005-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
+       (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
+       (s390_stopped_by_watchpoint, s390_insert_watchpoint,
+       s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
+       TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
+       STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
+       target_remove_watchpoint): Likewise.
+       * s390-nat.c: Remove include of <sys/user.h>.
+       (kernel_u_size): Remove.
+       (s390_stopped_by_watchpoint): Make static.
+       (s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
+       (s390_can_use_hw_breakpoint): New function.
+       (s390_region_size_ok_for_hw_watchpoint): Likewise.
+       (_initialize_s390_nat): Add watchpoint methods to target.
+
+2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * Makefile.in (ALLDEPFILES): Update.
+       (alpha-linux-nat.o, sparc-linux-nat.o): New rules.
+       (amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
+       (i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
+       (m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
+       (sparc64-linux-nat.o): Update dependencies.
+       * alpha-linux-nat.c, sparc-linux-nat.c: New files.
+       * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (amd64_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (amd64_linux_child_post_start_inferior): Renamed from
+       child_post_startup_inferior and made static.  Call
+       super_post_startup_inferior.
+       (super_post_startup_inferior): New.
+       (_initialize_amd64_linux_nat): Set it.  Call linux_target and
+       add_target.
+       * arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (arm_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (_initialize_arm_linux_nat): Add a prototype.  Use linux_target and
+       add_target.
+       * hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (hppa_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (_initialize_hppa_linux_nat): New function.
+       * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (i386_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (i386_linux_resume): Renamed from child_resume and made static.
+       (i386_linux_child_post_start_inferior): Renamed from
+       child_post_startup_inferior and made static.  Call
+       super_post_startup_inferior.
+       (super_post_startup_inferior): New.
+       (_initialize_i386_linux_nat): New function.
+       * i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
+       * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
+       (super_xfer_partial): New.
+       (ia64_linux_xfer_partial): New function.  Use it.
+       (_initialize_ia64_linux_nat): New function.
+       * ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
+       target_read_partial and document the problem.
+       * inf-ptrace.c (inf_ptrace_fetch_register): Use
+       CANNOT_FETCH_REGISTER.  Fix some comments.
+       (inf_ptrace_store_register): Use CANNOT_STORE_REGISTER.  Fix some
+       comments.
+       * linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
+       (linux_ops, super_xfer_partial): New variables.
+       (linux_child_post_startup_inferior): Make static.
+       (child_post_startup_inferior): Delete.
+       (linux_nat_attach, linux_nat_detach, resume_callback)
+       (linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
+       (linux_nat_mourn_inferior): Use linux_ops instead of
+       deprecated_child_ops.
+       (child_wait): Do not depend on CHILD_WAIT.
+       (linux_nat_xfer_memory): Remove, replace by ...
+       (linux_nat_xfer_partial): ... this.  Use linux_ops->to_xfer_partial
+       instead of linux_proc_xfer_memory and child_xfer_memory.
+       (linux_nat_fetch_registers, linux_nat_store_registers)
+       (linux_nat_child_post_startup_inferior): New functions.
+       (init_linux_nat_ops): Use the new functions.
+       (linux_proc_xfer_memory): Remove, replace by ...
+       (linux_proc_xfer_partial): ... this.  Make static.
+       (linux_xfer_partial, linux_register_u_offset, linux_target): New
+       functions.
+       (_initialize_linux_nat): Do not modify deprecated_child_ops.
+       * linux-nat.h (linux_proc_xfer_memory): Remove prototype.
+       (struct mem_attrib, struct target_ops): Remove forward declarations.
+       (linux_child_post_startup_inferior): Remove prototype.
+       (linux_target): Add prototype.
+       * linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
+       (thread_db_xfer_partial): ... this.
+       (init_thread_db_ops): Set to_xfer_partial instead of
+       deprecated_xfer_memory.
+       * m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (m32r_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (_initialize_m32r_linux_nat): New function.
+       * m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (m68k_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (old_fetch_inferior_registers, old_store_inferior_registers): Made
+       static.
+       (_initialize_m68k_linux_nat): Use linux_target and add_target.
+       * mips-linux-nat.c (_initialize_mips_linux_nat): New function.
+       * ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (ppc_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (_initialize_ppc_linux_nat): New function.
+       * s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
+       from fetch_inferior_registers and made static.
+       (s390_linux_store_inferior_registers): Renamed from
+       store_inferior_registers and made static.
+       (_initialize_s390_nat): New function.
+       * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
+       linux_target and add_target.
+       * config/nm-linux.h: Don't include "auxv.h".
+       (struct target_waitstatus, child_wait, CHILD_WAIT)
+       (CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
+       (CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
+       (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
+       (DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
+       * config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
+       and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
+       * config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
+       inftarg.o with sparc-linux-nat.o.
+       * config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
+       inftarg.o.
+       * config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
+       inftarg.o with inf-ptrace.o.
+       * config/i386/linux.mh (NATDEPFILES): Likewise.
+       * config/i386/linux64.mh (NATDEPFILES): Likewise.
+       * config/ia64/linux.mh (NATDEPFILES): Likewise.
+       * config/m32r/linux.mh (NATDEPFILES): Likewise.
+       * config/m68k/linux.mh (NATDEPFILES): Likewise.
+       * config/mips/linux.mh (NATDEPFILES): Likewise.
+       * config/pa/linux.mh (NATDEPFILES): Likewise.
+       * config/powerpc/linux.mh (NATDEPFILES): Likewise.
+       * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
+       * config/s390/s390.mh (NATDEPFILES): Likewise.
+       * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
+       (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
+       * config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
+       Don't define.
+       * config/ia64/nm-linux.h: Don't include "target.h".
+       (NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
+       * config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
+       alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.
+
+2005-09-08  Kevin Buettner  <kevinb@redhat.com>
+
+       From Kevin Buettner, Andrew Cagney, Jackie Smith Cashion, and
+       Alexandre Oliva:
+       * mn10300-tdep.c (am33_2_register_name): New function.
+       (my_frame_is_in_sp, my_frame_is_in_fp, my_frame_is_last)
+       (set_my_stack_size): Delete.
+       (set_movm_offsets, set_reg_offsets): Rename the former to the
+       latter.  Update for handling am33.
+       (mn10300_analyze_prologue): Update for handling am33.  Also, make
+       minor improvements in quality of prologue analysis.
+       (mn10300_gdbarch_init):  Add am33 support.
+       * mn10300-tdep.h (E_NUM_REGS): Delete.
+
+2005-09-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
+       Delete.
+       (am33_linux_init_osabi): Register svr4_ilp32_fetch_link_map_offsets
+       instead.
+
+2005-09-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-linux-tdep.c (solib-svr4.h): Include.
+       (mn10300_linux_svr4_fetch_link_map_offsets): New function.
+       (am33_linux_init_osabi): Register it.
+       * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
+
+2005-09-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
+       via "#if 0".
+
+2005-09-06  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_analyze_prologue): Use
+       safe_frame_unwind_memory() in place of deprecated_read_memory_nobpt().
+
+2005-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * inf-child.c (inf_child_follow_fork): Add OPS argument.
+       * inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
+       * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
+       * inftarg.c (child_follow_fork): Likewise.
+       * linux-nat.c (child_follow_fork): Likewise.  Use ops instead of
+       &deprecated_child_ops.
+       * target.c (update_current_target): Do not inherit to_follow_fork.
+       (target_follow_fork): New function.
+       (debug_to_follow_fork): Remove.
+       (setup_target_debug): Don't set to_follow_fork.
+       * target.h (struct target_ops): Add struct target_ops * to
+       to_follow_fork.
+       (child_follow_fork): Add struct target_ops * argument.
+       (target_follow_fork): Replace macro with prototype.
+
+2005-09-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Use ARRAY_SIZE.
+       Change internal error to warning.  Add i18n markup to warning
+       string.
+       
+2005-09-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
+       (mn10300_gdbarch_init): Register mn10300_dwarf2_reg_to_regnum().
+
 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
 
        * mn10300-tdep.c (is_my_frame_in_sp, is_my_frame_in_fp)
        * eval.c (evaluate_struct_tuple): Use strcmp instead of
        DEPRECATED_STREQ.
 
+2005-06-27  Michael Snyder  <msnyder@redhat.com>
+
+       * mn10300-linux-tdep.c: New file.  OSABI sniffer at end.
+       * Makefile.in: Add rule for mn10300-linux-tdep.c.
+       * config/mn10300/linux.mt: Add mn10300-linux-tdep.c to tdep files.
+
 2005-06-27  Michael Snyder  <msnyder@redhat.com>
 
        * config/mn10300/linux.mt: New file.
This page took 0.032517 seconds and 4 git commands to generate.