ARM BE8 support.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5e6ad60772453e9f5ffa657bae20ac10579c609a..fbe50881beaae2ede9cc8268bc132459259c2283 100644 (file)
@@ -1,7 +1,136 @@
+2008-08-11  Stan Shebs  <stan@codesourcery.com>
+
+       ARM BE8 support.
+       * disasm.c (gdb_disassemble_info): Set endian_code.
+       * gdbarch.sh (gdbarch_info): New field byte_order_for_code.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * arch-utils.c (initialize_current_architecture): Set the
+       default byte_order_for_code.
+       (gdbarch_info_init): Ditto.
+       (gdbarch_info_fill): Ditto.
+       * arm-tdep.c (SWAP_INT, SWAP_SHORT): New macros.
+       (thumb_analyze_prologue): Swap halfword if code endianness is
+       different from general endianness.
+       (arm_skip_prologue): Similarly.
+       (arm_scan_prologue): Ditto.
+       (thumb_get_next_pc): Ditto.
+       (arm_get_next_pc): Ditto.
+       (arm_gdbarch_init): Set byte_order_for_code from BE8 flag,
+       choose correct endianness for breakpoints.
+
+2008-08-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * bsd-kvm.c: Include "gdbthread.h".
+       (bsd_kvm_ptid): New.
+       (bsd_kvm_open): Add a main thread.
+       (bsd_kvm_close): Delete it.
+       (bsd_kvm_thread_alive): New.
+       (bsd_kvm_pid_to_str): New.
+       (bsd_kvm_add_target): Register bsd_kvm_thread_alive and
+       bsd_kvm_pid_to_str.
+       (bsd_kvm_add_target): Initialize bsd_kvm_ptid.
+
+2008-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * buildsym.c (start_subfile): Properly cast sentinel in concat
+       call.
+       * cp-name-parser.y: Include "config.h".
+       * xml-tdesc.c (fetch_xml_from_file): Properly cast sentinel in
+       concat call.
+       * gdb_select.h: Include sys/time.h if sys/select.h is not
+       available.
+
+2008-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * go32-nat.c: Include "gdbthread.h".
+       (go32_stop, go32_kill_inferior): Delete the main thread.
+       (go32_create_inferior): Add it.
+       (go32_thread_alive, go32_pid_to_str): New.
+       (init_go32_ops): Register go32_thread_alive and go32_pid_to_str.
+
+2008-08-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * go32-nat.c (fetch_register, store_register): Pass the regcache
+       gdbarch to i386_fp_regnum_p and i386_fpc_regnum_p.
+       (go32_xfer_memory): Change type of myaddr parameter to gdb_byte.
+       (struct seg_descr, struct seg_descr): pack the whole struct
+       instead of each member individually.
+
+2008-08-09  Andreas Schwab  <schwab@suse.de>
+
+       * python/python.c (_initialize_python): Use unabbreviated commands
+       in prefix name.
+
+2008-08-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (stamp-h): Also create .deps.
+
+2008-08-09  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (generated_files): Add GNULIB_H.
+
+2008-08-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * solib-pa64.c (pa64_solib_create_inferior_hook): Don't set
+       DT_HP_DEBUG_PRIVATE.  Add warning if DT_HP_DEBUG_PRIVATE is not set.
+       Revise comment.
+       (pa64_current_sos): Remove map private warning warning.
+       * solib-som.c: Include string.h and sys/utsname.h.
+       (get_hpux_major_release): New function.
+       (som_solib_create_inferior_hook): Read dynamic linker header.  Warn
+       about shared library private mapping on HP-UX 11 and later.  Only force
+       private mapping of shared libraries on HP-UX 10 and earlier.
+       (link_map_start): Delete warning.
+
+2008-08-09  Xuepeng Guo  <xuepeng.guo@intel.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+           Mark Kettenis <kettenis@gnu.org>
+
+       * amd64-tdep.c (amd64_frame_cache): Add saved_sp_reg.
+       (amd64_init_frame_cache): Initialize saved_sp_reg.
+       (amd64_analyze_stack_align): New.
+       (amd64_analyze_prologue): Call it.
+       (amd64_frame_cache): Use saved_sp_reg if it is invalid.  Don't set
+       %rip to 8 when halfway aligning the stack.
+
+       * amd64-tdep.h (amd64_regnum): Add AMD64_R9_REGNUM to
+       AMD64_R14_REGNUM.
+
+       * i386-tdep.c (i386_frame_cache): Remove stack_align.  Add
+       saved_sp_reg.
+       (i386_alloc_frame_cache): Remove stack_align.  Initialize
+       saved_sp_reg to -1.
+       (i386_analyze_stack_align): Rewrite.
+       (i386_frame_cache): Use saved_sp_reg if it is valid.
+
+2008-08-09  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * target.c: Include "solib.h".
+       (target_pre_inferior): Call no_shared_libraries.
+       * infcmd.c (run_command_1): Do not call objfile_purge_solibs
+       or clear_solib.
+       (attach_command): Do not call clear_solib.
+
+2008-08-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386obsd-nat.c (i386obsd_supply_pcb): Supply the right bytes for
+       the %eip register.
+
+2008-08-08  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (python.o): Remove dependencies.  Use COMPILE and
+       POSTCOMPILE.
+       (python-utils.o): Likewise.
+
+2008-08-08  Andreas Schwab  <schwab@suse.de>
+
+       * corefile.c (_initialize_core): Remove spurious paren from set
+       gnutarget doc string.
+
 2008-08-08  Luis Machado  <luisgpm@br.ibm.com>
 
        * ppc-linux-nat.c: Include "auxv.h" and "elf/common.h".
