* mn10300-linux-tdep.c (solib-svr4.h): Include.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index e9ea62aa76f33fff422ab396811bfe69d8700de9..10914d1759335ed8cb749c92eea5a481782f4a8d 100644 (file)
@@ -1,3 +1,440 @@
+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)
+       (is_my_frame_last): Delete these unused functions.
+
+2005-09-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_frame_prev_register): Change type of
+       ``bufferp'' from ``void *'' to ``gdb_byte *''.
+
+2005-09-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (mn10300_use_struct_convention): Delete parameter
+       ``gcc_p''.  Adjust all callers.
+       (mn10300_store_return_value, mn10300_extract_return_value): Add new
+       parameter ``gdbarch''.
+       (mn10300_return_value): New function.
+       (mn10300_gdbarch_init): Delete old-style return value code calls.
+       Add call to set_gdbarch_return_value().
+
+2005-09-02  Kevin Buettner  <kevinb@redhat.com>
+       
+       * mn10300-tdep.c (regcache.h): Delete duplicate include.
+       * Makefile.in (mn10300-tdep.o): Update dependencies.
+
+2005-09-02  Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-tdep.c (osabi.h): Include.
+       (mn10300_gdbarch_init): Invoke gdbarch_init_osabi().
+       * Makefile.in (mn10300-tdep.o): Update dependencies.
+
+2005-09-02  Michael Snyder  <msnyder@redhat.com>
+            Kevin Buettner  <kevinb@redhat.com>
+
+       * mn10300-linux-tdep.c: New file.
+       * Makefile.in (mn10300-linux-tdep.o): New Makefile target.
+       * config/mn10300/linux.mt (TDEPFILES): Add mn10300-linux-tdep.o and
+       corelow.o.
+       * mn10300-tdep.h (E_E8_REGNUM, E_E9_REGNUM, E_E10_REGNUM)
+       (E_FPCR_REGNUM, E_FS0_REGNUM): New constants.
+
+2005-09-02  Mark Kettenis  <kettenis@gnu.org>
+
+       * infcall.c (call_function_by_hand): Remove code handling
+       deprecated_push_arguments.  Bail out early if push_dummy_call
+       isn't available.
+       * gdbarch.sh (deprecated_push_arguments): Delete.  Adjust a few
+       comments accordingly.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2005-09-01  Paul Gilliam  <pgilliam@us.ibm.com>
+
+        * ppc-tdep.h (struct gdbarch_tdep): Better explanation of using
+        -1 for nonexistant registers.
+        * rs6000-tdep.c (rs6000_register_reggroup_p): Don't assume that
+        tdep->ppc_vr0_regnum and tdep->ppc_ev0_regnum are not -1.
+
+2005-09-01  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm-linux-tdep.c (arm_linux_push_arguments): Delete.
+       (arm_linux_init_abi): Don't register it.
+
+2005-08-31  Mark Kettenis  <kettenis@gnu.org>
+
+       * symfile.c (symbol_file_command, set_initial_language)
+       (symfile_bfd_open, get_section_index, add_symtab_fns)
+       (find_sym_fns): Reformat code and comments.  Tweak comments.
+
+       * m68k-tdep.c (m68k_register_name): Use ARRAY_SIZE.
+
+2005-08-31  Jim Wilson  <wilson@specifix.com>
+
+       * i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.
+
+2005-08-29  Mark Kettenis  <kettenis@gnu.org>
+
+       * environ.c (unset_in_environ): Use strncmp instead of
+       DEPRECATED_STREQN.
+       * exec.c (exec_file_attach): Remove DEPRECATED_HPUX_TEXT_END.
+       * language.c (set_case_command, language_enum): Use strcmp instead
+       of DEPRECATED_STREQ.
+       * source.c (select_source_symtab): Sprinkle a few consts.  Use
+       strcmp instead of DEPRECATED_STREQ.
+
+       * solib-svr4.c (svr4_current_sos, svr4_fetch_objfile_link_map):
+       Use XZALLOC and xzalloc instead of xmalloc where appropriate.
+
+2005-08-27  Eli Zaretskii  <eliz@gnu.org>
+
+       * main.c (print_gdb_help): Don't advertise the (long non-existent)
+       option --mapped.
+
+2005-08-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * doublest.c (floatformat_mantissa): Use xsnprintf instead of
+       sprintf.
+
+       * vaxobsd-tdep.c: New file.
+       * config/vax/obsd.mt (TDEPFILES): Add vaxobsd-tdep.o.
+       * Makefile.in (vaxobsd-tdep.o): New dependency.
+
+       * ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h".  Don't
+       include "tramp-frame.h".
+       (ppcobsd_sigtramp_cache_init): Remove function.
+       (ppcobsd_sigtramp): Remove variable.
+       (ppcobsd_page_size, ppcobsd_sigreturn_offset): New variables.
+       (ppcobsd_sigtramp_p): New function.
+       (ppcobsd_sigtramp_frame_cache, ppcobsd_sigtramp_frame_this_id)
+       (ppcobsd_sigtramp_frame_prev_register): New functions.
+       (ppcobsd_sigtramp_frame_unwind): New variable.
+       (ppcobsd_sigtramp_frame_sniffer): New function.
+       (ppcobsd_init_abi): Adjust to register new sigtramp sniffer
+       instead of the old one.
+       * Makefile.in (ppcobsd-tdep.o): Update dependencies.
+
+       * infcall.c (call_function_by_hand): For
+       RETURN_VALUE_ABI_RETURNS_ADDRESS and
+       RETURN_VALUE_ABI_PRESERVES_ADDRESS, use gdbarch_return_value to
+       get return value.
+
+       * valarith.c (value_equal, value_less): Avoid compiler bug on
+       systems where `long double' values are returned in static storage.
+
+2005-08-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * stack.c: Reformat.  Improve comments.  Include "valprint.h".
+       (args_info, locals_info, backtrace_command, backtrace_command_1)
+       (backtrace_full_command, frame_info, frame_command, down_command)
+       (down_silently_base, down_silently_command, up_command)
+       (up_silently_base, up_silently_command, parse_frame_specification)
+       (current_frame_command, print_frame_args_vars, catch_info)
+       (args_plus_locals_info), print_frame_label_vars)
+       (print_block_frame_labels, print_block_frame_locals)
+       (func_command): Remove prototypes.
+       (print_stack_frame, backtrace_command_stub, backtrace_command,
+       backtrace_full_command, print_frame_args, print_frame_arg_vars,
+       print_args_stub, func_command): Remove redundant casts.
+       (addressprint): Remove extern declaration.
+       (frame_command): Make static.
+       (struct print_stack_frame_args, struct print_args_args): Rename
+       `fi' member to `frame'.
+       (print_stack_frame, print_frame_nameless_args, print_frame_args)
+       (set_current_sal_from_frame, print_frame_info, print_frame)
+       (show_stack_frame, print_block_frame_locals)
+       (print_frame_local_vars, print_frame_label_vars)
+       (print_frame_arg_vars, select_and_print_frame): Rename `fi'
+       argument to `frame'.
+       (func_command): Rename `fp' variable to `frame'.
+       (get_language): Restructure.
+       * Makefile.in (stack.o): Update dependencies.
+
+2005-08-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * NEWS (ms1-elf): New target.
+
+2005-08-17  Mark Kettenis  <kettenis@gnu.org>
+
+       * m68k-tdep.c (m68k_return_value): Properly return contents of
+       structures passed in memory.
+
+       * infcmd.c (print_return_value): Move CHECK_TYPEDEF up.  Deal with
+       RETURN_VALUE_ABI_PRESERVED_ADDRESS.
+
+       * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
+       deals with the broken GCC convention.
+       
+2005-08-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Set condition
+       register appropriately for varargs functions.
+
+2005-08-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * MAINTAINERS (ms1): New target ISA entry.  List myself as
+       maintainer.
+
+2005-08-15  Michael Snyder  <msnyder@redhat.com>
+            Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (ms1-tdep.o): Add dependencies.
+       * configure.tgt: Add ms1-*-* target.
+       * ms1-tdep.c: New file.
+       * config/ms1/ms1.mt: New file.
+
+2005-08-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * Makefile.in (m68kbsd-tdep.o): Ad missing space.
+
+2005-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
+       op1_afi, op2_afi, op1_algfi, op2_algfi, op1_alfi, op2_alfi,
+       op1_slgfi, op2_slgfi, op1_slfi, op2_slfi): New opcode enums.
+       (s390_analyze_prologue): Recognize new z9-109 instructions.
+
+2005-08-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
+       appropriate.
+
+       * inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
+       code...
+       (inf_ptrace_post_startup_inferior): ...here.  New function.
+       (inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Move code...
+       (inf_ptrace_post_attach): ...here.
+       (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set
+       to_post_startup_inferior and to_post_attch.
+
+       * sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
+
+       * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
+       "__sighndlr".
+
+2005-08-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-linux-nat.c (fetch_register, store_register) 
+       (supply_gregset, fill_gregset): Remove redundant casts.
+
+2005-08-12  Kris Warkentin  <kewarken@qnx.com>
+
+       * i386-nto-tdep.c (i386nto_init_abi): Don't set gdbarch skip
+       trampoline code hook.
+       * nto-procfs.c (procfs_post_attach): Call solib_create_inferior_hook
+       instead of  SOLIB_CREATE_INFERIOR_HOOK.
+       (procfs_create_inferior): Ditto.
+       * config/tm-nto.h: Don't define SKIP_TRAMPOLINE_CODE.
+
+2005-08-11  Andreas Schwab  <schwab@suse.de>
+
+       PR exp/1978
+       * valarith.c (value_binop): Fix result type for the shift
+       operators.
+
+2005-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc64obsd-tdep.c: Tweak comments.
+       (sparc64obsd_sigreturn_offset): Add offset for new OpenBSD 3.8
+       signal trampoline.
+
+2005-08-09  Andrew Cagney  <cagney@gnu.org>
+
+       * linux-nat.h (linux_proc_xfer_memory): Change type of "myaddr" a
+       "gdb_byte" pointer.
+       * linux-nat.c (linux_proc_xfer_memory): Update.
+       (get_signo): Cast signo to a "gdb_byte" pointer.
+       * i386-linux-nat.c (child_resume): Make "buf" a gdb_byte, delete
+       redundant casts.
+       (child_resume): Cast eflags to a "gdb_byte" pointer.
+
+2005-08-08  Mark Kettenis  <kettenis@gnu.org>
+
+       * tramp-frame.h (struct tramp_frame): Allow for 16 instructions
+       instead of 8.
+       * m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
+       "tramp-frame.h".
+       (m68kobsd_sigtramp_cache_init): New function.
+       (m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.
+
+2005-08-02  Fred Fish  <fnf@specifix.com>
+
+       * defs.h (parse_frame_specification): Remove prototype.
+       * stack.c (parse_frame_specification): Add prototype and
+       make function static.
+       (frame_info): Move common code outside if..then..else.
+
+2005-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * value.c (value_contents_writeable): Use value_contents_raw.
+
+2005-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       Suggested by Shaun Jackman <sjackman@gmail.com>:
+       * defs.h (print_transfer_performance): Update prototype.
+       * m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday
+       for print_transfer_performance.
+       * remote-m32r-sdi.c (m32r_load): Likewise.
+       * symfile.c (generic_load): Likewise.
+       (report_transfer_performance): Create a dummy struct timeval.
+       (print_transfer_performance): Use a more accurate measure
+       of performance.
+
+2005-08-01  Fred Fish  <fnf@specifix.com>
+
+       * stack.c (parse_frame_specification_1): Remove use of obsolete
+       SETUP_ARBITRARY_FRAME macro.
+
+2005-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2-frame.c (read_signed_leb128): Handle values that do not
+       fit in 32 bits.
+       * dwarf2read.c (read_signed_leb128): Likewise.
+
+2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       From Josef Ezra <jezra@emc.com>:
+       * tracepoint.c (stringify_collection_list): Correct pointer
+       arithmetic.
+
+2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       Suggested by Vladimir Prus <ghost@cs.msu.su>:
+       * infrun.c (handle_inferior_event): Check for line information in
+       undebuggable functions.
+
+2005-07-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add
+       ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF.
+       * complaints.c (vcomplaint): Likewise.
+       * defs.h (xvasprintf, xstrvprintf, verror, vfatal)
+       (internal_verror, internal_vwarning, vwarning)
+       (deprecated_query_hook, deprecated_warning_hook)
+       (deprecated_readline_begin_hook): Likewise.
+       * disasm.c (fprintf_disasm): Likewise.
+       * exceptions.c (throw_it): Likewise.
+       * exceptions.h (throw_verror, throw_vfatal): Likewise.
+       * mi/mi-interp.c (mi_interp_query_hook): Likewise.
+       * mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
+       * tui/tui-hooks.c (tui_query_hook): Likewise.
+       * tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt):
+       Likewise.
+       * ui-out.c (default_field_fmt, default_message, uo_field_fmt)
+       (uo_message): Likewise.
+       * ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype)
+       (message_ftype): Likewise.
+       * utils.c (vfprintf_maybe_filtered, internal_vproblem)
+       (defaulted_query, printchar): Likewise.
+       
+2005-07-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.
+       (i386obsd_sigtramp_p): Deal with an arbitrary number of possible
+       offsets.
+       (i386obsd_aout_supply_regset): Avoid bogus cast.
+
+2005-07-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
+       New function.
+       (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
+       PTRACE_FORK event flag.
+       (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
+       event.
+       (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
+
+2005-07-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
+       defined.
+       * inf-ptrace.c: Tweak comments.
+       (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero.
+       (inf_ptrace_mourn_inferior): Call waitpid.
+       (inf_ptrace_attach): Use pid_t, Remove unnecessary cast.
+       (inf_ptrace_detach): Use pid_t.  Use ptid_get_pid instead of
+       PIDGET.
+       (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior.  Use
+       pid_t.  Use ptid_get_pid instead of PIDGET.
+       (inf_ptrace_kill): Call waitpid instead of wait.
+       (inf_ptrace_resume): Use pid_t.  Use ptid_get_pid instead of
+       PIDGET.
+       (inf_ptrace_wait): Use waitpid instead wait.  Use pid_t.  Don't
+       call target_has_exited or target_thread_alive.  Properly ignore
+       terminated detached child processes.
+       (inf_ptrace_has_exited): Remove function.
+       (inf_ptrace_xfer_partial): Use pid_t.  Use ptid_get_pid instead of
+       PIDGET.  Use gdb_byte instead of `unsigned char'.
+       (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET.
+       (inf_ptrace_pid_to_str): Remove function.
+       (inf_ptrace_target): Use inf_ptrace_kill instead of
+       inf_ptrace_kill_inferior.  Use normal_pid_to_str instead of
+       inf_ptrace_pid_to_str.  Don't set to_has_exited.
+       (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat
+       long lines.
+
+2005-07-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * inf-ptrace.c: Reorder functions.
+       (inf_ptrace_open, inf_ptrace_reported_exec_events_per_call)
+       (inf_ptrace_can_run, inf_ptrace_post_attach): Removed.
+       (inf_ptrace_target): Don't set to_open,
+       to_reported_exec_events_per_call, to_can_run, to_post_attach,
+       to_stratum, to_has_all_memory, to_has_memory, to_has_stack,
+       to_has_registers, to_has_execution, to_magic.  Reorder remaining
+       initializations.
+
+2005-07-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * configure.ac: On MinGW, do not require a termcap library, and
+       use win32-termcap.c.
+       * configure: Regenerated.
+       * win32-termcap.c: New file.
+
 2005-07-24  Mark Mitchell  <mark@codesourcery.com>
 
        * ser-tcp.c (close): Define as a function-like macro on MinGW.
This page took 0.028971 seconds and 4 git commands to generate.