deliverable/binutils-gdb.git
15 years ago Remove support for catch load and catch unload commands.
Joel Brobecker [Sun, 16 Nov 2008 18:01:46 +0000 (18:01 +0000)] 
    Remove support for catch load and catch unload commands.

        * breakpoint.h (enum bptype): Remove bp_catch_load and bp_catch_unload.
        (struct breakpoint): Remove fields dll_pathname and
        triggered_dll_pathname.
        (bpstat_get_triggered_catchpoints, ep_is_shlib_catchpoint): Delete.
        * breakpoint.c (ep_is_catchpoint): Remove handling of
        bp_catch_load and bp_catch_unload.
        (print_it_typical, bpstat_check_location, bpstat_what)
        (print_one_breakpoint_location, print_one_breakpoint_location)
        (user_settable_breakpoint, allocate_bp_location)
        (set_raw_breakpoint_without_location, mention, delete_breakpoint,
        (breakpoint_re_set_one, disable_command, enable_command): Likewise.
        (ep_is_shlib_catchpoint, bpstat_get_triggered_catchpoints)
        (catch_load_command_1, catch_unload_command_1): Delete.
        (_initialize_breakpoint): Remove the "catch load" and "catch unload"
        command creation.
        * infrun.c (handle_inferior_event): Remove the handling of
        load/unload catchpoint events.

15 years ago * dlltool.c (identify_search_section): Cast argument, not return
Danny Smith [Sun, 16 Nov 2008 06:00:41 +0000 (06:00 +0000)] 
* dlltool.c (identify_search_section): Cast argument, not return
value, of xstrdup to 'char*'.

15 years agodaily update
Alan Modra [Sun, 16 Nov 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

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

16 years ago From Jerome Guitton <guitton@adacore.com>
Joel Brobecker [Sat, 15 Nov 2008 18:49:50 +0000 (18:49 +0000)] 
    From  Jerome Guitton  <guitton@adacore.com>
        * dwarf2read.c (dwarf2_debug_line_missing_end_sequence_complaint):
        New function.
        (dwarf_decode_lines): Detect null file numbers. Detect the end of
        the line program sequence when no end sequence is emitted.

16 years ago * gdb.ada/int_deref.exp: New testcase.
Joel Brobecker [Sat, 15 Nov 2008 18:30:38 +0000 (18:30 +0000)] 
    * gdb.ada/int_deref.exp: New testcase.

16 years ago * ada-lang.c (ada_evaluate_subexp): Improve handling of integer
Joel Brobecker [Sat, 15 Nov 2008 18:27:27 +0000 (18:27 +0000)] 
* ada-lang.c (ada_evaluate_subexp): Improve handling of integer
type dereferencing.

16 years agoAdded --identify option to dlltool.
Charles Wilson [Sat, 15 Nov 2008 18:15:18 +0000 (18:15 +0000)] 
Added --identify option to dlltool.

16 years ago * NEWS: Mention sparc64-linux-gnu gdbserver support.
Daniel Jacobowitz [Sat, 15 Nov 2008 16:09:51 +0000 (16:09 +0000)] 
* NEWS: Mention sparc64-linux-gnu gdbserver support.

16 years ago * reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
Cary Coutant [Sat, 15 Nov 2008 01:40:23 +0000 (01:40 +0000)] 
* reloc.cc (Sized_relobj::do_read_relocs): Use constant invalid_address
instead of -1U.

16 years agodaily update
Alan Modra [Sat, 15 Nov 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 15 Nov 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

16 years ago2008-11-14 Daniel Gutson <dgutson@codesourcery.com>
Daniel Jacobowitz [Fri, 14 Nov 2008 22:06:41 +0000 (22:06 +0000)] 
2008-11-14  Daniel Gutson  <dgutson@codesourcery.com>

* configure.tgt (sparc64-*-linux*): Added gdbserver support.
* regformats/reg-sparc64.dat: New file.

gdbserver/
2008-11-14  Daniel Gutson  <dgutson@codesourcery.com>

* Makefile.in (SFILES, clean): Added sparc64 files.
(reg-sparc64.o, reg-sparc64.c): New.
* configure.srv (sparc*-*-linux*): New configuration.
* linux-low.c (regsets_fetch_inferior_registers): Swap ptrace
syscall arguments for SPARC.
(regsets_store_inferior_registers): Likewise.
* linux-sparc-low.c: New file.

16 years ago/bfd:
Eric B. Weddington [Fri, 14 Nov 2008 21:37:52 +0000 (21:37 +0000)] 
/bfd:
2008-11-14  Eric B. Weddington  <eric.weddington@atmel.com>

PR 7022
* elf32-avr.c (bfd_elf_avr_final_write_processing):
Add missing break statements.

16 years agogdb
Tom Tromey [Fri, 14 Nov 2008 18:38:32 +0000 (18:38 +0000)] 
gdb

PR mi/2549:
* mi/mi-main.c (get_register): Use get_formatted_print_options.

gdb/testsuite

2008-11-14  Nick Roberts  <nickrob@snap.net.nz>

* gdb.mi/gdb2549.exp: New file.

16 years ago * xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
Bob Wilson [Fri, 14 Nov 2008 17:37:29 +0000 (17:37 +0000)] 
* xtensa-modules.c (xtensa_state_id): New enum, replacing STATE macros.
(xtensa_field_id, xtensa_regfile_id, xtensa_operand_id)
(xtensa_iclass_id, xtensa_opcode_id): New enums.
Replace hardcoded constants throughout this file with enum values.

16 years agomerge from gcc
DJ Delorie [Fri, 14 Nov 2008 16:02:56 +0000 (16:02 +0000)] 
merge from gcc

16 years ago2008-11-14 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Fri, 14 Nov 2008 15:13:05 +0000 (15:13 +0000)] 
2008-11-14  Kai Tietz  <kai.tietz@onevision.com>

* emultempl/pep.em (..._before_parse): initialize
pei386_runtime_pseudo_reloc by version 2.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
(make_import_fixup): Use relocation size to read addend.
* emultempl/pe.em (..._before_parse): initialize
pei386_runtime_pseudo_reloc by version 1.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
(OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
* pe-dll.c (pe-dll.h): Remove useless include.
(make_runtime_pseudo_reloc): Change addend to use bfd_vma.
Handle the two variants of pseudo-relocation.
(pe_create_import_fixup): Change addend to type bfd_vma.
Modify for the two pseudo_relocation variants.
(runtime_pseudp_reloc_v2_init): New static variable.
* pe-dll.h (pe_create_import_fixup): Change addend argument type
to bfd_vma.
* pep-dll.h (pep_create_import_fixup): Likewise.
* NEWS: Add comment.

16 years ago Revert:
Daniel Jacobowitz [Fri, 14 Nov 2008 15:10:50 +0000 (15:10 +0000)] 
Revert:

2008-10-24  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.tpl (HOST_EXPORTS): Correct CPPFLAGS typo.
* Makefile.in: Regenerated.

2008-10-22  Daniel Jacobowitz  <dan@codesourcery.com>

* Makefile.def (flags_to_pass): Add CPPFLAGS_FOR_BUILD and CPPFLAGS.
* Makefile.tpl (BUILD_EXPORTS): Set CPPFLAGS.
(EXTRA_BUILD_FLAGS): Correct typo.  Pass CPPFLAGS.
(HOST_EXPORTS): Pass CPPFLAGS.
(CPPFLAGS_FOR_BUILD, CPPFLAGS, CPPFLAGS_FOR_TARGET): Define.
(LDFLAGS_FOR_TARGET): Initialize from configure script.
(EXTRA_TARGET_FLAGS): Set CPPFLAGS.
* Makefile.in, configure: Regenerated.
* configure.ac: Set CPPFLAGS_FOR_TARGET, LDFLAGS_FOR_TARGET,
and CPPFLAGS_FOR_BUILD.

16 years ago2008-11-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 14 Nov 2008 14:56:51 +0000 (14:56 +0000)] 
2008-11-14  Tristan Gingold  <gingold@adacore.com>

Remove outdated mach-o specific tests.
* objdump.c (load_debug_section): Remove mach-o specific test.
(mach_o_uncompressed_dwarf_sections): Removed.
(mach_o_compressed_dwarf_sections): Removed.
(generic_uncompressed_dwarf_sections): Removed.
(generic_compressed_dwarf_sections): Removed.
(check_mach_o_dwarf): Removed.
(dump_dwarf): Remove call to check_mach_o_dwarf.

16 years ago bfd/
Nick Clifton [Fri, 14 Nov 2008 14:44:09 +0000 (14:44 +0000)] 
    bfd/
        * elf.c (assign_file_positions_for_load_sections): Use header_size
        to avoid moving the load address of file headers.
        (assign_file_positions_for_load_sections): Set header_size for
        segments containing the file header.

        include/elf/
        * internal.h (struct elf_segment_map): Add header_size field.

16 years ago * read.c (emit_expr): Grow frag before filling it so that
Nick Clifton [Fri, 14 Nov 2008 13:03:25 +0000 (13:03 +0000)] 
    * read.c (emit_expr): Grow frag before filling it so that
        dot_value remains valid.

16 years agobfd/
Tristan Gingold [Fri, 14 Nov 2008 09:57:35 +0000 (09:57 +0000)] 
bfd/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* configure.com: Handle bfd_default_target_size, BFD_HOST_LONG_LONG,
BFD_HOST_64BIT_LONG_LONG, BFD_HOSTPTR_T, bfd_file_ptr.
Generate bfdver.h.
* vms-hdr.c (_bfd_vms_write_hdr): Use strdup/free instead of alloca.
* hosts/alphavms.h: Defines macros to bypass i18n.
* makefile.vms (OBJS): Update file list.
(DEFS): Remove VMS_DEBUG, const, add DEBUGDIR.
(CFLAGS): Update flags.
* bfdio.c (real_fopen): Add code specific to VMS: extract attributes
from modes.

binutils/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* configure.com: Get version from configure.in of bfd.
* makefile.vms-in (DEBUG_OBJS): Add dwarf.obj.
(CFLAGS): Update flags.

include/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* fopen-vms.h (FOPEN_RB): Use a single string to match the
standard prototype.
(FOPEN_WB): Ditto.
(FOPEN_AB): Ditto.
(FOPEN_RUB): Ditto.
(FOPEN_WUB): Ditto.
(FOPEN_AUB): Ditto.

libiberty/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update objects list.
(CFLAGS): Update.
(libiberty.olb): Remove alloca-conf.h dependency.
* config.h-vms: Use new macro sets, use builtin alloca.

opcodes/
2008-11-14  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Update list of objects.
(DEFS): Update
(CFLAGS): Update.

16 years ago PR 7026
Nick Clifton [Fri, 14 Nov 2008 09:02:38 +0000 (09:02 +0000)] 
    PR 7026
        * config/tc-arm.c: Ensure that all uses of as_bad have a
        formatting string.

16 years ago(set_lang_c): Delete.
Doug Evans [Fri, 14 Nov 2008 06:55:40 +0000 (06:55 +0000)] 
(set_lang_c): Delete.
(runto_main): If it fails, call fail instead of gdb_suppress_tests.

16 years ago * Makefile.am (spu_ovl.o_c): Add missing line continuations.
Alan Modra [Fri, 14 Nov 2008 06:54:40 +0000 (06:54 +0000)] 
* Makefile.am (spu_ovl.o_c): Add missing line continuations.
* Makefile.in: Regenerate.

16 years agodaily update
Alan Modra [Fri, 14 Nov 2008 00:00:09 +0000 (00:00 +0000)] 
daily update

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

16 years ago * configure.in: Deactivate large-file support on native 32bit
Joel Brobecker [Thu, 13 Nov 2008 23:09:47 +0000 (23:09 +0000)] 
    * configure.in: Deactivate large-file support on native 32bit
        sparc-solaris unless the user explicitly requested it.
        * configure: Regenerate.

16 years ago * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
Joel Brobecker [Thu, 13 Nov 2008 22:26:15 +0000 (22:26 +0000)] 
    * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.

16 years agogdb/ChangeLog:
Ulrich Weigand [Thu, 13 Nov 2008 15:07:54 +0000 (15:07 +0000)] 
gdb/ChangeLog:

* auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
AT_EXECFN.  Re-sort AT_SECURE.

include/elf/ChangeLog:

* common.h (AT_BASE_PLATFORM, AT_EXECFN): Define.

16 years ago * monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.
Jan Kratochvil [Thu, 13 Nov 2008 15:02:15 +0000 (15:02 +0000)] 
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.

16 years ago * nm.c (filter_symbols): Only call memcpy when from != to.
Hans-Peter Nilsson [Thu, 13 Nov 2008 10:57:00 +0000 (10:57 +0000)] 
* nm.c (filter_symbols): Only call memcpy when from != to.

16 years ago * ia64-tdep.c: Remove commented out #define.
Joel Brobecker [Thu, 13 Nov 2008 05:05:07 +0000 (05:05 +0000)] 
    * ia64-tdep.c: Remove commented out #define.

16 years ago PR ld/7028
Hans-Peter Nilsson [Thu, 13 Nov 2008 03:01:15 +0000 (03:01 +0000)] 
PR ld/7028
* elf.c (assign_file_positions_for_load_sections): Allocate phrds
with bfd_zalloc2 instead of bfd_alloc2.  For the amount, use
the possibly-preset header-size, not the computed one.

16 years ago * remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
Joel Brobecker [Thu, 13 Nov 2008 01:26:44 +0000 (01:26 +0000)] 
* remote-sim.c (gdbsim_mourn_inferior): Use "target" parameter
instead of the "gdbsim_ops" global.

16 years agodaily update
Alan Modra [Thu, 13 Nov 2008 00:00:05 +0000 (00:00 +0000)] 
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 13 Nov 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

16 years ago2008-11-12 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Wed, 12 Nov 2008 22:05:18 +0000 (22:05 +0000)] 
2008-11-12  Joel Sherrill <joel.sherrill@oarcorp.com>

* aclocal.m4:  Fix underquoting of function names.

16 years ago PR 7023
Alan Modra [Wed, 12 Nov 2008 22:04:04 +0000 (22:04 +0000)] 
PR 7023
* elf.c (bfd_section_from_shdr <SHT_SYMTAB>): Fail on invalid sh_info.

16 years ago2008-11-12 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 12 Nov 2008 10:27:57 +0000 (10:27 +0000)] 
2008-11-12  Tristan Gingold  <gingold@adacore.com>

