OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agodaily update
Alan Modra [Tue, 29 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * Makefile.in (symfile.o): Update.
Daniel Jacobowitz [Tue, 29 Jan 2008 22:47:20 +0000 (22:47 +0000)]
* Makefile.in (symfile.o): Update.
* NEWS: Mention exec tracing support.
* inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
exec events.
* infcmd.c (kill_if_already_running, detach_command)
(disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
* infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
(follow_exec): Do not check may_follow_exec.  Do not mourn and push
targets.  Apply the sysroot path to the loaded executable.  Use
no_shared_libraries.
* linux-nat.c (linux_child_follow_fork): Print fork following
messages if verbose.
(kill_wait_callback): Kill again before waiting a second time.
* symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
no_shared_libraries.

* gdb.base/foll-exec.exp: Update header.  Skip on remote targets.
Run on GNU/Linux.
(do_exec_tests): Check for systems which do not support catchpoints.
Do not match START.
* gdb.base/foll-fork.exp: Update header.  Skip on remote targets.
Run on GNU/Linux.  Enable verbose output.
(check_fork_catchpoints): New.
(explicit_fork_child_follow, catch_fork_child_follow)
(tcatch_fork_parent_follow): Update expected messages.
(do_fork_tests): Use check_fork_catchpoints.
* gdb.base/foll-vfork.exp: Update header.  Skip on remote targets.
Run on GNU/Linux.  Enable verbose output.
(check_vfork_catchpoints): New.
(vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
expected messages.
(do_vfork_and_exec_tests): Use check_fork_catchpoints.

16 years ago * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
Joel Brobecker [Tue, 29 Jan 2008 21:27:19 +0000 (21:27 +0000)]
    * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.

16 years ago * nto-tdep.h: Remove #include "defs.h".
Joel Brobecker [Tue, 29 Jan 2008 21:26:04 +0000 (21:26 +0000)]
    * nto-tdep.h: Remove #include "defs.h".
        * nto-tdep.c: Add #include "defs.h".
        * Makefile.in (nto_tdep_h): Update dependencies.
        (nto-tdep.o): Likewise.

16 years agoFix date of last entry.
Joel Brobecker [Tue, 29 Jan 2008 21:23:03 +0000 (21:23 +0000)]
Fix date of last entry.

16 years ago * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
Joel Brobecker [Tue, 29 Jan 2008 21:11:24 +0000 (21:11 +0000)]
    * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
        and use it.
        (proceed, start_remote): Update call to wait_for_inferior.
        * inferior.h (wait_for_inferior): Update declaration.
        * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
        solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
        * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
        TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.

16 years ago* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
Jim Blandy [Tue, 29 Jan 2008 19:36:58 +0000 (19:36 +0000)]
* lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
host' errors.
* lib/mi-support.exp (mi_gdb_target_cmd): Same.

16 years ago* gdb.threads/sigthread.c: Use barriers to ensure that
Jim Blandy [Tue, 29 Jan 2008 19:20:52 +0000 (19:20 +0000)]
* gdb.threads/sigthread.c: Use barriers to ensure that
child_thread and child_thread_two are always initialized before we
start to use them.

16 years ago2008-01-29 Aleksandar Ristovski <aristovski@qnx.com>
Daniel Jacobowitz [Tue, 29 Jan 2008 19:18:18 +0000 (19:18 +0000)]
2008-01-29  Aleksandar Ristovski  <aristovski@qnx.com>

* varobj (adjust_value_for_child_access): Added checking for
returned value from gdb_value_ind.
(c_describe_child): Likewise.
(cplus_describe_child): Fixed a typo.

16 years ago* MAINTAINERS: Update my info.
Jim Blandy [Tue, 29 Jan 2008 19:15:36 +0000 (19:15 +0000)]
* MAINTAINERS: Update my info.

16 years ago Use multiple locations for hardware watchpoints.
Vladimir Prus [Tue, 29 Jan 2008 17:52:47 +0000 (17:52 +0000)]
Use multiple locations for hardware watchpoints.
This eliminates the need to traverse value chain, doing
various checks, in three different places.

        * breakpoint.h (struct bp_location): New fields
        lengths and watchpoint_type.
        (struct breakpoint): Remove the val_chain field.
        * breakpoint.c (is_hardware_watchpoint): New.
        (free_valchain): Remove.
        (update_watchpoint): New.
        (insert_bp_location): For hardware watchpoint, just
        directly insert it.
        (insert_breakpoints): Call update_watchpoint_locations
        on all watchpoints.  If we have failed to insert
        any location of a hardware watchpoint, remove all inserted
        locations.
        (remove_breakpoint): For hardware watchpoints, directly
        remove location.
        (watchpoints_triggered): Iterate over locations.
        (bpstat_stop_status): Use only first location of
        a resource watchpoint.
        (delete_breakpoint): Don't call free_valchain.
        (print_one_breakpoint): Don't print all
        locations for watchpoints.
        (breakpoint_re_set_one): Use update_watchpoint for
        watchpoints.

16 years ago Don't reset watchpoint block on solib load.
Vladimir Prus [Tue, 29 Jan 2008 16:47:47 +0000 (16:47 +0000)]
    Don't reset watchpoint block on solib load.

        * breakpoint.c (insert_bp_location): For watchpoints,
        recompute condition.
        (breakpoint_re_set_one): Instead of recomputing value
        and condition for watchpoints, just reset value and
        let insert_breakpoints/insert_bp_location recompute it.
        Don't do anything about disabled watchpoint.

16 years ago * gdb.base/gdb1056.exp: Add unsigned integer test.
Pierre Muller [Tue, 29 Jan 2008 16:30:25 +0000 (16:30 +0000)]
* gdb.base/gdb1056.exp: Add unsigned integer test.

16 years ago * valarith.c (value_binop): Handle unsigned integer
Pierre Muller [Tue, 29 Jan 2008 14:24:43 +0000 (14:24 +0000)]
* valarith.c (value_binop): Handle unsigned integer
division by zero.

16 years ago * ppc-opc.c: Support optional L form mtmsr.
Alan Modra [Tue, 29 Jan 2008 08:24:43 +0000 (08:24 +0000)]
* ppc-opc.c: Support optional L form mtmsr.

16 years ago * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
Kevin Buettner [Tue, 29 Jan 2008 00:15:10 +0000 (00:15 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Check for an
instruction pattern that appears frequently in position
independent code.  Fix bug in code which looks for "fmov" and
backtracks if no "fmov" is found.

16 years ago*** empty log message ***
gdbadmin [Tue, 29 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * dbxread.c (read_dbx_symtab): Reformat comments to 80 columns.
Doug Evans [Mon, 28 Jan 2008 23:43:57 +0000 (23:43 +0000)]
* dbxread.c (read_dbx_symtab): Reformat comments to 80 columns.
Move local var def closer to only use.

16 years ago * dbxread.c (read_dbx_symtab): Fix indentation.
Doug Evans [Mon, 28 Jan 2008 23:19:41 +0000 (23:19 +0000)]
* dbxread.c (read_dbx_symtab): Fix indentation.

16 years agodaily update
Alan Modra [Mon, 28 Jan 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years ago * fork-child.c (SHELL_FILE): Remove #ifndef.
Daniel Jacobowitz [Mon, 28 Jan 2008 20:21:03 +0000 (20:21 +0000)]
* fork-child.c (SHELL_FILE): Remove #ifndef.
(fork_inferior): Remove SHELL_COMMAND_CONCAT.

* gdbint.texinfo (Native Conditionals): Remove
SHELL_COMMAND_CONCAT and SHELL_FILE.

16 years ago * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
Doug Evans [Mon, 28 Jan 2008 18:06:59 +0000 (18:06 +0000)]
* gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.

16 years ago* config.bfd (x86_64-*-solaris2): Add support for this target.
Nick Clifton [Mon, 28 Jan 2008 16:57:22 +0000 (16:57 +0000)]
* config.bfd (x86_64-*-solaris2): Add support for this target.
* configure.tgt (x86_64-*-solaris2): Add support for this target.

16 years ago Rewrite SPU overlay handling code. Put overlay calls stubs in the
Alan Modra [Mon, 28 Jan 2008 05:59:24 +0000 (05:59 +0000)]
Rewrite SPU overlay handling code.  Put overlay calls stubs in the
overlays where possible.  Use a faster call stub, or optionally at
compile time, a more compact stub.  Double size of _ovly_buf_table
so that low bit of _ovly_table.buf can be used as a "present" bit.
Reserve an extra _ovly_table entry for index zero.

16 years ago*** empty log message ***
gdbadmin [Mon, 28 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 27 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
Jim Blandy [Sun, 27 Jan 2008 22:25:43 +0000 (22:25 +0000)]
* gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.

16 years ago* gdb.base/expand-psymtabs.exp: Doc fix.
Jim Blandy [Sun, 27 Jan 2008 17:19:06 +0000 (17:19 +0000)]
* gdb.base/expand-psymtabs.exp: Doc fix.

16 years agoinclude/
David Daney [Sun, 27 Jan 2008 06:25:45 +0000 (06:25 +0000)]
include/
2008-01-26  David Daney  <ddaney@avtrex.com>

* demangle.h (demangle_component_type):  Add
DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER as new enum values.
(demangle_component): Add struct s_character to union u.

libiberty/
2008-01-26  David Daney  <ddaney@avtrex.com>

* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
(d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and
DEMANGLE_COMPONENT_JAVA_RESOURCE cases.
(d_make_character): New function.
(d_java_resource): Same.
(d_special_name): Handle "Gr" case.
(d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE,
DEMANGLE_COMPONENT_COMPOUND_NAME, and
DEMANGLE_COMPONENT_CHARACTER cases.
* testsuite/demangle-expected: Add test for java resource name
mangling.

16 years ago*** empty log message ***
gdbadmin [Sun, 27 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 26 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago * gdb.texinfo (Specify Location): Improve wording.
Eli Zaretskii [Sat, 26 Jan 2008 19:14:18 +0000 (19:14 +0000)]
* gdb.texinfo (Specify Location): Improve wording.

16 years ago* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
Mark Kettenis [Sat, 26 Jan 2008 13:56:37 +0000 (13:56 +0000)]
* gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.

16 years ago*** empty log message ***
gdbadmin [Sat, 26 Jan 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 25 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years ago* elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.
DJ Delorie [Fri, 25 Jan 2008 21:06:11 +0000 (21:06 +0000)]
* elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): New.

16 years agomerge from gcc
DJ Delorie [Fri, 25 Jan 2008 19:05:44 +0000 (19:05 +0000)]
merge from gcc

16 years ago * i386-tdep.c (i386_skip_noop): New function.
Pierre Muller [Fri, 25 Jan 2008 17:24:49 +0000 (17:24 +0000)]
* i386-tdep.c (i386_skip_noop): New function.
(i386_analyze_prologue): Call i386_skip_noop function.

16 years agoAdd mingw I64 support for printing long and long long values
Nick Clifton [Fri, 25 Jan 2008 16:18:40 +0000 (16:18 +0000)]
Add mingw I64 support for printing long and long long values

16 years ago2008-01-24 Michael Snyder <msnyder@specifix.com>
Michael Snyder [Fri, 25 Jan 2008 00:09:50 +0000 (00:09 +0000)]
2008-01-24  Michael Snyder  <msnyder@specifix.com>

* procfs.c (procfs_xfer_partial): Comment, cut/paste error.
* win32-nat.c (win32_xfer_partial): Ditto.
* target.c (default_xfer_partial): Minor whitespace adjustment.

16 years ago*** empty log message ***
gdbadmin [Fri, 25 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 24 Jan 2008 23:00:07 +0000 (23:00 +0000)]
daily update

16 years agogas/testsuite/
H.J. Lu [Thu, 24 Jan 2008 15:11:35 +0000 (15:11 +0000)]
gas/testsuite/

2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/x86-64-sib.s: Add tests for r12.

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

opcodes/

2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_E_extended): Handle r12 like rsp.

16 years ago * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
Pedro Alves [Thu, 24 Jan 2008 15:11:13 +0000 (15:11 +0000)]
* arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
strip bit 1 even if pc doesn't point to thumb code.

16 years ago*** empty log message ***
gdbadmin [Thu, 24 Jan 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 23 Jan 2008 23:00:06 +0000 (23:00 +0000)]
daily update

16 years agoAdd value field to tests for output of -var-set-format.
Nick Roberts [Wed, 23 Jan 2008 21:05:16 +0000 (21:05 +0000)]
Add value field to tests for output of -var-set-format.

16 years ago*** empty log message ***
Nick Roberts [Wed, 23 Jan 2008 21:04:54 +0000 (21:04 +0000)]
*** empty log message ***

16 years ago * remote.c (remote_wait): Handle SIGINT between packets.
Daniel Jacobowitz [Wed, 23 Jan 2008 20:43:30 +0000 (20:43 +0000)]
* remote.c (remote_wait): Handle SIGINT between packets.
(remote_async_wait): Likewise.

16 years agogas/
H.J. Lu [Wed, 23 Jan 2008 19:05:12 +0000 (19:05 +0000)]
gas/

2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Replace tabs with spaces.

gas/testsuite/

2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp : Run x86-64-arch-1 and x86-64-arch-10.

* gas/i386/x86-64-arch-1.d: New.
* gas/i386/x86-64-arch-1.s: Likewise.
* gas/i386/x86-64-arch-10.d: Likewise.

opcodes/

2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CpuLM to CPU_GENERIC64_FLAGS.
* i386-init.h: Regenerated.

16 years ago/gas:
Eric B. Weddington [Wed, 23 Jan 2008 17:36:23 +0000 (17:36 +0000)]
/gas:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for at86rf401.

/include:
2008-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_RF401): Add new opcode set for at86rf401.

16 years ago Inform about new thread in a single place.
Vladimir Prus [Wed, 23 Jan 2008 11:26:29 +0000 (11:26 +0000)]
    Inform about new thread in a single place.

        * thread.c (add_thread_silent): Renamed
        from add_thread.
        (print_thread_events): New variable definition.
        (show_print_thread_events): New function.
        (_initialize_thread): Add "set print thread-events" and
        "show print thread-events" commands.
        (add_thread): Announce new thread.
        * gdbthread.h (add_thread_silent): Declare.
        (print_thread_events): New variable declaration.
        * inf-ttrace.c (inf_ttrace_wait): Don't
        inform about new thread, as add_thread is always
        called too, and will take care of that.
        * infrun.c (handle_inferior_event): Likewise.
        * procfs.c (procfs_wait): Likewise.
        * remote.c (remote_currthread): Likewise.
        * sol-thread.c (sol_thread_wait): Likewise.
        * win32-nat.c (get_win32_debug_event): Likewise.
        * linux-thread-db.c (attach_thread): Likewise.
        Remove the verbose parameter.
        (check_event): Make detach_thread be verbose
        only if print_thread_events is set.
        * linux-nat.c (lin_lwp_attach_lwp): Don't inform
        about new thread.  This is called only from
        linux-thread-db.c:attach_thread, which will take care.
        Remove the verbose parameter.
        * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.

16 years ago2008-01-23 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 23 Jan 2008 08:53:44 +0000 (08:53 +0000)]
2008-01-23  Tristan Gingold  <gingold@adacore.com>

        * ia64-dis.c (print_insn_ia64): Display symbolic name of ar.fcr,
        ar.eflag, ar.csd, ar.ssd, ar.cflg, ar.fsr, ar.fir and ar.fdr.

16 years agoAdd value field to tests for output of -var-set-format.
Nick Roberts [Wed, 23 Jan 2008 06:20:57 +0000 (06:20 +0000)]
Add value field to tests for output of -var-set-format.

16 years agoAdd the variable octal.
Nick Roberts [Wed, 23 Jan 2008 06:20:34 +0000 (06:20 +0000)]
Add the variable octal.

16 years ago*** empty log message ***
Nick Roberts [Wed, 23 Jan 2008 06:19:31 +0000 (06:19 +0000)]
*** empty log message ***

16 years ago(mi_cmd_var_set_format): Add value field to output.
Nick Roberts [Wed, 23 Jan 2008 06:13:44 +0000 (06:13 +0000)]
(mi_cmd_var_set_format): Add value field to output.

16 years ago2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
Ben Elliston [Wed, 23 Jan 2008 05:12:47 +0000 (05:12 +0000)]
2008-01-23  Thiago Jung Bauermann  <bauerman@br.ibm.com>

* cplus-dem.c (demangle_function_name): Changed to return value
indicating if a name was correctly demangled.
(iterate_demangle_function): Use demangle_function_name return
value.

16 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Wed, 23 Jan 2008 02:43:51 +0000 (02:43 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago*** empty log message ***
gdbadmin [Wed, 23 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * gdb.base/float.exp: Allow missing floating point for m68k and
Daniel Jacobowitz [Tue, 22 Jan 2008 21:30:02 +0000 (21:30 +0000)]
* gdb.base/float.exp: Allow missing floating point for m68k and
PowerPC.

16 years agogas/
H.J. Lu [Tue, 22 Jan 2008 19:57:30 +0000 (19:57 +0000)]
gas/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (i386_target_format): Remove cpummx2.

gas/testsuite/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10.d: New.
* gas/i386/arch-11.s: Likewise.
* gas/i386/arch-12.d: Likewise.
* gas/i386/arch-12.s: Likewise.

* gas/i386/i386.exp: Run arch-11 and arch-12.

opcodes/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Remove CpuMMX2.
(cpu_flags): Likewise.

* i386-opc.h (CpuMMX2): Removed.
(CpuSSE): Updated.

* i386-opc.tbl: Replace CpuMMX2 with CpuSSE|Cpu3dnowA.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.

16 years ago * breakpoint.c (break_command_really): New parameter
Vladimir Prus [Tue, 22 Jan 2008 19:43:10 +0000 (19:43 +0000)]
* breakpoint.c (break_command_really): New parameter
ignore_count.
(break_command_1): Pass 0 as
ignore_count to break_command_really.
(gdb_breakpoint): Pass ignore_count to
break_command_really.

16 years agogas/
H.J. Lu [Tue, 22 Jan 2008 19:16:45 +0000 (19:16 +0000)]
gas/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.
(cpu_sub_arch_name): Remove const.
(cpu_arch): Add .vmx and .smx.
(set_cpu_arch): Append cpu_sub_arch_name.
(md_parse_option): Support -march=CPU[,+EXTENSION...].
(md_show_usage): Updated.

* config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
(XXX_MNEM_SUFFIX): Likewise.
(END_OF_INSN): Likewise.
(templates): Likewise.
(modrm_byte): Likewise.
(rex_byte): Likewise.
(DREX_XXX): Likewise.
(drex_byte): Likewise.
(sib_byte): Likewise.
(processor_type): Likewise.
(arch_entry): Likewise.

* doc/as.texinfo: Update i386 -march option.

* doc/c-i386.texi: Update -march= for ISA.

gas/testsuite/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/arch-10-1.l: New.
* gas/i386/arch-10-1.s: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-2.s: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-3.s: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-10-4.s: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10.s: Likewise.

* gas/i386/i386.exp: Run arch-10, arch-10-1, arch-10-2,
arch-10-3 and arch-10-4.

* gas/i386/nops-2.s: Use movsbl instead of cmove.
* gas/i386/nops-2-i386.d: Updated.
* gas/i386/nops-2-merom.d: Likewise.
* gas/i386/nops-2.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.

opcodes/

2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (cpu_flag_init): Add CPU_VMX_FLAGS and
CPU_SMX_FLAGS.
* i386-init.h: Regenerated.

16 years ago * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
Kevin Buettner [Tue, 22 Jan 2008 01:17:25 +0000 (01:17 +0000)]
* mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
sigcontext struct via pointer.
(struct sigframe comment): Update to show new field `psc'.

16 years ago*** empty log message ***
gdbadmin [Tue, 22 Jan 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 21 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * infrun.c (handle_inferior_event): If
Vladimir Prus [Mon, 21 Jan 2008 16:34:00 +0000 (16:34 +0000)]
* infrun.c (handle_inferior_event): If
we failed to remove breakpoints, error,
don't try to increment PC by hand.

16 years ago PR 4453
Alan Modra [Mon, 21 Jan 2008 04:56:47 +0000 (04:56 +0000)]
PR 4453
* format.c (bfd_check_format_matches): Don't accept archives as
fully matching unless they have a map.

16 years ago * elflink.c (_bfd_elf_link_output_relocs): Correct error return.
Alan Modra [Mon, 21 Jan 2008 03:53:07 +0000 (03:53 +0000)]
* elflink.c (_bfd_elf_link_output_relocs): Correct error return.

16 years ago * ecoff.c (_bfd_ecoff_archive_p): Delete.
Alan Modra [Mon, 21 Jan 2008 03:48:10 +0000 (03:48 +0000)]
* ecoff.c (_bfd_ecoff_archive_p): Delete.
* libecoff.h (_bfd_ecoff_archive_p): Delete.
* coff-alpha.c (ecoffalpha_little_vec): Use bfd_generic_archive_p.
* coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
(ecoff_biglittle_vec): Likewise.

16 years ago*** empty log message ***
gdbadmin [Mon, 21 Jan 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 20 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sun, 20 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Sat, 19 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago Add NetBSD/hppa target and host support.
Nick Hudson [Sat, 19 Jan 2008 15:03:50 +0000 (15:03 +0000)]
Add NetBSD/hppa target and host support.

* hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
(hppabsd_gregset): Move to ...
(hppabsd_regset_from_core_section): Rename
hppaobsd_regset_from_core_section and move to ...
(hppabsd_find_global_pointer): Update comment.
(hppabsd_init_abi): Make global. Do not register
hppabsd_regset_from_core_section.
(hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
move to ...
(_initialize_hppabsd_tdep): Move to ...
* hppaobsd-tdep.c: ... here. New file.
* hppnbsd-tdep.c: New file.
* hppnbsd-nat.c: New file.
        * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
(ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
        (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
        (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
* configure.host (hppa*-*-netbsd*): New entry.
* configure.tgt (hppa*-*-netbsd*): New entry.
(hppa*-*-openbsd*): Update.
* NEWS (New native configuration): Mention NetBSD/hppa.
(New targets): Mention NetBSD/hppa.

16 years ago * gdb.texinfo (Specify Location): New section.
Eli Zaretskii [Sat, 19 Jan 2008 13:37:13 +0000 (13:37 +0000)]
* gdb.texinfo (Specify Location): New section.
(Delete Breaks, Edit, Set Breaks): Remove description of
locations.  Instead, add a reference to "Specify Location".
(Machine Code, Jumping, Thread Stops, Continuing and Stepping)
(Symbols): Refer to "Specify Location" for the valid forms of
linespecs and locations.

16 years ago PR 5646
Alan Modra [Sat, 19 Jan 2008 10:07:25 +0000 (10:07 +0000)]
PR 5646
* elf64-ppc.c (ppc64_elf_tls_optimize): Ensure htab->tls_get_addr
non-NULL before dereferencing.

16 years agomerge from gcc
DJ Delorie [Sat, 19 Jan 2008 01:18:42 +0000 (01:18 +0000)]
merge from gcc

16 years ago*** empty log message ***
gdbadmin [Sat, 19 Jan 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Fri, 18 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago * gdbarch.sh (function_list): Add new property bits_big_endian to
Markus Deuling [Fri, 18 Jan 2008 17:07:40 +0000 (17:07 +0000)]
* gdbarch.sh (function_list): Add new property bits_big_endian to
gdbarch structure.
* gdbarch.{c,h}: Regenerate.

* value.c (struct value): Replace BITS_BIG_ENDIAN by
gdbarch_bits_big_endian (comment).
(unpack_field_as_long, modify_field): Likewise.
* value.h: Likewise (comment).
* valops.c (value_slice): Likewise.
* valarith.c (value_subscript, value_bit_index): Likewise.
* gdbtypes.h (field): Likewise (comment).
* eval.c (evaluate_subexp_standard): Likewise.
* dwarf2read.c (dwarf2_add_field): Likewise.
* ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
(move_bits, ada_value_assign, value_assign_to_component): Likewise.

* defs.h (BITS_BIG_ENDIAN): Remove.

* gdbint.texinfo (Target Conditionals): Replace the description of
BITS_BIG_ENDIAN with a description of gdbarch_bits_big_endian.

16 years ago * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
Markus Deuling [Fri, 18 Jan 2008 09:12:19 +0000 (09:12 +0000)]
* jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
function calls.
* m2-exp.y (yylex): Likewise.
* objc-exp.y (yylex): Likewise.

* defs.h (DEPRECATED_STREQN): Remove.

16 years ago*** empty log message ***
gdbadmin [Fri, 18 Jan 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agobinutils/
H.J. Lu [Thu, 17 Jan 2008 23:48:18 +0000 (23:48 +0000)]
binutils/

2008-01-17  H.J. Lu  <hjl.tools@gmail.com>

* MAINTAINERS: Update my email address.

gdb/

2008-01-17  H.J. Lu  <hjl.tools@gmail.com>

* MAINTAINERS: Update my email address.

16 years agodaily update
Alan Modra [Thu, 17 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* README: Mention gdbserver/README.
Jim Blandy [Thu, 17 Jan 2008 20:18:48 +0000 (20:18 +0000)]
* README: Mention gdbserver/README.

16 years ago * valarith.c (value_binop): Handle BINOP_INTDIV
Pierre Muller [Thu, 17 Jan 2008 19:55:09 +0000 (19:55 +0000)]
* valarith.c (value_binop): Handle BINOP_INTDIV
for unsigned and signed integers.

16 years ago * s390-tdep.c (s390_gdbarch_init): Set default long double
Ulrich Weigand [Thu, 17 Jan 2008 16:05:41 +0000 (16:05 +0000)]
* s390-tdep.c (s390_gdbarch_init): Set default long double
type to 128-bit IEEE quad.

16 years ago * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
Pedro Alves [Thu, 17 Jan 2008 14:34:22 +0000 (14:34 +0000)]
* gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
and 'dummy_ptr' integer pointer.  Initialize struct_declarations
with dummy_ptr's address.
* gdb.mi/var-cmd.c (do_children_tests): Likewise.
* gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
all targets.
* gdb.mi/mi2-var-child.exp: Likewise.

16 years ago * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
Joel Brobecker [Thu, 17 Jan 2008 05:51:08 +0000 (05:51 +0000)]
    * hpux-thread.c (hpux_thread_resume): Delete commented-out code.

16 years ago*** empty log message ***
gdbadmin [Thu, 17 Jan 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 16 Jan 2008 23:00:05 +0000 (23:00 +0000)]
daily update

16 years ago* common.h (AT_SUN_AUXFLAGS): Define.
Mark Kettenis [Wed, 16 Jan 2008 22:01:42 +0000 (22:01 +0000)]
* common.h (AT_SUN_AUXFLAGS): Define.

16 years ago/gas:
Eric B. Weddington [Wed, 16 Jan 2008 17:59:07 +0000 (17:59 +0000)]
/gas:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (mcu_types): Change opcode set for avr3,
at90usb82, at90usb162.
* doc/c-avr.texi: Change architecture grouping for at90usb82,
at90usb162.
These changes support the new avr35 architecture group in gcc.

/include:
2008-01-03  Eric B. Weddington  <eric.weddington@atmel.com>

* opcode/avr.h (AVR_ISA_USB162): Add new opcode set.
(AVR_ISA_AVR3): Likewise.

16 years ago* auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
Mark Kettenis [Wed, 16 Jan 2008 16:27:37 +0000 (16:27 +0000)]
* auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.

16 years ago* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
Mark Kettenis [Wed, 16 Jan 2008 16:16:44 +0000 (16:16 +0000)]
* dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
* value.c: All callers changed.

16 years ago * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
Markus Deuling [Wed, 16 Jan 2008 11:21:42 +0000 (11:21 +0000)]
* rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
DEPRECATED_STREQ by its expression.
* coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
* xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
(scan_xcoff_symtab): Likewise.
* hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
* f-lang.c (find_common_for_function): Likewise.
* objc-exp.y (parse_number): Likewise.

* defs.h (DEPRECATED_STREQ): Remove.

16 years ago * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
Markus Deuling [Wed, 16 Jan 2008 04:56:34 +0000 (04:56 +0000)]
* mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
* mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
get_frame_arch to get at the current_architecture. Update AM33_MODE
call.
(mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
(mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
architecture.
(set_reg_offsets, mn10300_analyze_prologue): Fix indentation.

16 years ago * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
Markus Deuling [Wed, 16 Jan 2008 04:52:52 +0000 (04:52 +0000)]
* amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
parameter.
* amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.

(amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch. Update caller.

* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
(amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
the current architecture. Update calls of
amd64_native_gregset_supplies_p.
* amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
(amd64bsd_store_inferior_registers): Likewise.