deliverable/binutils-gdb.git
15 years ago * target.c (target_xfer_partial): Use host_address_to_string to
Joel Brobecker [Sun, 11 Jan 2009 13:23:42 +0000 (13:23 +0000)] 
    * target.c (target_xfer_partial): Use host_address_to_string to
        print the address of readbuf and writebuf. Cast the address of
        elements inside the myaddr buffer into intptr_t.
        (deprecated_debug_xfer_memory): Use paddress to print memaddr.
        Cast the address of elements inside the myaddr buffer into
        intptr_t.

15 years ago * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
Joel Brobecker [Sun, 11 Jan 2009 13:15:56 +0000 (13:15 +0000)] 
    * amd64-windows-nat.c, amd64-windows-tdep.c: New files.
        * config/i386/mingw64.mh, config/i386/nm-cygwin64.h: New files.
        * configure.host, configure.tgt: Add handling for x86_64/windows.
        * config/djgpp/fnchange.lst: Add entries for amd64-windows-nat.c
        and amd64-windows-tdep.c.

15 years ago * win32-tdep.h, win32-tdep.c: New files.
Joel Brobecker [Sun, 11 Jan 2009 13:10:44 +0000 (13:10 +0000)] 
    * win32-tdep.h, win32-tdep.c: New files.
        * i386-cygwin-tdep.h: Delete.
        * i386-cygwin-tdep.c: Include win32-tdep.h instead of
        i386-cygwin-tdep.h.
        (win32_xfer_shared_library): Delete.  Moved to win32-tdep.c.
        * win32-nat.c: Likewise.
        * configure.tgt: Add win32-tdep.o to the list of target object
        files for i386-cygwin and i386-mingw targets.

15 years ago * win32-nat.h: New file.
Joel Brobecker [Sun, 11 Jan 2009 04:13:57 +0000 (04:13 +0000)] 
    * win32-nat.h: New file.
        * win32-nat.c (mappings): Initialize to NULL.
        (win32_set_context_register_offsets): New function.
        * i386-windows-nat.c: New file.
        (mappings): Moved here from win32-nat.c.
        (_initialize_i386_windows_nat): New function.
        * config/i386/mingw.mh (NATDEPFILES): Add i386-windows-nat.o.
        * config/i386/cygwin.mh (NATDEPFILES): Likewise.

15 years agodaily update
Alan Modra [Sun, 11 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 11 Jan 2009 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agoReformat.
H.J. Lu [Sat, 10 Jan 2009 18:38:12 +0000 (18:38 +0000)] 
Reformat.

15 years ago2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 10 Jan 2009 18:33:35 +0000 (18:33 +0000)] 
2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* doc/c-i386.texi: Reformat.

15 years agogas/
H.J. Lu [Sat, 10 Jan 2009 17:25:52 +0000 (17:25 +0000)] 
gas/

2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
.syscall.
(i386_align_code): Handle PROCESSOR_COREI7.
(md_show_usage): Add corei7, clflush and syscall.
(i386_target_format): Replace cpup4 with cpuclflush.

* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.

* doc/c-i386.texi: Document corei7, clflush and syscall.

gas/testsuite/

2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add clflush and syscall.
* gas/i386/x86-64-arch-2.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.

opcodes/

2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
CpuClflush and CpuSYSCALL, respectively. Remove CpuK8.  Add
CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
(cpu_flags): Remove CpuP4, CpuK6 and CpuK8.  Add CpuClflush
and CpuSYSCALL.
(lineno): Removed.
(set_bitfield): Take an argument, lineno.  Don't report lineno
on error if it is -1.
(process_i386_cpu_flag): Take an argument, lineno.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(output_i386_opcode): Likewise.
(opcode_hash_entry): Add lineno.
(process_i386_opcodes): Updated.
(process_i386_registers): Likewise.
(process_i386_initializers): Likewise.