* bfd.c (bfd_get_sign_extend_vma): Return 0 for mach-o.

16 years ago * config/tc-cris.c (cris_number_to_imm): Except for
Hans-Peter Nilsson [Wed, 12 Nov 2008 03:09:31 +0000 (03:09 +0000)] 
* config/tc-cris.c (cris_number_to_imm): Except for
BFD_RELOC_NONE, always set contents.  Where previously this was
skipped, set contents to 0.

16 years ago PR gas/7025
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:42:46 +0000 (02:42 +0000)] 
PR gas/7025
* input-scrub.c (input_scrub_include_sb): Make the position
after the input have defined contents, a 0 character.

16 years ago * gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:36:55 +0000 (02:36 +0000)] 
* gas/cris/rd-bcnst2-pic.d, gas/cris/rd-bcnst2.d,
gas/cris/rd-bcnst2.s: New tests.

16 years ago * config/tc-cris.c (cris_relax_frag): Add missing case for
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:35:28 +0000 (02:35 +0000)] 
* config/tc-cris.c (cris_relax_frag): Add missing case for
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).

16 years ago PR gas/7020
Hans-Peter Nilsson [Wed, 12 Nov 2008 02:04:39 +0000 (02:04 +0000)] 
PR gas/7020
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].

16 years ago * read.c (read_a_source_file): Rearrange evaluation order when
Hans-Peter Nilsson [Wed, 12 Nov 2008 01:41:12 +0000 (01:41 +0000)] 
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of
input_line_pointer[1].

