* solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d9df03c7435c5d7bac023728160cab6086525363..c3816d1e031715220c249c1366ac53d6ed7ca9e7 100644 (file)
@@ -1,3 +1,417 @@
+2004-03-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib-svr4.h: Change SOLIB_SVR4 wrapper into SOLIB_SVR4_H
+       wrapper.
+
+2004-03-11  Andrew Cagney  <cagney@redhat.com>
+
+       * solib-svr4.h: Add #ifndef SOLIB_SVR4 wrapper.
+
+2004-03-11  Kevin Buettner  <kevinb@redhat.com>
+
+       * solist.h (master_so_list): New function.
+       * solib.c (master_so_list): Likewise.
+       * solib-svr4.c (enable_break): Iterate over so_list entries
+       obtained from master list instead of entries obtained directly
+       via svr4_current_sos().
+
+2004-03-10  Ben Elliston  <bje@gnu.org>
+
+       * MAINTAINERS: Update my mail address.
+
+2004-03-10  Kei Sakamoto  <sakamoto.kei@renesas.com>
+
+       * remote-m32r-sdi.c: Support hardware watchpoint.
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * user-regs.c: Update copyright years.
+       (struct user_regs): Rename to gdb_user_regs.
+       (append_user_reg, builtin_user_regs, user_regs_init)
+       (user_reg_add, user_reg_map_name_to_regnum)
+       (usernum_to_user_reg): Update.
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * dwarf2read.c (skip_leb128, peek_die_abbrev, skip_one_die)
+       (skip_children): New functions.
+       (locate_pdi_sibling): Call skip_children.
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (arm_use_struct_convention): Look through typedefs.
+       * gdbtypes.c (check_typedef): Update comments.
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * dwarf2read.c (struct comp_unit_head): Remove dwarf2_abbrevs array.
+       (struct dwarf2_cu): Add abbrev_obstack and dwarf2_abbrevs
+       pointer.  Update comment about comp_unit_head.
+       (struct abbrev_info): Shorten two int flags.
+       (dwarf_alloc_abbrev): Take a CU argument.
+       (dwarf2_build_psymtabs_hard): Call dwarf2_free_abbrev_table
+       each time through the loop.  Update cleanup argument.
+       (psymtab_to_symtab_1): Update cleanup call.
+       (dwarf2_read_abbrevs, dwarf2_alloc_abbrev): Allocate on the
+       abbrev_obstack.
+       (dwarf2_free_abbrev_table): Renamed from dwarf2_empty_abbrev_table.
+       Just call obstack_free and clear the pointer.
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * infrun.c (handle_inferior_event): Remove short-circuit code for
+       events in a different thread.
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * target.c (debug_to_xfer_memory): If targetdebug is 1, don't
+       print the whole transfer.
+       (initialize_targets): Update description of "set debug target".
+
+2004-03-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (thumb_get_next_pc): Handle Thumb BLX.
+
+2004-03-08  Nathan J. Williams  <nathanw@wasabisystems.com>
+
+       * MAINTAINERS (write after approval): Add myself.
+
+2004-03-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       * sh-tdep.c (sh_print_registers_info): Use for loop.
+       Don't skip multiple registers when a float register is encountered.
+
+2004-03-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       Fix PR tdep/1291.
+       * sh-tdep.c (sh_analyze_prologue): Align PC relative addressing
+       to official SH documentation.
+
+2004-03-07  Andrew Cagney  <cagney@redhat.com>
+
+       * ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): Delete
+       unused function.
+
+2004-03-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * arm-tdep.c (thumb_get_next_pc): Handle BX.
+       (arm_get_next_pc): Handle BX and BLX.
+
+2004-03-07  Andrew Cagney  <cagney@redhat.com>
+
+       * hppa-tdep.c: Replace DEPRECATED_FP_REGNUM with HPPA_FP_REGNUM,
+       FP0_REGNUM with HPPA_FP0_REGNUM, and SP_REGNUM with
+       HPPA_SP_REGNUM.
+       (hppa_register_raw_size, hppa_register_byte, hppa_read_fp)
+       (hppa_target_read_fp): Delete.
+       (hppa_gdbarch_init): Do not set deprecated register_raw_size,
+       register_virtual_size, max_register_raw_size,
+       max_register_virtual_size, register_byte, register_size,
+       target_read_fp, fp_regnum, and register_bytes.  Set register_type
+       instead of register_virtual_type.
+       (hppa32_register_type, hppa64_register_type): Replace
+       hppa32_register_virtual_type and hppa64_register_virtual_type.
+       * config/pa/tm-hppa.h (HPPA_FP0_REGNUM, HPPA_SP_REGNUM)
+       (HPPA_FP_REGNUM): Define.
+
+       * hppa-tdep.c (hppa_gdbarch_init): Add missing "break".
+
+       * config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO)
+       (pa_do_registers_info): Delete.
+       * hppa-tdep.c (pa_do_registers_info, pa_do_strcat_registers_info)
+       (pa_print_registers, pa_print_fp_reg, pa_strcat_registers) 
+       (pa_strcat_fp_reg, pa_register_look_aside): Delete.
+
+       * infcall.c (legacy_push_dummy_code): Delete #ifdef
+       GDB_TARGET_IS_HPPA code.
+       * config/pa/tm-hppa.h (DEPRECATED_FIX_CALL_DUMMY)
+       (hppa_fix_call_dummy, DEPRECATED_CALL_DUMMY_HAS_COMPLETED) 
+       (DEPRECATED_DUMMY_WRITE_SP, CALL_DUMMY): Delete.
+       * config/pa/tm-hppa64.h (CALL_DUMMY): Delete.
+       * hppa-tdep.c (hppa_frame_chain, hppa_frame_chain_valid) 
+       (hppa_push_dummy_frame, hppa_pop_frame, hppa_push_arguments) 
+       (hppa_fix_call_dummy, hppa64_stack_align, hppa_frame_saved_pc) 
+       (hppa_init_extra_frame_info, hppa_saved_pc_after_call)
+       (hppa64_call_dummy_breakpoint_offset, hppa_frame_init_saved_regs) 
+       (hppa_frameless_function_invocation, hppa64_store_return_value) 
+       (hppa_store_struct_return, hppa64_extract_return_value) 
+       (hppa64_use_struct_convention, hppa_frame_find_saved_regs)
+       (hppa32_call_dummy_length, hppa64_call_dummy_length) 
+       (find_dummy_frame_regs, FUNC_LDIL_OFFSET, FUNC_LDO_OFFSET)
+       (find_proc_framesize, deposit_21, restore_pc_queue) 
+       (find_return_regnum, pc_in_interrupt_handler, deposit_14) 
+       (rp_saved, pc_in_linker_stub): Delete.
+
+       Unconditionally enable 64-bit frame and ABI code.
+       * hppa-tdep.c (hppa_gdbarch_init): Do not set deprecated
+       call_dummy_breakpoint_offset, call_dummy_length, stack_align,
+       push_dummy_frame, fix_call_dummy, push_arguments,
+       call_dummy_location, extract_return_value, use_struct_convention,
+       store_return_value, store_struct_return, saved_pc_after_call,
+       init_frame_pc, frame_init_saved_regs, init_extra_frame_info,
+       frame_chain, frame_chain_valid, frameless_function_invocation,
+       frame_saved_pc, and pop_frame.
+
+       * hppa-tdep.c: Replace PC_REGNUM with PCOQ_HEAD_REGNUM.
+       (hppa64_return_value, hppa64_push_dummy_call): Rewrite.
+       (hppa_gdbarch_init): Do not set PC_REGNUM.
+
+2004-03-06  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/alpha/tm-fbsd.h: Remove file.
+       * config/alpha/fbsd.mt: Tweak comment.
+       (TM_FILE): Set to tm-alpha.h.
+
+2004-03-05  Andrew Cagney  <cagney@redhat.com>
+
+       * infrun.c (step_over_function): When non-legacy code, and no
+       step_frame_id, use the unwinder to get the caller's frame ID.
+
+2004-03-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386bsd-tdep.c (_initialize_i386bsd_tdep): Register
+       i386bsd_core_osabi_sniffer for bfd_arch_i386 instead of
+       bfd_arch_unknown.  Adjust comment.
+
+       * i386-nat.c: Fix typo in comment.  Re-introduce paranoiac.
+       * i386obsd-tdep.c: Correct spelling in comment.
+       * i386nbsd-tdep.c: Correct spelling in comment.
+       * sparc-tdep.c: Correct spelling in comments.
+
+2004-03-05  David Carlton  <carlton@kealia.com>
+
+       * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
+       bug.
+
+2004-03-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-tdep.c: Fix typo in comment.
+
+2004-03-04  J. Brobecker  <brobecker@gnat.com>
+
+       * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
+
+2004-03-04  Daniel Jacobowitz  <drow@mvista.com>
+
+       * dwarf2read.c: Add comment describing memory lifetimes.
+       (struct dwarf2_pinfo): Update comment.
+       (dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
+       (read_enumeration, new_symbol): Don't use obsavestring.
+
+2004-03-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
+       instead of amd64_fill_fxsave.
+       * amd64bsd-nat.c (store_inferior_registers): Likewise.
+       * amd64fbsd-nat.c (fill_fpregset): Likewise.
+
+       * sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
+       Reorganize code a bit.
+
+2004-03-04  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
+       when the frame pointer is pushed.  Don't set the frame pointer's 
+       address on the stack unless it's actually located there.  
+       Set the SRP's address on the stack correctly when the PC is still in
+       the prologue.
+       (cris_return_value): New function.
+       (cris_gdbarch_init): Clear deprecated store_return_value,
+       extract_return_value.
+
+2004-03-02  Jim Blandy  <jimb@redhat.com>
+
+       * stabsread.c (reg_value_complaint): The maximum register number
+       is one less than the number of registers.
+
+2004-03-02  Andrew Cagney  <cagney@redhat.com>
+
+       * i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
+       I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM.  Remove
+       trailing comma and redundant assignment of I386_ST0_REGNUM.
+       * amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
+       32-bit segment registers.
+
+2004-03-01  Andrew Cagney  <cagney@redhat.com>
+
+       * rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
+       use frame_relative_level and get_next_frame.
+
+2004-02-29  Andrew Cagney  <cagney@redhat.com>
+
+       * rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
+       (rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
+       * config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
+       Delete macro.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * inflow.c (terminal_inferior): Don't give up the terminal if we
+       previously couldn't get the inferior's terminal state.
+
+2004-02-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * regcache.c (read_pc_pid): Restore inferior_ptid after reading
+       PC_REGNUM.
+
+2004-02-28  Andrew Cagney  <cagney@redhat.com>
+
+       * NEWS: Refer to GDB 6.1.
+       * README: Refer to GDB 6.1.
+       * PROBLEMS: Refer to GDB 6.1.
+
+2004-02-28  Daniel Jacobowitz  <drow@mvista.com>
+
+       * thread-db.c (disable_thread_signals): Remove unused function.
+
+2004-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-nat.c: Include "gdb_string.h".
+       (amd64_collect_native_gregset): Zero-extend the 32-bit
+       general-purpose registers and %eip.
+
+       * amd64-tdep.h: (amd64_collect_fxsave): New prototype.
+       * amd64-tdep.c (amd64_collect_fxsave): New function.
+       (amd64_fill_fxsave): Simply call amd64_collect_fxsave.
+
+       * i387-tdep.h: Update copyright year.
+       (i387_collect_fxsave): New prototype.
+       * i387-tdep.c: Update copyright year.
+       (i387_collect_fxsave): New function containing most of the code
+       from i387_fill_fxsave.
+       (i387_fill_fxsave): Call i387_collect_fxsave.
+
+2004-02-28  Andrew Cagney  <cagney@redhat.com>
+
+        * amd64-linux-nat.c (ps_get_thread_area): When architecture is
+       i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.
+
+2004-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-tdep.c (amd64_frame_cache): Fix comment.
+
+2004-02-28  Andrew Cagney  <cagney@redhat.com>
+
+       * utils.c: Use "", instead of <>, to include readline.
+       tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
+       * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
+       * source.c, solib.c, exec.c, event-top.c: Ditto.
+       * corelow.c, completer.c, cli/cli-setshow.c: Ditto.
+       * cli/cli-dump.c, cli/cli-cmds.c: Ditto.
+       * Makefile.in: Update all dependencies.
+       (readline_tilde_h, readline_history_h): Define.
+       (readline_headers): Delete.
+
+2004-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
+       "config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
+       "config/i386/tm-lx64.h".
+
+       * config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
+       "amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c".  Remove
+       rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
+
+2004-02-28  Andrew Cagney  <cagney@redhat.com>
+
+       * dwarf2-frame.h (struct gdbarch): Add opaque declaration.
+
+       * breakpoint.c (_initialize_breakpoint): Use
+       "add_setshow_auto_boolean_cmd.  Better word-wrap help messages.
+       Add help to show command.
+
+2004-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-nat.c: Reformat to be closer to coding standards.
+       (i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
+       `retval'.  Make variables `align' and `size' local to while-loop.
+       (i386_stopped_data_address): Rename local variable `ret' to `addr'.
+       (_initialize_i386_nat): New prototype.
+
+       * tui/tui.c: Include <readline/readline.h> instead of
+       "readline/readline.h".  Include it after <term.h> and
+       "gdb_curses.h".
+
+2004-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
+       the new frame unwind code.
+       (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
+       (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
+       PCOQ_HEAD_REGNUM.
+
+       * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
+       "return_value" and "push_dummy_call".
+       (hppa32_use_struct_convention): Delete unused function.
+       (hppa32_store_return_value): Delete unused function.
+       (hppa32_extract_return_value): Delete unused function.
+       (hppa32_stack_align): Delete function.
+
+2004-02-27  Eli Zaretskii  <eliz@elta.co.il>
+
+       * coffread.c (enter_linenos): Don't let rawptr reference memory
+       outside linetab[]'s limits.
+
+2004-02-27  Andrew Cagney  <cagney@redhat.com>
+
+       * hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
+       inferior stack space - the stack needs to grow upwards.
+       (hppa32_frame_align): New function.
+       (hppa64_frame_align): Replace hppa_frame_align.
+       (hppa_gdbarch_init): Update.
+
+2004-02-26  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
+       (dwarf2-frame.h): Include.
+       (enum cris_regnums): New enum CRIS_FP_REGNUM.
+       Remove static variables related to ABI setting.
+       (struct gdbarch_tdep): Remove cris_abi member.
+       (struct frame_extra_info): Remove.
+       (cris_unwind_cache, stack_item): New structs.
+       (cris_frame_unwind, cris_frame_base): New variables.
+       (push_stack_item, pop_stack_item)
+       (cris_frame_unwind_cache, cris_frame_this_id)
+       (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
+       (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
+       (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
+       (cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
+       (cris_reg_struct_has_addr): New functions.
+       (cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
+       (cris_frame_saved_pc, cris_saved_pc_after_call, 
+       (cris_store_struct_return, cris_frameless_function_invocation)
+       (cris_pop_frame, cris_skip_prologue_main)
+       (cris_abi_original_store_return_value)
+       (cris_abi_v2_store_return_value)
+       (cris_abi_original_extract_return_value)
+       (cris_abi_v2_extract_return_value)
+       (cris_abi_original_reg_struct_has_addr)
+       (cris_abi_v2_reg_struct_has_addr)
+       (cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
+       (cris_push_return_address, cris_abi_update): Remove.
+       (_initialize_cris_tdep): Remove ABI command.
+       (cris_dump_tdep): Ditto.
+       (cris_gdbarch_init): Remove ABI command.  
+       Set store_return_value, extract_return_value, push_dummy_code,
+       push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
+       frame_unwind_append_sniffer, frame_base_set_default.
+       Clear deprecated init_frame_pc, push_arguments, store_return_value,
+       extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
+       sizeof_call_dummy_words, get_saved_register, push_return_address,
+       pop_frame, store_struct_return, frame_init_saved_regs, 
+       init_extra_frame_info, frameless_function_invocation, frame_chain,
+       frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
+       dummy_write_sp.
+       
+2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * valprint.h (print_hex_chars, print_char_chars): New prototypes.
+       * valprint.c (print_hex_chars): Change from static to external.
+       (print_char_chars): New function.
+       * printcmd.c (print_scalar_formatted): For integer and enum types
+       that are longer than LONGEST, perform processing via appropriate
+       print_*_chars routines.
+
 2004-02-26  Andrew Cagney  <cagney@redhat.com>
 
        * Makefile.in: Update dependencies.
This page took 0.0268 seconds and 4 git commands to generate.