* i386-opc.h (CpuP4): Removed.
(CpuK6): Likewise.
(CpuK8): Likewise.
(CpuClflush): New.
(CpuSYSCALL): Likewise.
(CpuMMX): Updated.
(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8.  Add
cpuclflush and cpusyscall.

* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
syscall and sysret.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years agodaily update
Alan Modra [Sat, 10 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 10 Jan 2009 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.
Andreas Schwab [Fri, 9 Jan 2009 21:15:10 +0000 (21:15 +0000)] 
* Makefile.in (init.c): Set LANG/LC_ALL to C, not c.

15 years agogas/
H.J. Lu [Fri, 9 Jan 2009 20:32:32 +0000 (20:32 +0000)] 
gas/

2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (cpu_arch): Add .rdtscp.
(md_show_usage): Display rdtscp.

* doc/c-i386.texi: Document rdtscp.

gas/testsuite/

2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.s: Add rdtscp.
* gas/i386/x86-64-arch-2.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.

opcodes/

2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuRdtscp to CPU_K8_FLAGS
and CPU_AMDFAM10_FLAGS.  Add CPU_RDTSCP_FLAGS.
(cpu_flags): Add CpuRdtscp.
(set_bitfield): Remove CpuSledgehammer check.

* i386-opc.h (CpuRdtscp): New.
(CpuLM): Updated.
(i386_cpu_flags): Add cpurdtscp.

* i386-opc.tbl: Replace CpuSledgehammer with CpuRdtscp.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years agogas/
Peter Bergner [Fri, 9 Jan 2009 18:50:58 +0000 (18:50 +0000)] 
gas/
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
Test the new "deprecated" opcode field.

include/opcode/
* ppc.h (struct powerpc_opcode): New field "deprecated".
(PPC_OPCODE_NOPOWER4): Delete.

opcodes/
* ppc-opc.c (PPCNONE): Define.
(NOPOWER4): Delete.
(powerpc_opcodes): Initialize the new "deprecated" field.

15 years ago * gdbtypes.c (append_composite_type_field): Correct the location of
Pedro Alves [Fri, 9 Jan 2009 17:41:53 +0000 (17:41 +0000)] 
* gdbtypes.c (append_composite_type_field): Correct the location of
appended fields.

15 years ago * defs.h (deprecated_error_hook): Delete declaration.
Pedro Alves [Fri, 9 Jan 2009 17:29:52 +0000 (17:29 +0000)] 
* defs.h (deprecated_error_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Adjust.
* remote-sim.c (gdb_os_error): Don't try to call
deprecated_error_hook.  No need to call exit anymore.
* top.c (deprecated_error_hook): Delete.

15 years ago * arch-utils.c (gdbarch_update_p): Use host_address_to_string
Joel Brobecker [Fri, 9 Jan 2009 11:09:08 +0000 (11:09 +0000)] 
    * arch-utils.c (gdbarch_update_p): Use host_address_to_string
        to print the address of the gdbarch pointer.

15 years ago * gdbarch.sh: Fix all the compilation errors on amd64-windows
Joel Brobecker [Fri, 9 Jan 2009 11:06:48 +0000 (11:06 +0000)] 
    * gdbarch.sh: Fix all the compilation errors on amd64-windows
        due to casting a pointer to a long when printing a function
        address. Instead, use host_address_to_string to convert our
        address to a string.
        * gdbarch.c: Regenerate.

15 years ago * event-top.c (async_disconnect, async_stop_sig): use "raise"
Joel Brobecker [Fri, 9 Jan 2009 11:00:00 +0000 (11:00 +0000)] 
    * event-top.c (async_disconnect, async_stop_sig): use "raise"
        instead of "kill" to raise a signal.

15 years ago * win32-nat.c (get_module_name): Change the type of parameter
Joel Brobecker [Fri, 9 Jan 2009 10:58:26 +0000 (10:58 +0000)] 
    * win32-nat.c (get_module_name): Change the type of parameter
        "base_address" to LPVOID.  Remove unnecessary cast.
        (struct lm_info): Change type of load_addr to LPVOID.
        (win32_make_so): Change the type of parameter "load_addr"
        to LPVOID.  Remove some unnecessary casts.
        (handle_unload_dll): Change the type of "lpBaseOfDll" to LPVOID.
        (win32_xfer_shared_libraries): Add missing cast.

15 years ago * win32-nat.c (has_detach_ability, set_process_privilege):
Joel Brobecker [Fri, 9 Jan 2009 10:48:36 +0000 (10:48 +0000)] 
    * win32-nat.c (has_detach_ability, set_process_privilege):
        Cast the result of GetProcAddress to (void *) to avoid
        a compilation warning.

15 years ago * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
Joel Brobecker [Fri, 9 Jan 2009 10:45:42 +0000 (10:45 +0000)] 
    * win32-nat.c (CONTEXT_EXTENDED_REGISTERS): Define to 0 if not
        already defined.

15 years ago * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
Joel Brobecker [Fri, 9 Jan 2009 10:43:37 +0000 (10:43 +0000)] 
    * win32-nat.c (get_image_name, win32_xfer_memory): Fix type
        definition of local variable "done".
        (info_w32_command, handle_exception): Remove unnecessary cast.

15 years ago * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
Joel Brobecker [Fri, 9 Jan 2009 10:39:15 +0000 (10:39 +0000)] 
    * win32-nat.c (kernel32_DebugSetProcessKillOnExit): Renames
        DebugSetProcessKillOnExit.  Update all uses in this file.
        (kernel32_DebugActiveProcessStop): Renames DebugActiveProcessStop.
        Update all uses in this file.

15 years ago * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
Joel Brobecker [Fri, 9 Jan 2009 10:36:00 +0000 (10:36 +0000)] 
    * win32-nat.c (do_initial_win32_stuff): Add new ops parameter,
        and use it when pushing the target.
        (win32_attach, win32_create_inferior): Update call to
        do_initial_win32_stuff.
        (win32_detach, win32_mourn_inferior): Use our ops parameter
        instead of the global win32_ops to unpush the target.

15 years ago * ser-mingw.c (ser_windows_open): Use proper type when casting
Joel Brobecker [Fri, 9 Jan 2009 10:32:34 +0000 (10:32 +0000)] 
    * ser-mingw.c (ser_windows_open): Use proper type when casting
        in call to _open_osfhandle.

15 years ago2009-01-09 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Fri, 9 Jan 2009 09:33:31 +0000 (09:33 +0000)] 
2009-01-09  Kai Tietz  <kai.tietz@onevision.com>

        * coff-pe-read.c (read_pe_exported_syms): Fix typo.

15 years ago * CONTRIBUTE: Minor reformatting.
Joel Brobecker [Fri, 9 Jan 2009 04:46:22 +0000 (04:46 +0000)] 
    * CONTRIBUTE: Minor reformatting.

15 years ago*** empty log message ***
gdbadmin [Fri, 9 Jan 2009 00:00:34 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Fri, 9 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 20:53:32 +0000 (20:53 +0000)] 
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* coff-pe-read.c (read_pe_exported_syms): Enable read of PE+
export directory.

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 20:46:13 +0000 (20:46 +0000)] 
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* MAINTAINERS: Add myself to Write After Approval.

15 years ago * remote-sim.c (gdb_os_error): Mark as a noreturn function.
Nathan Froyd [Thu, 8 Jan 2009 19:19:27 +0000 (19:19 +0000)] 
* remote-sim.c (gdb_os_error): Mark as a noreturn function.
Call exit to make it obvious to GCC.

15 years ago PR breakpoints/9350:
Tom Tromey [Thu, 8 Jan 2009 16:32:30 +0000 (16:32 +0000)] 
PR breakpoints/9350:
* varobj.c (varobj_invalidate): Unconditionally free
all_rootvarobj.
* symfile.c (syms_from_objfile): Free local_addr when returning
normally.
* exec.c (exec_file_attach): Do cleanups before returning.
(exec_file_command): Likewise.
* corefile.c (reopen_exec_file): Do cleanups before returning.
* breakpoint.c (insert_breakpoint_locations): Do cleanups before
returning.
(do_vec_free): New function.
(update_global_location_list): Make a cleanup for old_locations.
Do cleanups before returning.  Remove unused variable 'e'.
(find_condition_and_thread): Free result of parsing the
expression.
(print_it_typical): Do cleanups before returning.
(breakpoint_re_set_one): Always free sals.sals.

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 13:29:14 +0000 (13:29 +0000)] 
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* dlltool.c (use_nul_prefixed_import_tables): New.
(make_head): Make prefix leading zero prefix element for
idata$4 and idata$5 dependent to new flag.
(usage): Add new option  --use-nul-prefixed-import-tables.
(OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
(long_options): Add --use-nul-prefixed-import-tables.
(main): Likewise.
* doc/binutils.texi: Add new option documentation for
--use-nul-prefixed-import-tables.
* NEWS: Add new option.

15 years ago2009-01-08 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 8 Jan 2009 13:28:48 +0000 (13:28 +0000)] 
2009-01-08  Kai Tietz  <kai.tietz@onevision.com>

* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
(gld..._add_options): Add new option
--use-nul-prefixed-import-tables.
(gld..._handle_option): Likewise.
* pep.em: Same as for pe.em.
* ld.texinfo: Add new option documentation for
--use-nul-prefixed-import-tables.
* pe-dll.c (pe_use_nul_prefixed_import_tables): New.
(make_head): Make prefix leading zero prefix element for
idata$4 and idata$5 dependent to new flag.
(make_import_fixup_entry): Remove idata4/5 prefix.
* pe-dll.h (pe_use_nul_prefixed_import_tables): New.
* pep-dll.c (pe_use_nul_prefixed_import_tables): New.
* pep-dll.h (pep_use_nul_prefixed_import_tables): New.
* NEWS: Add new option.

15 years ago* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
Emi Suzuki [Thu, 8 Jan 2009 03:58:06 +0000 (03:58 +0000)] 
* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
watchpoints.

15 years ago*** empty log message ***
gdbadmin [Thu, 8 Jan 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Thu, 8 Jan 2009 00:00:04 +0000 (00:00 +0000)] 
daily update

15 years ago * top.c (gdb_prompt_string): Delete, unused.
Doug Evans [Wed, 7 Jan 2009 22:04:47 +0000 (22:04 +0000)] 
* top.c (gdb_prompt_string): Delete, unused.

15 years agogdb/
Pedro Alves [Wed, 7 Jan 2009 21:42:50 +0000 (21:42 +0000)] 
gdb/
2009-01-07  Pedro Alves  <pedro@codesourcery.com>

Delete ONE_PROCESS_WRITETEXT leftovers.