16 years ago * infcall.c (call_function_by_hand): Handle inferior exit.
Doug Evans [Wed, 12 Nov 2008 00:39:28 +0000 (00:39 +0000)] 
* infcall.c (call_function_by_hand): Handle inferior exit.

* gdb.base/callexit.exp: New file.
* gdb.base/callexit.c: New file.

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

16 years agodaily update
Alan Modra [Tue, 11 Nov 2008 23:58:59 +0000 (23:58 +0000)] 
daily update

16 years ago2008-11-10 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 11 Nov 2008 22:20:54 +0000 (22:20 +0000)] 
2008-11-10  Joel Sherrill <joel.sherrill@oarcorp.com>

* erc32.c, exec.c: Fix warnings.

16 years ago * remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
Thiago Jung Bauermann [Tue, 11 Nov 2008 22:07:40 +0000 (22:07 +0000)] 
* remote-sim.c (gdbsim_create_inferior, gdbsim_mourn_inferior): Add
missing struct target_ops argument.

16 years ago2008-11-11 Joel Sherrill <joel.sherrilL@oarcorp.com>
Joel Sherrill [Tue, 11 Nov 2008 22:05:45 +0000 (22:05 +0000)] 
2008-11-11  Joel Sherrill <joel.sherrilL@oarcorp.com>

