Aleksandar Ristovski
97c4411662
* nto-procfs.c (get_regset): Pass correct pointer.
2009-05-27 18:28:31 +00:00
Doug Kwan
0665254442
2009-05-27 Doug Kwan <dougkwan@google.com>
...
* arm.h: New file.
* elfcpp.h (enum SHT): Add ARM-specific special sections.
(enum PT): Add ARM-specific section types.
(enum SST): Add STT_ARM_TFUNC.
2009-05-27 18:27:42 +00:00
H.J. Lu
cf65542bff
2009-05-27 H.J. Lu <hongjiu.lu@intel.com>
...
* common.h: Update comments for dynamic tag ranges.
2009-05-27 17:05:53 +00:00
Nick Clifton
5691d22d50
* plugins.m4: New.
...
* aclocal.m4: Include ../config/plugins.m4.
* configure.in: Use AC_PLUGINS.
* configure: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2009-05-27 16:29:55 +00:00
Catherine Moore
ff2390383b
2009-05-26 Catherine Moore <clm@codesourcery.com>
...
gas/
* config/tc-mips.c (check_for_24k_errata): Remove.
(md_mips_end): Remove call to check_for_24k_errata.
(start_noreorder): Likewise.
(s_change_sec): Likewise.
(s_change_section): Likewise.
(insns_between): Add 24k errata checks.
(append_insn): Remove declaration and references to nhdx_24k.
Remove calls to check_for_24k_errata.
gas/testsuite:
* eret.s, eret.d eret.l: Remove.
* eret-1.s, eret-1.d: New.
* eret-2.s, eret-2.d: New.
* eret-3.s, eret-3.d: New.
* mips.exp: Run new tests. Remove old tests.
2009-05-27 14:14:42 +00:00
Nathan Sidwell
3614867c42
* sysdump.c (tab): Use puts rather than two printfs.
2009-05-27 13:34:14 +00:00
Nathan Sidwell
c8a1f2548b
bfd/
...
* elf32-ppc.c (ppc_elf_relax_section): Work with a partial
link.
* bout.c (b_out_bfd_relax_section): Reject relocatable links.
* elf32-m10300.c (mn10300_elf_relax_section): Likewise.
* elf32-avr.c (elf32_avr_relax_section): Likewise.
* elf32-frv.c (elf32_avr_relax_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relax_section): Likewise.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relax_section): Likewise.
* reloc.c (bfd_generic_relax_section): Likewise.
* reloc16.c (bfd_coff_reloc16_relax_section): Likewise.
* vms.c (vms_bfd_relax_section): Likewise.
ld/
* ldmain.c (main): Don't reject --relax -r.
* ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
partial links.
ld/testsuite/
* ld-powerpc/vxworks-relax-2.s: New.
* ld-powerpc/vxworks-relax-2.rd: New.
* ld-powerpc/powerpc.exp: Add it.
2009-05-27 13:31:24 +00:00
Alexandre Oliva
07fc31c9c9
* Makefile.tpl (all): Avoid harmless warning in make all when
...
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.
2009-05-27 07:30:42 +00:00
DJ Delorie
2f3565a392
[cgen/cpu]
...
* cpu/mep-ivc2.cpu (h-ccr-ivc2): Enable for C3 slots, fix
accumulator names.
(f-ivc2-ccrn-c3hi): New.
(f-ivc2-ccrn-c3lo): New.
(f-ivc2-ccrn-c3): New.
(ivc2c3ccrn): Use it.
[sid/component/cgen-cpu/mep]
* mep-cop1-32-decode.cxx: Regenerate.
* mep-cop1-32-decode.h: Regenerate.
* mep-cop1-32-sem.cxx: Regenerate.
* mep-cop1-48-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-27 01:49:46 +00:00
gdbadmin
6243187bec
*** empty log message ***
2009-05-27 00:00:35 +00:00
Alan Modra
e155cf72f1
daily update
2009-05-27 00:00:05 +00:00
Doug Kwan
e7ae8c368d
Add missing ChangeLog entry in previous check-in
2009-05-26 23:05:00 +00:00
Doug Kwan
2fdd743f6d
2009-05-26 Doug Kwan <dougkwan@google.com>
...
* options.cc (General_options::parse_exclude_libs). Fix a comment.
(General_options::check_excluded_libs): Strip off directories in
archive name before matching like GNU ld does.
* testsuite/Makefile.am (MOSTLYCLEANFILES,
exclude_libs_test_DEPENDENCIES): Add alt/libexclude_libs_test_3.a
(exclude_libs_test_LDFLAGS): Add linker option
-Wl,--exclude-libs,libexclude_libs_test_3
(exclude_libs_test_LADD): Add alt/libexclude_libs_test_3.a as
an explicit archive without using -l.
(alt/libexclude_libs_test_3.a): New make rule.
* testsuite/Makefile.in: Regenerate.
* testsuite/exclude_libs_test.c : Declare lib3_default().
(main): Call it.
* exclude_libs_test.sh: Add tests for alt/exclude_libs_test_3.a.
* exclude_libs_test_3.c: New file.
2009-05-26 22:52:56 +00:00
H.J. Lu
68d7e96a43
2009-05-26 H.J. Lu <hongjiu.lu@intel.com>
...
* elf-bfd.h (_bfd_elf_is_ifunc_symbol): New.
* elf32-i386.c (is_indirect_symbol): Renamed to ...
* elflink.c (_bfd_elf_is_ifunc_symbol): This.
* elf32-i386.c (allocate_dynrelocs): Updated.
(elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
* elf64-x86-64.c (is_indirect_symbol): Removed.
2009-05-26 22:18:22 +00:00
Doug Evans
f504f079c0
* dwarf2read.c (follow_die_ref): Add comment.
...
(dwarf2_mark_helper): Tweak comment.
(dwarf2_mark): Move description to its proper place.
2009-05-26 21:24:07 +00:00
Nick Clifton
f12e7348b2
Update Indonesian translations.
...
Update translation templates.
2009-05-26 16:49:41 +00:00
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