* breakpoint.c (insert_bp_location): Delete process_warning
argument.  Adjust.
(insert_breakpoint_locations): Adjust.
(reattach_breakpoints): Adjust.
* infrun.c (normal_stop): Drop "It might be running in another
process" notice.

gdb/doc/
2009-01-07  Pedro Alves  <pedro@codesourcery.com>

* gdb.texinfo (Error in Breakpoints): Delete mention of "The same
program may be running in another process" errors.
* gdbint.texinfo (Native Conditionals): Delete
ONE_PROCESS_WRITETEXT description.

15 years ago * version.cc (version_string): Bump to 1.8.
Ian Lance Taylor [Wed, 7 Jan 2009 21:39:25 +0000 (21:39 +0000)] 
* version.cc (version_string): Bump to 1.8.

15 years ago * config/pa/linux.mh (XDEPFILES): Remove.
Stan Shebs [Wed, 7 Jan 2009 21:21:11 +0000 (21:21 +0000)] 
* config/pa/linux.mh (XDEPFILES): Remove.

15 years ago * cli/cli-cmds.c (set_debug): Fix cut-n-paste error.
Doug Evans [Wed, 7 Jan 2009 20:38:16 +0000 (20:38 +0000)] 
* cli/cli-cmds.c (set_debug): Fix cut-n-paste error.

15 years agomerge from gcc
DJ Delorie [Wed, 7 Jan 2009 18:52:57 +0000 (18:52 +0000)] 
merge from gcc

15 years ago2009-01-07 Sterling Augustine <sterling@tensilica.com>
Sterling Augustine [Wed, 7 Jan 2009 17:41:09 +0000 (17:41 +0000)] 
2009-01-07  Sterling Augustine  <sterling@tensilica.com>

* config/tc-xtensa.c (produce_flix): New.
(option_flix, optoin_no_generate_flix, option_no_flix) Define.
(md_longopts): Add support for them.
(md_parse_option): Likewise.
(md_show_usage): Add help message.
(finish_vinsn): Don't allow multi-slot flix when produce_flix
option is set to FLIX_NONE.
* config/xtensa-relax.c (transition_applies): Only relax to
flix branches when produce_flix equals FLIX_ALL.
* config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
FLIX_NONE): New.
(produce_flix): Declare.

15 years agogdb/
Jan Kratochvil [Wed, 7 Jan 2009 12:39:13 +0000 (12:39 +0000)] 
gdb/
* f-typeprint.c (f_type_print_base <TYPE_CODE_STRUCT>): Fix output
spacing, a regression from 2008-04-22.

gdb/testsuite/
* gdb.fortran/derived-type.exp: New variables int4 and real4.  Match
now the output exactly, using less wildcards.  Expect also the output
of gfortran-4.3.  Update for the f-valprint.c modification from
2008-04-22.
* gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
Remove gdb_test test names where matching the command.

15 years ago * utils.c (gdb_print_host_address): Adjust implementation to
Joel Brobecker [Wed, 7 Jan 2009 12:11:07 +0000 (12:11 +0000)] 
    * utils.c (gdb_print_host_address): Adjust implementation to
        reuse host_address_to_string. Move comment explaining the conversion
        from host address to string from here...
        (host_address_to_string): ... to there.

15 years ago* MAINTAINERS: Add myself for write after approval privileges.
Emi Suzuki [Wed, 7 Jan 2009 09:28:31 +0000 (09:28 +0000)] 
* MAINTAINERS: Add myself for write after approval privileges.

15 years ago * gdbint.texinfo (Start of New Year Procedure): Add the "coding"
Joel Brobecker [Wed, 7 Jan 2009 04:42:45 +0000 (04:42 +0000)] 
    * gdbint.texinfo (Start of New Year Procedure): Add the "coding"
        emacs local variable to be placed at the end of the ChangeLog.
        Add server.c and gdbreplay.c to the list of files where the
        copyright year needs to be updated.

15 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
Hans-Peter Nilsson [Wed, 7 Jan 2009 03:28:45 +0000 (03:28 +0000)] 
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>
<case R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: For a symbol defined in
the program, the known offset starts at the negative size of the
TLS section.
<case R_CRIS_32_IE, R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>:
Similar.

15 years ago * ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
Hans-Peter Nilsson [Wed, 7 Jan 2009 03:27:11 +0000 (03:27 +0000)] 
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-21.d,
ld-cris/tls-e-23.d, ld-cris/tls-e-66.d, ld-cris/tls-gd-3.d,
ld-cris/tls-gd-3h.d, ld-cris/tls-global-74.d,
ld-cris/tls-ie-8e1.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-le-12.d, ld-cris/tls-le-13.d,
ld-cris/tls-le-13s.d, ld-cris/tls-legd-16.d,
ld-cris/tls-legd-17.d, ld-cris/tls-legdx-16.d,
ld-cris/tls-legdx-17.d, ld-cris/tls-leie-18.d,
ld-cris/tls-leie-19.d, ld-cris/tls-local-57.d,
ld-cris/tls-local-58.d, ld-cris/tls-local-59.d: Adjust for
relocation value now offset by negative program TLS block size.
* ld-cris/tls-le-12s.d: Ditto.  Move 128-byte tls-data to last.
Adjust accordingly.
* ld-cris/tls-le-12s.s: Use movs, not movu, for sign-extended
always-negative relocation.
* ld-cris/tls-tprelm.s: Move filler data to after symbol for
tested relocation.
* ld-cris/tls-ok-36.d: Adjust accordingly.

