binutils-gdb.git
16 years ago2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
Paul N. Hilfinger [Wed, 30 Jan 2008 07:28:16 +0000 (07:28 +0000)]
2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>

* valarith.c (value_binop): Add floating-point BINOP_MIN and
BINOP_MAX cases.
For BINOP_EXP, use length and signedness of left operand only for
result, as for shifts.
For integral operands to BINOP_EXP, use new integer_pow and
uinteger_pow functions so as to get full range of results.
(integer_pow): New function.
(uinteger_pow): New function.

2008-01-30  Paul N. Hilfinger  <hilfinger@adacore.com>

* gdb.ada/exprs: New test program.
* gdb.ada/exprs.exp: New testcase.

16 years ago Use vector for varobj_list_children interface.
Vladimir Prus [Wed, 30 Jan 2008 07:17:31 +0000 (07:17 +0000)]
Use vector for varobj_list_children interface.
        * gdb/varobj.c (varobj_list_children): Return vector
        of varobjs.
        * gdb/varobj.h (varobj_list_children): Adjust
        prototype.
        (varobj_p): Declare.  Declare vector thereof.
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
        for varobj_list_children change.
* Makefile.in (varobj_h): Update dependencies.

16 years ago(GDB/MI File Commands): Describe new output
Nick Roberts [Wed, 30 Jan 2008 04:27:11 +0000 (04:27 +0000)]
(GDB/MI File Commands): Describe new output
field for MI command -file-list-exec-source-file.

16 years ago*** empty log message ***
Nick Roberts [Wed, 30 Jan 2008 04:26:24 +0000 (04:26 +0000)]
*** empty log message ***

16 years ago * dfp-test.c (DELTA, DELTA_B): New definitions.
Thiago Jung Bauermann [Wed, 30 Jan 2008 03:19:26 +0000 (03:19 +0000)]
* dfp-test.c (DELTA, DELTA_B): New definitions.
(double_val1, double_val2, double_val3, double_val4, double_val5,
double_val6, double_val7, double_val8, double_val9, double_val10,
double_val11, double_val12, double_val13, double_val14, dec32_val1,
dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
dec128_val12, dec128_val13, dec128_val14, dec128_val15,
dec128_val16): New global variables.
(decimal_dec128_align): New function.
(decimal_mixed): Likewise.
(decimal_many_args_dec32): Likewise.
(decimal_many_args_dec64): Likewise.
(decimal_many_args_dec128): Likewise.
(decimal_many_args_mixed): Likewise.
* dfp-test.exp: Add tests calling new inferior functions.