* MAINTAINERS: Add myself for write after approval privileges.

16 years ago * elf.c (assign_file_positions_for_non_load_sections): Consolidate
Alan Modra [Tue, 11 Nov 2008 04:26:13 +0000 (04:26 +0000)] 
* elf.c (assign_file_positions_for_non_load_sections): Consolidate
PT_GNU_RELRO handling.

16 years ago * lib/gdb.exp (GDBFLAGS): Move -nx ...
Doug Evans [Tue, 11 Nov 2008 01:23:34 +0000 (01:23 +0000)] 
* lib/gdb.exp (GDBFLAGS): Move -nx ...
(INTERNAL_GDBFLAGS): ... to here.  Move -nw to here as well.
(default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
(default_gdb_start,default_gdb_exit): Ditto.
* lib/mi-support.exp (default_mi_gdb_start): Ditto.
(mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
* gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
* gdb.base/dbx.exp (dbx_gdb_start): Ditto.
* gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
* gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.

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

16 years agodaily update
Alan Modra [Mon, 10 Nov 2008 23:59:04 +0000 (23:59 +0000)] 
daily update

16 years ago PR 7012
Alan Modra [Mon, 10 Nov 2008 23:39:19 +0000 (23:39 +0000)] 
PR 7012
* dwarf2.c (find_line): Don't keep stale pointers into realloc'd
memory.  Return on errors.  Fix memory leak.
(_bfd_dwarf2_cleanup_debug_info): Free dwarf_str_buffer.

16 years ago PR 7011
Andreas Schwab [Mon, 10 Nov 2008 22:47:58 +0000 (22:47 +0000)] 
PR 7011
* elf.c (assign_file_positions_for_non_load_sections): Handle
PT_GNU_RELRO specially.

16 years ago * gdbtypes.c (copy_type_recursive): Clear new fields.
Tom Tromey [Mon, 10 Nov 2008 20:53:43 +0000 (20:53 +0000)] 
* gdbtypes.c (copy_type_recursive): Clear new fields.

16 years ago * cli/cli-cmds.c (source_script): Clean up full_pathname. Run
Tom Tromey [Mon, 10 Nov 2008 20:38:24 +0000 (20:38 +0000)] 
* cli/cli-cmds.c (source_script): Clean up full_pathname.  Run
cleanups on early return.

16 years ago * objdump.c (disassemble_bytes): Don't skip leading zeros when
Alan Modra [Mon, 10 Nov 2008 08:45:13 +0000 (08:45 +0000)] 
* objdump.c (disassemble_bytes): Don't skip leading zeros when
end of section calculation overflows.

16 years ago*** empty log message ***
gdbadmin [Mon, 10 Nov 2008 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

16 years agodaily update
Alan Modra [Sun, 9 Nov 2008 23:59:09 +0000 (23:59 +0000)] 
daily update

16 years ago Kill pthread_ops_hack
Vladimir Prus [Sun, 9 Nov 2008 11:27:18 +0000 (11:27 +0000)] 
Kill pthread_ops_hack

* target.h (struct target_ops): Make to_attach, to_detach,
to_create_inferior and to_mourn_inferior accept a pointer
     to struct target_ops.
(target_attach, target_create_inferior, target_create_inferior):
Convert from macros to function.  Find the right target to
invoke a method of.
(find_default_attach, find_default_create_inferior): New parameter
ops.
* corefile.c (core_file_command): Pass target to to_detach.
* corelow.c (core_detach): Add 'ops' parameter.
* fork-child.c (fork_inferior): Return the pid.  Allow
init_trace_fun to be NULL.
* inf-ptrace (ptrace_ops_hack): Remove.
(inf_ptrace_him): Remove, moving all logic into....
(inf_ptrace_create_inferior): ... here.  Push the target
passed as parameter.
(inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach):
Push/pop target passed as parameter, no ptrace_ops_hack.
(inf_ptrace_target): Don't remember result.
* inferior.h (fork_inferior): Adjust prototype.
* linux-nat.c (linux_nat_create_inferior, linux_nat_attach)
(linux_nat_detach, linux_nat_mourn_inferior): New parameter ops.
Pass it to linux_ops target.
* linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior):
New parameter ops. Pass it to the target beneath.
* remote.c (remote_mourn, extended_remote_mourn, remote_detach)
(extended_remote_create_inferior): New parameter ops. Pass it
further.
* target.c (debug_to_attach, debug_to_detach)
(debug_to_mourn_inferior): New parameter ops.
(target_create_inferior): New.
(update_current_target): Do not inherit to_attach, to_detach,
to_create_inferiour, to_mourn_inferior.  Do not default
to_detach and to_mourn_inferior.
(target_detach): Find the right target to use.
(target_mourn_inferior): New.
(find_default_attach, find_default_create_inferior): New parameter
ops.  Pass the found target when calling its method.
(init_dummy_target): Provide fallback definition of to_detach.
(target_attach): New.
(debug_to_attach, debug_to_detach, debug_to_create_inferior)
(debug_to_mourn_inferiour): New parameter ops.
        * aix-thread.c: Adjust.
        * bsd-uthread.c: Adjust.
        * gnu-nat.c: Adjust.
        * go32-nat.c: Adjust.
        * hpux-thread.c: Adjust.
        * inf-ttrace.c: Ajust.
        * monitor.c: Adjust.
        * nto-procfs.c: Adjust.
        * procfs.c: Adjust.
        * remote-m32r-sdi.c: Adjust.
        * remote-mips.c: Adjust.
        * remote-sim.c: Adjust.
        * rs6000-nat.c: Adjust.
        * sol-thread.c: Adjust.
        * win32-nat.c: Adjust.
* dec-thread.c: Adjust.

16 years ago * thread.c (print_thread_info): Eliminate now useless checks
Vladimir Prus [Sun, 9 Nov 2008 07:54:27 +0000 (07:54 +0000)] 
* thread.c (print_thread_info): Eliminate now useless checks
for exited threads.

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

16 years agodaily update
Alan Modra [Sat, 8 Nov 2008 23:59:14 +0000 (23:59 +0000)] 
daily update

16 years ago(coff_symtab_read): Fix a typo in a comment.
Eli Zaretskii [Sat, 8 Nov 2008 09:38:06 +0000 (09:38 +0000)] 
(coff_symtab_read): Fix a typo in a comment.

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

16 years agodaily update
Alan Modra [Fri, 7 Nov 2008 23:59:19 +0000 (23:59 +0000)] 
daily update

16 years agofix typo in date
Doug Evans [Fri, 7 Nov 2008 21:05:27 +0000 (21:05 +0000)] 
fix typo in date

16 years ago * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.
Nick Clifton [Fri, 7 Nov 2008 14:27:05 +0000 (14:27 +0000)] 
    * MAINTAINERS: Take over from Anil Paranjpe as H8300 maintainer.

16 years ago*** empty log message ***
gdbadmin [Fri, 7 Nov 2008 00:00:34 +0000 (00:00 +0000)] 
*** empty log message ***

16 years agodaily update
Alan Modra [Thu, 6 Nov 2008 23:59:25 +0000 (23:59 +0000)] 
daily update

16 years ago * config/tc-mips.c (COP_INSN): Change logic to always return false
Adam Nemet [Thu, 6 Nov 2008 19:49:26 +0000 (19:49 +0000)] 
* config/tc-mips.c (COP_INSN): Change logic to always return false
for FP instructions.

testsuite/
* gas/mips/mips1-fp.s, testsuite/gas/mips/mips1-fp.d,
testsuite/gas/mips/mips1-fp.l: New tests.
* gas/mips/mips.exp: Run them.

16 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Thu, 6 Nov 2008 19:43:00 +0000 (19:43 +0000)] 
2008-11-06  Chao-ying Fu  <fu@mips.com>

* gas/mips/mips32-sync.d, gas/mip/mips32-sync.s: New tests.
* gas/mips/mips.exp: Run them.

16 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Thu, 6 Nov 2008 19:40:10 +0000 (19:40 +0000)] 
2008-11-06  Chao-ying Fu  <fu@mips.com>