15 years ago * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
Hans-Peter Nilsson [Wed, 7 Jan 2009 01:13:36 +0000 (01:13 +0000)] 
* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
variant; UQI, UHI, USI, UDI, and cast the result to the signed
type, QI, HI, SI, DI.

15 years ago * cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
Hans-Peter Nilsson [Wed, 7 Jan 2009 01:12:51 +0000 (01:12 +0000)] 
* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
variant; UQI, UHI, USI, UDI, and cast the result to the signed
type, QI, HI, SI, DI.

15 years ago * sem.c: Regenerate.
Hans-Peter Nilsson [Wed, 7 Jan 2009 01:10:24 +0000 (01:10 +0000)] 
* sem.c: Regenerate.

15 years ago * frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI.
Hans-Peter Nilsson [Wed, 7 Jan 2009 01:09:24 +0000 (01:09 +0000)] 
* frv.cpu (mabshs): Explicitly sign-extend arguments of abs to DI.
(DI-ext-HI, DI-ext-UHI, DI-ext-DI): New pmacros.
(media-arith-sat-semantics): Explicitly sign- or zero-extend
arguments of "operation" to DI using "mode" and the new pmacros.

15 years ago * value.c (set_internalvar): Use value_free, not xfree.
Tom Tromey [Wed, 7 Jan 2009 00:45:54 +0000 (00:45 +0000)] 
* value.c (set_internalvar): Use value_free, not xfree.

15 years ago*** empty log message ***
gdbadmin [Wed, 7 Jan 2009 00:00:35 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Wed, 7 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago * callback.c (os_error): Mark as being a noreturn function.
Hans-Peter Nilsson [Tue, 6 Jan 2009 23:39:28 +0000 (23:39 +0000)] 
* callback.c (os_error): Mark as being a noreturn function.
* sim-io.h (sim_io_error): Similar for sim_io_error.

15 years ago * callback.h (struct host_callback_struct): Mark member error as
Hans-Peter Nilsson [Tue, 6 Jan 2009 23:38:44 +0000 (23:38 +0000)] 
* callback.h (struct host_callback_struct): Mark member error as
pointing to a noreturn function.

15 years ago * sim/cris/c/mmap5.c, sim/cris/c/mmap6.c, sim/cris/c/mmap7.c,
Hans-Peter Nilsson [Tue, 6 Jan 2009 20:50:10 +0000 (20:50 +0000)] 
* sim/cris/c/mmap5.c, sim/cris/c/mmap6.c, sim/cris/c/mmap7.c,
sim/cris/c/mmap8.c, sim/cris/c/hellodyn3.c: New tests.

15 years ago * cris/traps.c (abort): Define to call sim_io_error.
Hans-Peter Nilsson [Tue, 6 Jan 2009 20:49:00 +0000 (20:49 +0000)] 
* cris/traps.c (abort): Define to call sim_io_error.
(create_map): Make -1 imply a non-fixed address, not 0.  All
callers changed.  Only prefer the next higher unmapped address if
the last mapped address is no less than 0x40000000.  Check that
the address to be mapped is not already mapped.  Update head
comment.
(unmap_pages): Don't call abort when recursive call fails, just
note and return an error if a page in the range couldn't be unmapped.
(cris_bmod_handler, h_supr_set_handler, h_supr_get_handler)
(schedule, make_first_thread, cris_pipe_empty): New local variable sd.
(cris_break_13_handler) <case TARGET_SYS_mmap2>: Handle
non-MAP_FIXED argument overlapping existing map.  For MAP_FIXED,
don't abort on page not being mapped.  Handle non-anon filemap
with length padded to pagesize.

15 years ago2009-01-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Tue, 6 Jan 2009 19:24:28 +0000 (19:24 +0000)] 
2009-01-06  Chao-ying Fu  <fu@mips.com>

* gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr
and jalr.hb.

15 years ago2009-01-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Tue, 6 Jan 2009 19:22:11 +0000 (19:22 +0000)] 
2009-01-06  Chao-ying Fu  <fu@mips.com>

* config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
Use strncmp to match jalr and jalr.hb.
Fix a typo.

15 years ago2009-01-06 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 6 Jan 2009 19:01:36 +0000 (19:01 +0000)] 
2009-01-06  Joel Sherrill <joel.sherrill@oarcorp.com>

* r8c.opc, m32c.opc: Add parentheses to remove warnings.

