Nick Clifton
f8f003f13a
PR 10143
...
* config/bfin-parse.y (error): Use "%s" as format string for error
message.
2009-05-26 15:35:37 +00:00
Nick Clifton
ce3c775b8f
* Makefile.am: Run "make dep-am".
...
(AM_CPPFLAGS): New.
(LIBDL): New.
(ALL_MACHINES): Add cpu-plugin.lo.
(ALL_MACHINES_CFILES): Add cpu-plugin.c.
(BFD32_BACKENDS): Add plugin.lo.
(BFD32_BACKENDS_CFILES): Add plugin.c.
(libbfd_la_LIBADD): Add LIBDL
* archures.c (bfd_architecture): Add bfd_arch_plugin.
(bfd_plugin_arch): Declare.
* bfd-in.h (BFD_SUPPORTS_PLUGINS): New.
* bfd.c (bfd): Add plugin_data.
* config.bfd: Handle the plugin target.
* configure.in: Check for --enable-plugins.
(LT_INIT): Use the dlopen option.
* cpu-plugin.c: New.
* plugin.c: New.
* plugin.h: New.
* targets.c (plugin_vec): Declare.
(_bfd_target_vector): Add plugin_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* ar.c: Include plugin.h.
(main): Handle the --plugin option.
* nm.c: Include plugin.h.
(OPTION_PLUGIN): New.
(long_options): Add plugin.
(main): Handle OPTION_PLUGIN.
* NEWS: Mention the new feature.
* doc/binutils: Documement the new command line options.
* configure.in: Check for --enable-plugins.
* configure: Regenerate.
2009-05-26 14:12:03 +00:00
Alan Modra
00f3247a62
* dep-in.sed: Output one filename per line with all lines having
...
continuation backslash. Prefix first line with "A", following
lines with "B".
* Makefile.am (DEP): Don't use dep.sed here.
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
sort and uniq.
* Makefile.in: Regenerate.
2009-05-26 03:20:10 +00:00
Alan Modra
5de4cd1336
* dep-in.sed: Output one filename per line with all lines having
...
continuation backslash. Prefix first line with "A", following
lines with "B".
* Makefile.am (DEP): Don't use dep.sed here.
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
sort and uniq.
(DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
Emit multi dependencies on one line.
* Makefile.in: Regenerate.
2009-05-26 03:19:50 +00:00
Alan Modra
9e097a72c9
* dep-in.sed: Don't modify .o to .lo here. Output one filename
...
per line with all lines having continuation backslash. Prefix
first line with "A", following lines with "B".
* Makefile.am (DEP): Don't use dep.sed here.
(DEP1): Run $MKDEP on single files, modify .o to .lo here. Use
dep.sed here on dependencies, sort and uniq.
* Makefile.in: Regenerate.
2009-05-26 03:19:28 +00:00
Alan Modra
e50d6125d6
* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
2009-05-26 01:20:39 +00:00
Alan Modra
4379f3ec45
daily update
2009-05-26 00:00:04 +00:00
gdbadmin
6e56e9fe37
*** empty log message ***
2009-05-26 00:00:03 +00:00
Tristan Gingold
8a7a39abb4
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* setup.com: Complete the file with configuration and build.
2009-05-25 13:31:05 +00:00
Tristan Gingold
56ae5eb977
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* makefile.vms: New file to compile gas on VMS.
* configure.com: New file to do configuration on VMS with DCL.
2009-05-25 13:27:56 +00:00
Tristan Gingold
295fa3cfd2
(Fix date for):
...
2009-05-25 Tristan Gingold <gingold@adacore.com>
* makefile.vms: New file to compile gas on VMS.
* configure.com: New file to do configuration on VMS with DCL.
2009-05-25 13:24:13 +00:00
Tristan Gingold
cb0e7c25ac
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* makefile.vms: New file to compile gas on VMS.
* configure.com: New file to do configuration on VMS with DCL.
2009-05-25 13:11:33 +00:00
Tristan Gingold
84983b1a4e
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
FOPEN_AUB): Use "rfm=udf,rat=none" attribute.
2009-05-25 13:04:40 +00:00
Tristan Gingold
c5ac1056d7
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* makefile.vms-in: Fix CFLAGS, add addr2line.exe target.
* configure.com: Fix it: handle alloca and define TARGET in config.h.
2009-05-25 13:03:24 +00:00
Tristan Gingold
4f8318f890
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* makefile.vms (OPT): New variable.
(CFLAGS): Update compilation flags.
2009-05-25 12:43:48 +00:00
Tristan Gingold
d5acff2fd3
2009-05-25 Tristan Gingold <gingold@adacore.com>
...
* makefile.vms: Add verilog.obj to object list OBJS.
2009-05-25 12:41:46 +00:00
Pierre Muller
4fcbb49441
* procfs.c (procfs_wait): Add options parameter.
2009-05-25 12:28:57 +00:00
Alan Modra
8dbc6e74e9
daily update
2009-05-25 00:00:09 +00:00
gdbadmin
fa0d14dd3a
*** empty log message ***
2009-05-25 00:00:03 +00:00
Doug Evans
e09875d410
gdb:
...
Global renaming of find_thread_pid to find_thread_ptid.
* gdbthread.h (find_thread_ptid): Renamed from find_thread_pid.
* thread.c (find_thread_ptid): Renamed from find_thread_pid.
All callers updated.
gdbserver:
Global renaming of find_thread_pid to find_thread_ptid.
* server.h (find_thread_ptid): Renamed from find_thread_pid.
* inferiors.c (find_thread_ptid): Renamed from find_thread_pid.
All callers updated.
2009-05-24 21:06:53 +00:00
Doug Evans
4e3990f4f9
* infrun.c (follow_fork): Initialize new step_* locals
...
to avoid "may be used uninitialized" warnings.
2009-05-24 20:55:33 +00:00
Pedro Alves
98b54c187e
* inflow.c (copy_terminal_info): Deep copy `run_terminal'.
2009-05-24 18:16:53 +00:00
Pedro Alves
e58b0e63bb
gdb/
...
* gdbthread.h (struct thread_info): New `pending_follow' field.
* thread.c (new_thread): New function.
(add_thread_silent): Use it.
* breakpoint.c (internal_breakpoint_number): New global, moved
from inside...
(create_internal_breakpoint): ... this.
(clone_momentary_breakpoint): New.
* breakpoint.h (clone_momentary_breakpoint): Declare.
* infrun.c (nullify_last_target_wait_ptid): Move declaration
higher.
(pending_follow): Delete.
(follow_fork): Handle pending follow fork event here. Moved the
preserving of thread stepping state here.
(resume): Don't handle pending follow fork events here. Only
install the inferior's terminal modes if we're about to resume it.
(proceed): Handle possible pending follow fork events here.
(init_wait_for_inferior): No need to clear pending_follow anymore,
it's gone.
(handle_inferior_event): Adjust to per-thread `pending_follow'.
Call `follow_fork' to handle following the fork. If the
follow-fork is cancelled, stop stepping.
* linux-nat.c (linux_child_follow_fork): Adjust to per-thread
`pending_follow' events. Remove code that handled preserving the
thread stepping state.
* inf-ptrace.c (inf_ptrace_follow_fork): Ditto.
* inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
gdb/testsuite/
* gdb.threads/fork-thread-pending.c: New.
* gdb.threads/fork-thread-pending.exp: New.
2009-05-24 18:00:08 +00:00
Doug Evans
e27d73f6b0
* linux-low.c (handle_extended_wait): Use linux_resume_one_lwp
...
to resume the newly created thread, don't call ptrace (PTRACE_CONT)
directly.
2009-05-24 17:44:19 +00:00
Doug Evans
47c0c97542
* linux-low.c (get_stop_pc): Print pc if debug_threads.
...
(check_removed_breakpoint, linux_wait_for_lwp): Ditto.
(linux_resume_one_lwp): Ditto.
2009-05-24 17:37:34 +00:00
Pierre Muller
ea26755da7
* Correct date for last commit
2009-05-24 12:31:43 +00:00
Pierre Muller
7099259781
* symfile.c (add_shared_symbol_files_command): Remove
...
prototype and function.
(_initialize _symfile): Move "add-shared-symbol-files"
command and "assf" alias.
* windows-nat.c (_initialize_windows_nat): to here.
Change "add-shared-symbol-files" to alias.
* config/i386/cygwin.mh: Remove NAT_FILE.
* config/i386/mingw.mh: Remove NAT_FILE.
* config/i386/mingw64.mh: Remove NAT_FILE.
* config/i386/nm-cygwin.h: Remove file.
* config/i386/nm-cygwin64.h: Remove file.
2009-05-24 12:27:35 +00:00
Alan Modra
5c93f09bed
* bfdio.c (bfd_seek): Formatting. Ensure newly allocated memory
...
for BFD_IN_MEMORY is cleared.
(bfd_bwrite): Zero excess memory allocated.
2009-05-24 11:47:27 +00:00
Hui Zhu
5e31abdf71
* i386-linux-tdep.c (I386_LINUX_RECORD_SIZE_*,
...
I386_LINUX_RECORD_IOCTL_*,
I386_LINUX_RECORD_FCNTL_*) Removed.
(i386_linux_init_abi): Change size of record from macros to
numbers.
* i386-linux-tdep.c (i386_linux_init_abi): Remove size_char.
* linux-record.c (record_linux_system_call): Ditto.
* linux-record.h (linux_record_tdep): Ditto.
2009-05-24 04:42:51 +00:00
Doug Evans
2acc282a5a
* linux-low.c (linux_resume_one_lwp): Change type of first arg
...
from struct inferior_list_entry * to struct lwp_info *.
All callers updated.
2009-05-24 01:09:22 +00:00
Alan Modra
6911cad6eb
daily update
2009-05-24 00:00:04 +00:00
gdbadmin
9d0f77e9d0
*** empty log message ***
2009-05-24 00:00:03 +00:00
Jan Kratochvil
1b36a34b7a
gdb/
...
Replace the savestring calls by xstrdup calls where possible.
* breakpoint.c (condition_command, set_raw_breakpoint)
(create_catchpoint, update_breakpoint_locations): Replace the
savestring calls by xstrdup calls where possible.
* buildsym.c (start_subfile, patch_subfile_names, record_debugformat)
(record_producer): Likewise.
* coffread.c (coff_start_symtab, complete_symtab): Likewise.
* corefile.c (set_gnutarget): Likewise.
* dbxread.c (add_new_header_file): Likewise.
* demangle.c (set_demangling_command, set_demangling_style): Likewise.
* event-top.c (push_prompt, pop_prompt, command_line_handler)
(set_async_prompt): Likewise.
* infcmd.c (set_inferior_io_terminal, attach_command_post_wait):
Likewise.
* language.c (set_language_command, _initialize_language): Likewise.
* linespec.c (decode_line_2): Likewise.
* rs6000-nat.c (add_vmap): Likewise.
* top.c (set_prompt, init_history, init_main): Likewise.
* tracepoint.c (stringify_collection_list): Likewise.
* varobj.c (varobj_create): Remove variable expr_len. Replace the
savestring calls by xstrdup calls where possible.
(value_of_root, c_name_of_variable, c_describe_child): Replace the
savestring calls by xstrdup calls where possible.
* xcoffread.c (complete_symtab): Likewise.
* cli/cli-script.c (build_command_line, define_command): Likewise.
* cli/cli-setshow.c (do_setshow_command): Likewise.
2009-05-23 16:17:18 +00:00
Jan Kratochvil
61d8f2758f
gdb/
...
Remove already unreachable code.
* varobj.c (varobj_get_handle): Fix comment when error is called.
All callers updated.
2009-05-23 15:34:36 +00:00
Eli Zaretskii
70926f6373
* README (`configure' options): Document GDB-specific options to
...
`configure'.
2009-05-23 13:18:38 +00:00
Eli Zaretskii
8c7a1ee80b
* symtab.c (skip_prologue_using_lineinfo): New function.
...
(find_function_start_sal): Use it to get to the first line of
function's body that has an entry in the lineinfo table.
2009-05-23 10:11:42 +00:00
Eli Zaretskii
754dd03107
* coffread.c (process_coff_symbol): Set the symbol's language to
...
the language of current_subfile.
2009-05-23 09:32:47 +00:00
Eli Zaretskii
969107c54a
* symmisc.c (dump_symtab): Switch the current language to
...
the language of the symtab we are dumping only if the symtab's
language is neither language_auto nor language_unknown.
* coffread.c (coff_symtab_read): Set language_minimal as the
language for the "_globals_" pseudo-file.
2009-05-23 09:26:06 +00:00
Richard Sandiford
65b02341cc
gas/
...
* config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
(nops_for_insn): Likewise.
gas/testsuite/
* gas/mips/vr4130.s, gas/mips/vr4130.d: Expect part A to have nops.
2009-05-23 08:28:22 +00:00
Richard Sandiford
10841c82f4
gas/testsuite/
...
* gas/mips/align.d: Use an nm test rather than an objdump one.
2009-05-23 08:24:52 +00:00
Alan Modra
3e13e920eb
daily update
2009-05-23 00:00:05 +00:00
gdbadmin
f312058d26
*** empty log message ***
2009-05-23 00:00:02 +00:00
Pedro Alves
0542c86dbb
* target.h (struct section_table): Rename to ...
...
(struct target_section): ... this.
* exec.c: Adjust all references.
* exec.h: Adjust all references.
* nto-tdep.c: Adjust all references.
* nto-tdep.h: Adjust all references.
* ppc-linux-tdep.c: Adjust all references.
* rs6000-nat.c: Adjust all references.
* s390-tdep.c: Adjust all references.
* solib-darwin.c: Adjust all references.
* solib-frv.c: Adjust all references.
* solib-irix.c: Adjust all references.
* solib-null.c: Adjust all references.
* solib-osf.c: Adjust all references.
* solib-pa64.c: Adjust all references.
* solib-som.c: Adjust all references.
* solib-sunos.c: Adjust all references.
* solib-svr4.c: Adjust all references.
* solib-target.c: Adjust all references.
* solib.c: Adjust all references.
* solist.h: Adjust all references.
* symfile.c: Adjust all references.
* symfile.h: Adjust all references.
* target.c: Adjust all references.
2009-05-22 23:49:14 +00:00
Sriraman Tallam
4daadc0d02
* testsuite/Makefile.am: Add -ffunction-sections to compile
...
gc_comdat_test files. Add -Wl,--gc-sections to build
gc_comdat_test.
* testsuite/Makefile.in: Regenerate.
* testsuite/gc_comdat_test.sh: Fix the condition around grep.
2009-05-22 20:27:52 +00:00
Sriraman Tallam
531813adfc
* object.cc (Sized_relobj::map_to_kept_section): Return NULL if the
...
kept comdat section was garbage collected.
* testsuite/Makefile.am: Add test gc_comdat_test.sh.
* testsuite/Makefile.in: Regenerate.
* testsuite/gc_comdat_test.sh: New file.
* testsuite/gc_comdat_test_1.cc: New file.
* testsuite/gc_comdat_test_2.cc: New file.
2009-05-22 18:31:22 +00:00
H.J. Lu
ad04f5cebf
gas/
...
2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
* symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
gas/testsuite/gas/
2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
* gas/elf/ifunc-1.d: New.
* gas/elf/ifunc-1.s: Likewise.
* gas/elf/elf.exp: Run ifunc-1.
2009-05-22 18:11:59 +00:00
H.J. Lu
d25eec221e
Fix a typo.
2009-05-22 17:55:55 +00:00
H.J. Lu
f9b857e17b
Add missing ChangeLog entries.
2009-05-22 17:55:07 +00:00
DJ Delorie
1d74713bc6
[cgen]
...
* cpu/mep.opc (mep_examine_ivc2_insns): Fix bug in ivc2 decoder.
(mep_config_map): Regenerate.
* cpu/mep-ivc2.cpu (h-ccr-ivc2): Add generic names as well as
ivc2-specific names.
(simm8p20): New.
(cmovc): move to after field definitions, use ivc2-specific
register names.
(cpmovi_b_P0S_P1): New.
[utils/mep]
* mepcfgtool.c (do_cgen_config_opc): Propagate endianness and VLIW
size to default configuration.
[sid/component/cgen-cpu/mep]
* mep-cop1-16-decode.cxx: Regenerate.
* mep-cop1-16-decode.h: Regenerate.
* mep-cop1-16-model.cxx: Regenerate.
* mep-cop1-16-model.h: Regenerate.
* mep-cop1-16-sem.cxx: Regenerate.
* mep-cop1-64-decode.cxx: Regenerate.
* mep-cop1-64-decode.h: Regenerate.
* mep-cop1-64-model.cxx: Regenerate.
* mep-cop1-64-model.h: Regenerate.
* mep-cop1-64-sem.cxx: Regenerate.
[opcodes]
* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.
2009-05-22 17:37:45 +00:00
Dwarakanath Rajagopal
c1e679ec0a
<gas changes>
...
2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
(build_modrm_byte): Remove DREX handling support.
(DREX_*): Delete.
(drex_byte): Delete.
(md_assemble): Remove DREX handling support.
(process_operands): Remove DREX, SSE5 support.
(i386_insn): Remove DREX.
<gas/testsuite changes>
2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* gas/i386/i386.exp: Remove SSE5 tests.
* gas/i386/x86-64-sse5.s: Delete. Remove SSE5 tests.
* gas/i386/x86-64-sse5.d: Ditto.
* gas/i386/arch-10-1.l: Remove SSE5 tests.
* gas/i386/arch-10-2.l: Ditto.
* gas/i386/arch-10-3.l: Ditto.
* gas/i386/arch-10-4.l: Ditto.
* gas/i386/arch-10.d: Ditto.
* gas/i386/arch-10.s: Ditto.
* gas/i386/arch-4.s: Delete. Remove SSE5 tests.
* gas/i386/arch-4.d: Ditto.
* gas/i386/arch-8.s: Ditto.
* gas/i386/arch-8.d: Ditto.
* gas/i386/arch-2.s: Remove SSE5 tests.
* gas/i386/arch-2.d: Remove SSE5 tests.
* gas/i386/x86-64-arch-2.s: Ditto.
<opcodes changes>
2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* i386-opc.h (Cpusse5): Delete.
(i386_cpu_flags): Delete.
* i386-gen.c: Remove CpuSSE5, Drex, Drexv and Drexc.
* i386-opc.tbl: Remove SSE5 instructions.
* i386-tbl.h: Regenerate.
* i386-init.h: Regenerate.
* i386-dis.c (OP_E_memeory, OP_E_extended): Remove drex handling.
(print_drex_arg): Delete.
(OP_DREX4): Delete.
(OP_DREX3): Delete.
(OP_DREX_ICMP): Delete.
(OP_DREX_FCMP): Delete.
(DREX_*): Delete.
(THREE_BYTE_0F24, THREE_BYTE_0F25, THREE_BYTE_0f7B): Delete.
2009-05-22 15:57:25 +00:00