* mips-opc.c (synciobdma, syncs, syncw, syncws): Move these
before sync.
(sync): New instruction with 5-bit sync type.
* mips-dis.c (print_insn_args: Add case '1' to print 5-bit values.

16 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Thu, 6 Nov 2008 19:36:38 +0000 (19:36 +0000)] 
2008-11-06  Chao-ying Fu  <fu@mips.com>

* config/tc-mips.c (validate_mips_insn): Add case '1'.
(mips_ip): Add case '1' to process sync type.

16 years ago2008-11-06 Chao-ying Fu <fu@mips.com>
Chao-ying Fu [Thu, 6 Nov 2008 19:32:42 +0000 (19:32 +0000)] 
2008-11-06  Chao-ying Fu  <fu@mips.com>

* mips.h: Doucument '1' for 5-bit sync type.

16 years ago * i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
Pedro Alves [Thu, 6 Nov 2008 16:44:45 +0000 (16:44 +0000)] 
* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
to 0.

16 years agoAdd m32c-*-rtems* and m32r-*-rtems* configuration targets.
Nick Clifton [Thu, 6 Nov 2008 15:36:38 +0000 (15:36 +0000)] 
Add m32c-*-rtems* and m32r-*-rtems* configuration targets.

16 years ago * configure, config.in: Rebuild.
Tom Tromey [Thu, 6 Nov 2008 14:10:46 +0000 (14:10 +0000)] 
* configure, config.in: Rebuild.
* configure.in: Check for fileno.
* bfdio.c (close_on_exec): New function.
(real_fopen): Use it.
(FD_CLOEXEC): New define.