15 years agoCheck return values of functions declared with warn_unused_result
Jim Blandy [Tue, 6 Jan 2009 18:31:59 +0000 (18:31 +0000)] 
Check return values of functions declared with warn_unused_result
attribute in GLIBC 2.8.
* cli/cli-cmds.c (pwd_command): Check return value from getcwd.
* inflow.c (check_syscall): New function.
(new_tty): Use check_syscall to check return values from open and dup.
* linux-nat.c (linux_nat_info_proc_cmd): Check return value from fgets.
* main.c (captured_main): Call cwd after setting up gdb_stderr;
check for errors from getcwd.
* mi/mi-cmd-env.c (mi_cmd_env_pwd): Check return value from getcwd.
* ui-file.c (stdio_file_write): Ignore return value from fwrite.
(stdio_file_fputs): Same.
* utils.c (internal_vproblem): abort if last-ditch error message
write fails.

15 years ago* top.c (gdb_init): Don't set the current directory here; that's
Jim Blandy [Tue, 6 Jan 2009 18:28:04 +0000 (18:28 +0000)] 
* top.c (gdb_init): Don't set the current directory here; that's
already been done in captured_main.

15 years ago2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Jan 2009 18:20:45 +0000 (18:20 +0000)] 
2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>

* elfcpp.h (enum STT): Remove STT_IFUNC.

15 years agoReformat.
H.J. Lu [Tue, 6 Jan 2009 17:58:19 +0000 (17:58 +0000)] 
Reformat.

15 years agogas/testsuite/
H.J. Lu [Tue, 6 Jan 2009 17:15:28 +0000 (17:15 +0000)] 
gas/testsuite/

2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* gas/i386/avx.s: Add tests for 256bit vmovntdq, vmovntpd and
vmovntps.
* gas/i386/x86-64-avx.s: Likewise.

* gas/i386/avx.d: Updated.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.

opcodes/

2009-01-06  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* i386-dis.c (VEX_LEN_2B_M_0): Removed.
(VEX_LEN_E7_P_2_M_0): Likewise.
(VEX_LEN_2C_P_1): Updated.
(VEX_LEN_E8_P_2): Likewise.
(vex_len_table): Remove VEX_LEN_2B_M_0 and VEX_LEN_E7_P_2_M_0.
(mod_table): Likewise.

* i386-opc.tbl: Add 256bit vmovntdq, vmovntpd and vmovntps.
* i386-tbl.h: Regenerated.

15 years ago2009-01-06 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Tue, 6 Jan 2009 17:07:08 +0000 (17:07 +0000)] 
2009-01-06  Sandra Loosemore  <sandra@codesourcery.com>

gdb/
* ser-tcp.c: Adjust includes.
(tcp_set_cmdlist, tcp_show_cmdlist): Declare.
(tcp_auto_retry, tcp_retry_limit): Declare.
(TIMEOUT): Remove, in favor of tcp_retry_limit.
(POLL_INTERVAL): Increase to 5, in favor of backoff logic.
(wait_for_connect): New function.
(net_open): Use it.  Add auto-retry logic.
(set_tcp_cmd, show_tcp_cmd): New functions.
(_initialize_ser_tcp): Initialize new "set/show tcp auto-retry"
and "set/show tcp connect-timeout" commands.
* NEWS: Document new commands.

gdb/doc/
* gdb.texinfo (Remote Configuration): Document new
"set/show tcp auto-retry" and "set/show tcp connect-timeout"
commands.

15 years ago2009-01-06 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Tue, 6 Jan 2009 15:36:05 +0000 (15:36 +0000)] 
2009-01-06  Kai Tietz  <kai.tietz@onevision.com>

        * windres.c (set_endianess): Get architecture name
        for internal target names like "pe-arm-wince-little".
        (find_arch_match): New helper.
        * ChangeLog: Reset it.
        * ChangeLog-2008: Moved old ChangeLog.

15 years ago2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 6 Jan 2009 14:40:32 +0000 (14:40 +0000)] 
2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>

* config.bfd: Add lm32-*-rtems*.

15 years ago * gdbreplay.c (gdbreplay_version): Update copyright year.
Joel Brobecker [Tue, 6 Jan 2009 04:49:29 +0000 (04:49 +0000)] 
* gdbreplay.c (gdbreplay_version): Update copyright year.
* server.c (gdbserver_version): Likewise.

15 years ago2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 6 Jan 2009 01:14:45 +0000 (01:14 +0000)] 
2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (process_copyright): Update for 2009.

* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

15 years agoAdd new FMA tests.
H.J. Lu [Tue, 6 Jan 2009 01:10:49 +0000 (01:10 +0000)] 
Add new FMA tests.

15 years agogas/
H.J. Lu [Tue, 6 Jan 2009 01:03:27 +0000 (01:03 +0000)] 
gas/

2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
support.  Don't swap REG and NDS for FMA.

gas/testsuite/