-       Define PPC_FEATURE_BOOKE.       
+       Define PPC_FEATURE_BOOKE.
        (ppc_linux_get_hwcap): New function.
        (ppc_linux_region_ok_for_hw_watchpoint): Handle PowerPC 440
        4-bytes alignment restrictions.
 
 2008-08-06  Phil Muldoon  <pmuldoon@redhat.com>
 
-        * MAINTAINERS (Write After Approval): Add self.
+       * MAINTAINERS (Write After Approval): Add self.
 
 2008-08-06  Phil Muldoon  <pmuldoon@redhat.com>
 
        * configure.ac: Don't check if ../itcl exists when building
        gdbtk. It could be installed.
        Rewrite gdbtk configury to allow for using system-supplied
-       Tcl and Tk. Gdbtk no longer requires build-time access to 
+       Tcl and Tk. Gdbtk no longer requires build-time access to
        itcl and itk.
        * Makefile.in: Remove everything related to itcl and itk.
        Rewrite the Tcl bits for gdbtk to correspond to rewrite of
        (ALL_TCL_CFLAGS): New convenience defintion. Change all
        gdbtk sources to use it.
        * configure: Regenerate.
-       
+
 2008-07-31  Stan Shebs  <stan@codesourcery.com>
 
        * coffread.c (coff_symtab_read): Remove FUNCTION_EPILOGUE_SIZE.
 2008-07-26  Vladimir Prus  <vladimir@codesourcery.com>
 
        Kill cmd_async_ok.
-        * cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
-        (get_cmd_async_ok): Remove.
-        * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
-        * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
-        * infcmd.c (_initialize_infcmd): Likewise.
-        * thread.c (_initialize_thread): Likewise.
+       * cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
+       (get_cmd_async_ok): Remove.
+       * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
+       * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
+       * infcmd.c (_initialize_infcmd): Likewise.
+       * thread.c (_initialize_thread): Likewise.
 
 2008-07-25  Joseph Myers  <joseph@codesourcery.com>
 
        * nto-procfs.c (procfs_xfer_memory): Changed signature.
        (procfs_resume): Workaround for dereferencing type-punned pointer
        warning.
-       * nto-tdep.c (nto_parse_redirection): Change signature to be const 
+       * nto-tdep.c (nto_parse_redirection): Change signature to be const
        correct.
        * nto-tdep.h (nto_parse_redirection): Likewise.
 
        * observer.sh: Handle functions with no arguments.
 
 2008-07-20  Sergei Poselenov  <sposelenov@emcraft.com>
-            Chris Demetriou  <cgd@google.com>
+           Chris Demetriou  <cgd@google.com>
 
        * elfread.c (elf_symfile_segments): Fix the check that each loadable
        section fits within an ELF segment to handle ELF segments that hit
This page took 0.027063 seconds and 4 git commands to generate.