16 years agoRemove extra blank line.
Tristan Gingold [Thu, 6 Nov 2008 13:10:15 +0000 (13:10 +0000)] 
Remove extra blank line.

16 years ago2008-11-06 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 6 Nov 2008 13:03:43 +0000 (13:03 +0000)] 
2008-11-06  Tristan Gingold  <gingold@adacore.com>

* mach-o.h (BFD_MACH_O_NO_SECT): Add; reorders the macros.
(BFD_MACH_O_SYM_NTYPE, BFD_MACH_O_SYM_NSECT,
BFD_MACH_O_SYM_NDESC): New macros.
(bfd_mach_o_i386_thread_flavour): Define according to the latest
definition from system header.
(bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_RPATH,
BFD_MACH_O_LC_CODE_SIGNATURE.
(BFD_MACH_O_SECTION_TYPE_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_MASK,
BFD_MACH_O_SECTION_ATTRIBUTES_SYS, BFD_MACH_O_SECTION_ATTRIBUTES_USR,
BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC,
BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG,
BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): Add.
(bfd_mach_o_segment_command): Add room for a nul terminator in
segname field.
(BFD_MACH_O_PROT_READ, BFD_MACH_O_PROT_WRITE,
BFD_MACH_O_PROT_EXECUTE): Add.
(INDIRECT_SYMBOL_LOCAL): Renames to BFD_MACH_O_INDIRECT_SYMBOL_LOCAL.
(INDIRECT_SYMBOL_ABS): Renames to BFD_MACH_O_INDIRECT_SYMBOL_ABS.
(bfd_mach_o_uuid_command): Add the structure.
(bfd_mach_o_load_command): Add uuid field.
(bfd_get_mach_o_data): New macro.
* mach-o.c (bfd_mach_o_bfd_print_private_bfd_data): New function which
replaces the macro.
(SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_ATTRIBUTES_USR,
S_ATTR_PURE_INSTRUCTIONS, SECTION_ATTRIBUTES_SYS,
S_ATTR_SOME_INSTRUCTIONS, S_ATTR_EXT_RELOC, S_ATTR_LOC_RELOC): Renamed
and moved to mach-o.h.
(N_STAB, N_TYPE, N_EXT, N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS,
N_SECT, N_INDR): Removed as they duplicated macros in mach-o.h.
(bfd_mach_o_print_symbol): Print much more details.
(bfd_mach_o_make_bfd_section): Add prot argument, use canonical
dwarf name for dwarf sections.  Precisely set section flags.
(bfd_mach_o_scan_read_section_32): Add prot argument.
(bfd_mach_o_scan_read_section_64): Ditto.
(bfd_mach_o_scan_read_section): Ditto.
(bfd_mach_o_scan_read_symtab_symbol): Set section for debugging
stabs, set BSF_GLOBAL and LOCAL flags correctly.  Fix section
for N_SECT symbols.
(bfd_mach_o_i386_flavour_string): Reindent and adjust for new
names.
(bfd_mach_o_scan_read_symtab): Set HAS_SYMS flags on bfd if there
are symbols.
(bfd_mach_o_scan_read_uuid): New function.
(bfd_mach_o_scan_read_segment): Add a trailing nul.  Segments
flags are now simply HAS_CONTENTS.  Pass protection to
bfd_mach_o_scan_read_section.
(bfd_mach_o_scan_read_command): Decode UUID command.
(bfd_mach_o_flatten_sections): Add comments.  Fix flavour names.
(bfd_mach_o_scan): Set flags according to file type.
(mach_o_fat_archentry): Remove abfd field.
(bfd_mach_o_archive_p): Remove initialization of abfd field.
(bfd_mach_o_openr_next_archived_file): Find previous archive
by position and not by bfd (as former bfds may have been freed).
Give architecture name to archived file.
* mach-o-target.c (TARGET_NAME): Use generic archive for non fat
targets.

16 years ago * avr-dis.c: Replace uses of sprintf without a format string with
Nick Clifton [Thu, 6 Nov 2008 12:03:24 +0000 (12:03 +0000)] 
    * avr-dis.c: Replace uses of sprintf without a format string with
        calls to strcpy.

16 years ago * options.cc (General_options::parse_dynamic_list): New function.
Craig Silverstein [Thu, 6 Nov 2008 07:23:31 +0000 (07:23 +0000)] 
* options.cc (General_options::parse_dynamic_list): New function.
* options.h (General_options): New flags dynamic_list,
dynamic_list_data, dynamic_list_cpp_new, and
dynamic_list_cpp_typeinfo.  New variable dynamic_list_.
(General_options::in_dynamic_list): New function.
* script.cc (Lex::Mode): New enum DYNAMIC_LIST.
(Lex::can_start_name): Add support for DYNAMIC_LIST mode.
(Lex::can_continue_name): Likewise.
(yylex): Likewise.
(read_script_file): New parameter script_options.
(read_dynamic_list): New function.
(Script_options::define_dynamic_list): New function.
(dynamic_list_keyword_parsecodes): New variable.
(dynamic_list_keywords): New variable.
* script.h (Script_options::define_dynamic_list): New function
prototype.
(read_dynamic_list): New function prototype.
* symtab.cc (strprefix): New macro.
(Symbol::should_add_dynsym_entry): Support dynamic_list,
dynamic_list_data, dynamic_list_cpp_new, and
dynamic_list_cpp_typeinfo.
* yyscript.y (PARSING_DYNAMIC_LIST): New token.
(dynamic_list_expr): New rule.
(dynamic_list_nodes): Likewise.
(dynamic_list_node): Likewise.
* testsuite/Makefile.am (dynamic_list): New test.
* testsuite/Makefile.in: Regenerated.
* testsuite/dynamic_list.t: New file.
* testsuite/dynamic_list.sh: New file.

16 years ago * testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
Craig Silverstein [Thu, 6 Nov 2008 00:44:32 +0000 (00:44 +0000)] 
* testsuite/tls_test_c.c: Add prototype for t11 and t11_last.
* testsuite/tls_test_c.c (t11): Add explicit "void" to prototype.
(t11_last): Likewise.
* testsuite/ver_test_6.c (main): Likewise.

16 years ago*** empty log message ***
gdbadmin [Thu, 6 Nov 2008 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

16 years agodaily update
Alan Modra [Wed, 5 Nov 2008 23:59:29 +0000 (23:59 +0000)] 
daily update

16 years ago * remote.c (notice_new_inferiors): Add a new inferior only when
Pedro Alves [Wed, 5 Nov 2008 21:19:45 +0000 (21:19 +0000)] 
* remote.c (notice_new_inferiors): Add a new inferior only when
we're going to add a new thread.

16 years ago * defs.h (add_inferior_continuation)
Pedro Alves [Wed, 5 Nov 2008 20:23:07 +0000 (20:23 +0000)] 
* defs.h (add_inferior_continuation)
(do_all_inferior_continuations)
(discard_all_inferior_continuations): Declare.
* utils.c (add_inferior_continuation)
(do_all_inferior_continuations)
(discard_all_inferior_continuations): New.
* inferior.h (struct inferior) <continuations>: New field.
* inferior.c (free_inferior): Discard all the inferior
continuations.
* inf-loop.c (inferior_event_handler): Do all current inferior
continuations.
* infcmd.c (attach_command): Register an inferior continuation
instead of a thread continuation.
* infrun.c (handle_inferior_event): If stop_soon is
STOP_QUIETLY_NO_SIGSTOP, also expect a TARGET_SIGNAL_0.

16 years ago2008-11-04 Sterling Augustine <sterling@tensilica.com>
Bob Wilson [Wed, 5 Nov 2008 00:45:04 +0000 (00:45 +0000)] 
2008-11-04  Sterling Augustine  <sterling@tensilica.com>
* config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
writes to the same register.

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

16 years agodaily update
Alan Modra [Tue, 4 Nov 2008 23:59:35 +0000 (23:59 +0000)] 
daily update

16 years ago2008-11-04 Sterling Augustine <sterling@tensilica.com>
Bob Wilson [Tue, 4 Nov 2008 23:11:02 +0000 (23:11 +0000)] 
2008-11-04  Sterling Augustine  <sterling@tensilica.com>
* config/tc-xtensa.c (xtensa_j_opcode): New.
(xg_instruction_matches_option_term): Handle "FREEREG" option.
(xg_build_to_insn): Likewise.  Update renamed tls_reloc reference.
(md_begin): Initialize xtensa_j_opcode.
(md_assemble): Update renamed tls_reloc reference.  Handle "j.l".
(xg_assemble_vliw_tokens): Save free_reg info in the frag.
(tinsn_immed_from_frag): Get free_reg info back out of the frag.
(vinsn_to_insnbuf): Update renamed tls_reloc references.
Distinguish extra argument for "FREEREG" from extra TLS argument.
* config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
* config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
field to extra_arg.
* config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
(build_transition): Handle "FREEREG" operand.
* config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
2008-11-04  Bob Wilson  <bob.wilson@acm.org>
* gas/xtensa/all.exp: Run jlong test.
* gas/xtensa/jlong.d: New.
* gas/xtensa/jlong.s: New.

16 years ago * inf-loop.c (inferior_event_handler): On INF_ERROR and
Pedro Alves [Tue, 4 Nov 2008 20:52:24 +0000 (20:52 +0000)] 
* inf-loop.c (inferior_event_handler): On INF_ERROR and
INF_REG_EVENT throwing, don't call target_async or pop_target.
Call pop_all_targets_above.
* remote.c (remote_close): Call remote_terminal_ours.  Don't call
signal or target_async.

16 years ago * eval.c (evaluate_subexp_standard): Assert that there is at
Daniel Jacobowitz [Tue, 4 Nov 2008 15:32:54 +0000 (15:32 +0000)] 
* eval.c (evaluate_subexp_standard): Assert that there is at
least one array dimension.

16 years ago*** empty log message ***
gdbadmin [Tue, 4 Nov 2008 00:00:34 +0000 (00:00 +0000)] 
*** empty log message ***

16 years agodaily update
Alan Modra [Mon, 3 Nov 2008 23:59:44 +0000 (23:59 +0000)] 
daily update

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