2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* gas/i386/arch-10.s: Replace vfmaddpd with vfmadd132pd.
* gas/i386/x86-64-arch-2.s: Likewise.

* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/inval-avx.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-inval-avx.l: Likewise.

* gas/i386/avx.s: Remove vpermil2ps/vpermil2pd and FMA
instructions.  Update tests.
* gas/i386/inval-avx.s: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-inval-avx.s: Likewise.

* gas/i386/fma.d: New.
* gas/i386/fma.s: Likewise.
* gas/i386/fma-intel.d: Likewise.
* gas/i386/x86-64-fma.d: Likewise.
* gas/i386/x86-64-fma.s: Likewise.
* gas/i386/x86-64-fma-intel.d: Likewise.

* gas/i386/i386.exp: Run fma, fma-intel, x86-64-fma and
x86-64-fma-intel.

opcodes/

2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>

AVX Programming Reference (December, 2008)
* i386-dis.c (OP_VEX_FMA): Removed.
(OP_EX_VexW): Likewise.
(OP_EX_VexImmW): Likewise.
(OP_XMM_VexW): Likewise.
(VEXI4_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(VexI4): Likewise.
(VexFMA): Likewise.
(Vex128FMA): Likewise.
(EXVexW): Likewise.
(EXdVexW): Likewise.
(EXqVexW): Likewise.
(EXVexImmW): Likewise.
(XMVexW): Likewise.
(VPERMIL2): Likewise.
(PREFIX_VEX_3A48...PREFIX_VEX_3A4A): Likewise.
(PREFIX_VEX_3A5C...PREFIX_VEX_3A5F): Likewise.
(PREFIX_VEX_3A68...PREFIX_VEX_3A6F): Likewise.
(PREFIX_VEX_3A78...PREFIX_VEX_3A7F): Likewise.
(VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2): Likewise.
(VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2): Likewise.
(get_vex_imm8): Likewise.
(OP_EX_VexReg): Likewise.
vpermil2_op): Likewise.
(EXVexWdq): New.
(vex_w_dq_mode): Likewise.
(PREFIX_VEX_3896...PREFIX_VEX_389F): Likewise.
(PREFIX_VEX_38A6...PREFIX_VEX_38AF): Likewise.
(PREFIX_VEX_38B6...PREFIX_VEX_38BF): Likewise.
(es_reg): Updated.
(PREFIX_VEX_38DB): Likewise.
(PREFIX_VEX_3A4A): Likewise.
(PREFIX_VEX_3A60): Likewise.
(PREFIX_VEX_3ADF): Likewise.
(VEX_LEN_3ADF_P_2): Likewise.
(prefix_table): Remove PREFIX_VEX_3A48...PREFIX_VEX_3A4A,
PREFIX_VEX_3A5C...PREFIX_VEX_3A5F,
PREFIX_VEX_3A68...PREFIX_VEX_3A6F and
PREFIX_VEX_3A78...PREFIX_VEX_3A7F.  Add
PREFIX_VEX_3896...PREFIX_VEX_389F,
PREFIX_VEX_38A6...PREFIX_VEX_38AF and
PREFIX_VEX_38B6...PREFIX_VEX_38BF.
(vex_table): Likewise.
(vex_len_table): Remove VEX_LEN_3A6A_P_2...VEX_LEN_3A6F_P_2
and VEX_LEN_3A7A_P_2...VEX_LEN_3A7F_P_2.
(putop): Support "%XW".
(intel_operand_size): Handle vex_w_dq_mode.

* i386-opc.h (VexNDS): Add a comment for VEX NDS and VEX DDS.

* i386-opc.tbl: Remove vpermil2pd/vpermil2ps and old FMA
instructions.  Add new FMA instructions.
* i386-tbl.h: Regenerated.

15 years ago* ChangeLog: Fix date of last entry.
Doug Evans [Tue, 6 Jan 2009 00:20:44 +0000 (00:20 +0000)] 
* ChangeLog: Fix date of last entry.
* linux-low.c (handle_extended_wait): Improve comment.

15 years agodaily update
Alan Modra [Tue, 6 Jan 2009 00:00:05 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 6 Jan 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * linux-low.c (linux_attach_lwp): Add some comments/fixmes.
Doug Evans [Mon, 5 Jan 2009 23:11:48 +0000 (23:11 +0000)] 
* linux-low.c (linux_attach_lwp): Add some comments/fixmes.

15 years ago * python/python-internal.h (Py_ssize_t): Define as int.
Tom Tromey [Mon, 5 Jan 2009 20:48:51 +0000 (20:48 +0000)] 
* python/python-internal.h (Py_ssize_t): Define as int.

15 years ago* MAINTAINERS: Fix my e-mail address as steering committee member.
Jim Blandy [Mon, 5 Jan 2009 17:36:06 +0000 (17:36 +0000)] 
* MAINTAINERS: Fix my e-mail address as steering committee member.

15 years ago2009-01-05 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Mon, 5 Jan 2009 12:17:43 +0000 (12:17 +0000)] 
2009-01-05  Kai Tietz  <kai.tietz@onevision.com>

        * emultempl/pe.em: Prefix dollar characters to be outputed in
        generated C file.
        * emultempl/pep.em: Likewise.