16 years ago * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
Thiago Jung Bauermann [Wed, 30 Jan 2008 03:18:39 +0000 (03:18 +0000)]
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
TYPE_CODE_DECFLOAT arguments.
(ppc64_sysv_abi_push_dummy_call) Likewise.
(get_decimal_float_return_value): New function.
(do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
values by calling get_decimal_float_return_value.
(ppc64_sysv_abi_return_value): Likewise.

16 years ago(mi_cmd_file_list_exec_source_file): Add field
Nick Roberts [Wed, 30 Jan 2008 01:47:38 +0000 (01:47 +0000)]
(mi_cmd_file_list_exec_source_file):  Add field
for preprocessor macro information.  Formatting changes.

16 years ago*** empty log message ***
Nick Roberts [Wed, 30 Jan 2008 01:47:17 +0000 (01:47 +0000)]
*** empty log message ***

16 years ago * linux-low.c (linux_attach_lwp): Do not _exit after errors.
Daniel Jacobowitz [Wed, 30 Jan 2008 00:51:50 +0000 (00:51 +0000)]
* linux-low.c (linux_attach_lwp): Do not _exit after errors.
(linux_kill, linux_detach): Clean up the process list.
* remote-utils.c (remote_open): Improve port number parsing.
(putpkt_binary, input_interrupt): Only send interrupts if the target
is running.
* server.c (extended_protocol): Make static.
(attached): Define earlier.
(exit_requested, response_needed, program_argv): New variables.
(target_running): New.
(start_inferior): Clear attached here.
(attach_inferior): Set attached here.
(require_running): Define.
(handle_query): Use require_running and target_running.  Implement
"monitor exit".
(handle_v_attach, handle_v_run): New.
(handle_v_requests): Use require_running.  Handle vAttach and vRun.
(gdbserver_usage): Update.
(main): Redo argument parsing.  Handle --debug and --multi.  Handle
--attach along with other options or after the port.  Save
program_argv.  Support no initial program.  Resynchronize
communication with GDB after an error.  Handle "monitor exit".
Use require_running and target_running.  Always allow the extended
protocol.  Do not error out for Hc0 or Hc-1.  Do not automatically
restart in extended mode.
* README: Refer to the GDB manual.  Update --attach usage.

* remote.c (struct remote_state): Add cached_wait_status.
(remote_exec_file): New variable.
(PACKET_vAttach, PACKET_vRun): New constants.
(extended_remote_restart): Do not query for status.
(struct start_remote_args): New.
(remote_start_remote): Take it as a second argument.  Check
whether the target is running.  Issue an error for non-running
non-extended targets.  Cache the wait status.  Set inferior_ptid
here.
(remote_open_1): Prompt to disconnect non-running targets.  Make
sure the target is marked running.  Do not set inferior_ptid here.
Update call to remote_start_remote.  Do not call remote_check_symbols
if the target is not running.
(remote_detach_1): Rename from remote_detach.  Take an EXTENDED
argument.  Handle a non-running target.
(remote_detach): Use it.
(extended_remote_detach): New.
(remote_disconnect): Fix typo.  Use remoute_mourn_1.
(extended_remote_attach_1, extended_remote_attach)
(extended_async_remote_attach): New.
(remote_vcont_resume): Remove unused variable.
(remote_wait, remote_async_wait): Use any cached wait status.
(putpkt_binary, getpkt): Clear any cached wait status.
(extended_remoute_mourn_1): New.
(extended_remote_mourn): Use it.
(extended_async_remote_mourn, extended_remote_run): New.
(extended_remote_create_inferior_1): New.
(extended_remote_create_inferior): Use it.
(extended_remote_async_create_inferior): Likewise.
(remote_xfer_partial): Skip for non-executing targets.
(init_extended_remote_ops): Set to_detach and to_attach.
(init_extended_async_remote_ops): Likewise.  Use
extended_async_remote_mourn.
(_initialize_remote): Register vAttach, vRun, and
set remote exec-file.
* NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.

* gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
gdb.server/ext-run.exp: New files.
* lib/gdbserver-support.exp (gdbserver_download): New.
(gdbserver_start): New.  Update gdbserver expected
output.
(gdbserver_spawn): Use them.
(gdbserver_start_extended): New.

* gdb.texinfo (Using the `gdbserver' Program): Add security
warning.  Rearrange into subsections and subsubsections.  Document
--multi and --debug.  Correct --with-sysroot typo.  Update --attach
usage.  Make load reference clearer.  Document monitor exit.
(Remote Configuration): Document set remote exec-file, attach-packet,
and run-packet.
(Packets): Document vAttach and vRun.

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

16 years ago(Processes): Mention process command.
Nick Roberts [Tue, 29 Jan 2008 23:29:29 +0000 (23:29 +0000)]
(Processes): Mention process command.
detach-on-follow -> detach-on-fork.

16 years ago*** empty log message ***
Nick Roberts [Tue, 29 Jan 2008 23:28:51 +0000 (23:28 +0000)]
*** empty log message ***

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 agoFix spelling typo in previous delta
Nick Clifton [Tue, 29 Jan 2008 16:38:36 +0000 (16:38 +0000)]
Fix spelling typo in previous delta

16 years ago* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.
Nick Clifton [Tue, 29 Jan 2008 16:36:33 +0000 (16:36 +0000)]
* dwarf.c (print_dwarf_vma): Use mingw field type specified if necessary.

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* dwarf.c (print_dwarf_vma): New function. Display the value of a
Nick Clifton [Tue, 29 Jan 2008 15:45:00 +0000 (15:45 +0000)]
* dwarf.c (print_dwarf_vma): New function.  Display the value of a
  dwarf_vma type at a specified precision.
  (display_debug_loc): Use dwarf_vma type for begin and end values.
  Use print_dwarf_vma to display their values.  Use byte_get_signed
  in order to correctly detect the -1 escape value.
  (display_debug_aranges): Likewise.
  (display_debug_ranges): Likewise.

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 * mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change
Alan Modra [Tue, 29 Jan 2008 03:50:23 +0000 (03:50 +0000)]
* mt.opc (parse_imm16): Apply 2007-09-26 opcodes/mt-asm.c change
to source.

16 years agoupdate copyright date
Alan Modra [Tue, 29 Jan 2008 03:10:46 +0000 (03:10 +0000)]
update copyright date

16 years ago * dwarf.c (display_debug_loc): Correct test for base address
Alan Modra [Tue, 29 Jan 2008 02:55:48 +0000 (02:55 +0000)]
* dwarf.c (display_debug_loc): Correct test for base address
entry when 64-bit host dumping 32-bit object.

16 years ago * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
Alan Modra [Tue, 29 Jan 2008 01:39:28 +0000 (01:39 +0000)]
* MAINTAINERS: Remove myself as ix86 maintainer.  Add for SPU.

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 agoPR binutils/5529
Nick Clifton [Mon, 28 Jan 2008 16:42:02 +0000 (16:42 +0000)]
PR binutils/5529
   * rclex.c (yylex): Also allow the hypen character.

16 years ago* ld-elfvers/vers.exp (test_ar): Sort the expected output so that
Nick Clifton [Mon, 28 Jan 2008 16:41:05 +0000 (16:41 +0000)]
* ld-elfvers/vers.exp (test_ar): Sort the expected output so that
  it has matches the ordering of the obtained output.

16 years agoFix the last ChangeLog.
H.J. Lu [Mon, 28 Jan 2008 15:57:02 +0000 (15:57 +0000)]
Fix the last ChangeLog.

16 years agobinutils/
H.J. Lu [Mon, 28 Jan 2008 15:15:32 +0000 (15:15 +0000)]
binutils/

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

* dwarf.c: Include "elf/common.h".
(eh_addr_size): Changed to int.
(dwarf_regnames_i386): New.
(dwarf_regnames_x86_64): Likewise.
(dwarf_regnames): Likewise.
(dwarf_regnames_count): Likewise.
(init_dwarf_regnames): Likewise.
(regname): Likewise.
(frame_display_row): Properly support different address size.
Call regname to get register name.
(display_debug_frames): Call regname to get register name.
Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
instead of DW_CFA_def_cfa_reg.

* dwarf.h (init_dwarf_regnames): New.

* objdump.c: Include "elf-bfd.h".
(dump_dwarf): Call init_dwarf_regnames on ELF input.

* readelf.c (guess_is_rela): Change argument to int.
(parse_args): Remove the undocumented upper case options for
-wX.
(process_file_header): Call init_dwarf_regnames if
do_dwarf_register is true.

gas/testsuite/

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

* gas/cfi/cfi-alpha-1.d: Replace DW_CFA_def_cfa_reg with
DW_CFA_def_cfa_register.
* gas/cfi/cfi-alpha-3.d: Likewise.
* gas/cfi/cfi-hppa-1.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-m68k.d: Likewise.
* gas/cfi/cfi-mips-1.d: Likewise.
* gas/cfi/cfi-sh-1.d: Likewise.
* gas/cfi/cfi-sparc-1.d: Likewise.
* gas/cfi/cfi-sparc64-1.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.

* gas/cfi/cfi-common-1.d: Updated for i386/x86-64 register
names.
* gas/cfi/cfi-common-2.d: Likewise.
* gas/cfi/cfi-common-5.d: Likewise.
* gas/cfi/cfi-i386.d: Likewise.
* gas/cfi/cfi-x86_64.d: Likewise.

ld/testsuite/

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

* ld-elf/eh1.d: Replace DW_CFA_def_cfa_reg with
DW_CFA_def_cfa_register. Updated for i386/x86-64 register
names.
* ld-elf/eh2.d: Likewise.
* ld-elf/eh3.d: Likewise.
* ld-elf/eh4.d: Likewise.
* ld-elf/eh5.d: Likewise.

16 years agoPR ld/5652
Nick Clifton [Mon, 28 Jan 2008 11:07:44 +0000 (11:07 +0000)]
PR ld/5652
* genscripts.sh: Check for the existence of BASH_LINENO not just the BASH
  shell before generating line numbers in the emulation file.

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 * ld-elf/loadaddr.t: New, extracted from..
Alan Modra [Sat, 26 Jan 2008 02:57:06 +0000 (02:57 +0000)]
* ld-elf/loadaddr.t: New, extracted from..
* ld-elf/loadaddr1.t: ..here.  Use insert.
* ld-elf/loadaddr2.t: Likewise.
* ld-elf/loadaddr1.d: Update.
* ld-elf/loadaddr2.d: Update.

16 years agoPermit ordinary object files in groups.
Ian Lance Taylor [Sat, 26 Jan 2008 01:35:10 +0000 (01:35 +0000)]
Permit ordinary object files in groups.

16 years agoDon't pass around the target in order to define symbols; get it from
Ian Lance Taylor [Sat, 26 Jan 2008 01:17:45 +0000 (01:17 +0000)]
Don't pass around the target in order to define symbols; get it from
the parameters instead.

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* readelf.c (process_section_headers): Add m16c handler.
DJ Delorie [Fri, 25 Jan 2008 21:08:17 +0000 (21:08 +0000)]
* readelf.c (process_section_headers): Add m16c handler.
(is_16bit_abs_reloc): Recognize R_M32C_16.

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 ago2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 25 Jan 2008 17:34:29 +0000 (17:34 +0000)]
2008-01-25  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/5670
* ldlang.c (process_insert_statements): Silence gcc 4.1 alias
warning.

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:41 +0000 (16:18 +0000)]
Add mingw I64 support for printing long and long long values

16 years agold/
Alan Modra [Fri, 25 Jan 2008 12:03:37 +0000 (12:03 +0000)]
ld/
* ld.texinfo (INSERT): Describe.
* ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
(INSERT_K, AFTER, BEFORE): Add as tokens.
(ifile_p1): Handle INSERT statements.
(saved_script_handle, force_make_executable): Move to..
* ldmain.c: ..here.
(previous_script_handle): New global var.
* ldmain.h (saved_script_handle, force_make_executable): Declare.
(previous_script_handle): Likewise.
* ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
* lexsup.c (parge_args <-T>): Set previous_script_handle.
* ldlang.c (lang_for_each_statement_worker): Handle insert statement.
(map_input_to_output_sections, print_statement): Likewise.
(lang_size_sections_1, lang_do_assignments_1): Likewise.
(insert_os_after): New function, extracted from..
(lang_insert_orphan): ..here.
(process_insert_statements): New function.
(lang_process): Call it.
(lang_add_insert): New function.
* ldlang.h (lang_insert_statement_enum): New.
(lang_insert_statement_type): New.
(lang_statement_union_type): Add insert_statement.
(lang_add_insert): Declare.
ld/testsuite/
* ld-spu/ovl.lnk: Delete overlay.
* ld-spu/ovl1.lnk: New file.
* ld-spu/ovl2.lnk: New file.
* ld-spu/ovl.d: Update.
* ld-spu/ovl2.d: Update.

16 years ago* po/ru.po: Updated Russian translation.
Nick Clifton [Fri, 25 Jan 2008 11:18:27 +0000 (11:18 +0000)]
* po/ru.po: Updated Russian translation.

16 years ago * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
Bob Wilson [Fri, 25 Jan 2008 01:08:34 +0000 (01:08 +0000)]
* doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
can only be encoded in FLIX instructions but are not specified as such.
(Xtensa Automatic Alignment): Remove obsolete comment about debugging
labels.

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 ago2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 24 Jan 2008 22:44:37 +0000 (22:44 +0000)]
2008-01-24  H.J. Lu  <hongjiu.lu@intel.com>

* NEWS: Mention new command line options for x86 targets.

16 years agoFrom Craig Silverstein: Simplify Version_script_info::symbol_is_local
Ian Lance Taylor [Thu, 24 Jan 2008 22:35:39 +0000 (22:35 +0000)]
From Craig Silverstein: Simplify Version_script_info::symbol_is_local
interface.

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 agoFrom Cary Coutant: Fix last patch.
Ian Lance Taylor [Thu, 24 Jan 2008 00:51:57 +0000 (00:51 +0000)]
From Cary Coutant: Fix last patch.

16 years agoOriginally from Craig Silverstein, with changes: support using a
Ian Lance Taylor [Thu, 24 Jan 2008 00:15:00 +0000 (00:15 +0000)]
Originally from Craig Silverstein, with changes: support using a
version script to force symbols to be local.

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 agoUse string instead of STRING, so that we handled QUOTED_STRING.
Ian Lance Taylor [Wed, 23 Jan 2008 19:31:56 +0000 (19:31 +0000)]
Use string instead of STRING, so that we handled QUOTED_STRING.

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* ld-gc/gc.c: Make sure used_func is not inlined.
Andreas Schwab [Wed, 23 Jan 2008 16:05:45 +0000 (16:05 +0000)]
* ld-gc/gc.c: Make sure used_func is not inlined.

16 years ago2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 23 Jan 2008 14:13:08 +0000 (14:13 +0000)]
2008-01-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (md_show_usage): Show more processors for
-march=/-mtune=.

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:57:11 +0000 (08:57 +0000)]
2008-01-23  Tristan Gingold  <gingold@adacore.com>

        * gas/ia64/regs.d: Updated as the ia64 disassembler now displays
        symbolic names for all ar registers.

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 agoFrom Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
Ian Lance Taylor [Wed, 23 Jan 2008 07:15:59 +0000 (07:15 +0000)]
From Cary Coutant: Fix mixing PIC and non-PIC relocs in the same
shared library.

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 ago*** empty log message ***
Nick Roberts [Wed, 23 Jan 2008 06:13:28 +0000 (06:13 +0000)]
*** empty log message ***

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.