15 years agodaily update
Alan Modra [Mon, 5 Jan 2009 00:00:08 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 5 Jan 2009 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

15 years agodaily update
Alan Modra [Sun, 4 Jan 2009 00:00:06 +0000 (00:00 +0000)] 
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 4 Jan 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

15 years ago * cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
Hans-Peter Nilsson [Sat, 3 Jan 2009 21:25:42 +0000 (21:25 +0000)] 
* cris/sim-if.c (TARGET_AT_NULL, TARGET_AT_PHDR, TARGET_AT_PHENT)
(TARGET_AT_PHNUM, TARGET_AT_PAGESZ, TARGET_AT_BASE)
(TARGET_AT_FLAGS, TARGET_AT_ENTRY, TARGET_AT_UID, TARGET_AT_EUID)
(TARGET_AT_GID, TARGET_AT_EGID, TARGET_AT_HWCAP)
(TARGET_AT_CLKTCK): Remove redundant macros.
(AUX_ENT): Adjust to use standard ELF AT_* macros.
(AUX_ENTF): Ditto.  Remove always-0 middle argument.  Update all
callers.
(sim_open): Also pass AT_SECURE.

15 years ago * sim/cris/c/settls1.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 21:01:20 +0000 (21:01 +0000)] 
* sim/cris/c/settls1.c: New test.

15 years ago * cris/sim-main.h (struct _sim_cpu): New member
Hans-Peter Nilsson [Sat, 3 Jan 2009 21:00:48 +0000 (21:00 +0000)] 
* cris/sim-main.h (struct _sim_cpu): New member
set_target_thread_data.
* cris/crisv32f.c (CRIS_TLS_REGISTER): Define.
* cris/crisv10f.c: Ditto.
* cris/cris-tmpl.c (MY (set_target_thread_data)): New function.
(MY (f_specific_init)): Set new _sim_cpu member to new function.
* cris/traps.c (TARGET_SYS_set_thread_area): Define.
(cris_break_13_handler) <case TARGET_SYS_set_thread_area>: New
case.

15 years ago * sim/cris/c/exitg1.c, sim/cris/c/exitg2.c: New tests.
Hans-Peter Nilsson [Sat, 3 Jan 2009 20:26:19 +0000 (20:26 +0000)] 
* sim/cris/c/exitg1.c, sim/cris/c/exitg2.c: New tests.

15 years ago * cris/traps.c (TARGET_SYS_exit_group): Define.
Hans-Peter Nilsson [Sat, 3 Jan 2009 20:25:48 +0000 (20:25 +0000)] 
* cris/traps.c (TARGET_SYS_exit_group): Define.
(cris_break_13_handler): Handle it like the exit for the last
thread.

15 years ago * sim/cris/c/uname1.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:58:47 +0000 (19:58 +0000)] 
* sim/cris/c/uname1.c: New test.

15 years ago * cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:58:11 +0000 (19:58 +0000)] 
* cris/traps.c (TARGET_UTSNAME): Update to 2009-01-01.
(TARGET_EPOCH): Update to match TARGET_UTSNAME.  Correct comment.
(cris_break_13_handler) <case TARGET_SYS_uname>: Update to
2.6.27.  Set machine field to the BFD printable name of the
machine.

15 years ago * sim/cris/c/mmap1.c (MMAP_FLAGS): Default-define to
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:22:16 +0000 (19:22 +0000)] 
* sim/cris/c/mmap1.c (MMAP_FLAGS): Default-define to
MAP_PRIVATE and use this macro in the mmap call.
* sim/cris/c/mmap4.c: New test.

15 years ago * cris/traps.c (TARGET_MAP_DENYWRITE): Define.
Hans-Peter Nilsson [Sat, 3 Jan 2009 19:21:42 +0000 (19:21 +0000)] 
* cris/traps.c (TARGET_MAP_DENYWRITE): Define.
<case TARGET_SYS_mmap2>: Handle TARGET_MAP_DENYWRITE.

15 years ago * sim/cris/c/access1.c: New test.
Hans-Peter Nilsson [Sat, 3 Jan 2009 18:38:27 +0000 (18:38 +0000)] 
* sim/cris/c/access1.c: New test.

15 years ago * cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
Hans-Peter Nilsson [Sat, 3 Jan 2009 18:37:31 +0000 (18:37 +0000)] 
* cris/traps.c (TARGET_SYS_access, TARGET_R_OK, TARGET_W_OK)
(TARGET_X_OK, TARGET_F_OK): Define.
(cris_break_13_handler) <case TARGET_SYS_access>: New case.

This page took 0.043207 seconds and 4 git commands to generate.