aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-05-28gdbTom Tromey13-6/+1339
2009-05-27 Tom Tromey <tromey@redhat.com> Thiago Jung Bauermann <bauerman@br.ibm.com> Phil Muldoon <pmuldoon@redhat.com> Paul Pluzhnikov <ppluzhnikov@google.com> * python/python.c (_initialize_python): Call gdbpy_initialize_types. (GdbMethods): Add "lookup_type". * python/python-value.c (value_object) <type>: New field. (valpy_dealloc): Decref type. (valpy_new): Initialize type. (valpy_get_type): New function. (value_to_value_object): Initialize type. (valpy_cast): New function. (value_object_getset): Add "type". (value_object_methods): Add "cast". * python/python-internal.h (type_to_type_object): Declare. (type_object_to_type): Likewise. (gdbpy_initialize_types): Likewise. (gdbpy_lookup_type): Declare. * Makefile.in (SUBDIR_PYTHON_OBS): Add python-type.o. (SUBDIR_PYTHON_SRCS): Add python-type.c. (python-type.o): New target. * python/python-type.c: New file. gdb/doc 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com> Tom Tromey <tromey@redhat.com> * gdb.texinfo (Types In Python): New node. (Values From Inferior): "type" is now an attribute. (Python API): Update. gdb/testsuite 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com> Tom Tromey <tromey@redhat.com> Pedro Alves <pedro@codesourcery.com> Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.python/python-template.exp: New file. * gdb.python/python-template.cc: New file. * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile tests. * gdb.python/python-value.exp (py_objfile_tests): New proc. Call it. (test_value_after_death): New proc. * gdb.python/python-value.c (PTR): New typedef. (main): New variable 'x'.
2009-05-28gdbTom Tromey10-0/+530
2009-04-01 Tom Tromey <tromey@redhat.com> Thiago Jung Bauermann <bauerman@br.ibm.com> Phil Muldoon <pmuldoon@redhat.com> * python/python.c: Include objfiles.h, observer.h. (gdbpy_auto_load): New global. (gdbpy_current_objfile): Likewise. (GDBPY_AUTO_FILENAME): New define. (gdbpy_new_objfile): New function. (gdbpy_get_current_objfile): Likewise. (gdbpy_objfiles): Likewise. (_initialize_python): Add "maint set auto-load". Call gdbpy_initialize_objfile. Attach objfile observer. (GdbMethods): New methods current_objfile, objfiles. * python/python-objfile.c: New file. * python/python-internal.h (objfile_to_objfile_object): Declare. (objfpy_get_printers): Likewise. (gdbpy_initialize_objfile): Likewise. * Makefile.in (SUBDIR_PYTHON_OBS): Add python-objfile.o. (SUBDIR_PYTHON_SRCS): Add python-objfile.c. (python-objfile.o): New target. gdb/doc 2009-04-01 Tom Tromey <tromey@redhat.com> Thiago Jung Bauermann <bauerman@br.ibm.com> * gdb.texinfo (Python API): Update. (Auto-loading): New node. (Objfiles In Python): New node. gdb/testsuite 2009-04-06 Tom Tromey <tromey@redhat.com> * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile tests. * gdb.python/python-value.exp (py_objfile_tests): New proc. Call it.
2009-05-28daily updateAlan Modra1-1/+1
2009-05-28*** empty log message ***gdbadmin1-1/+1
2009-05-27gdb/Pedro Alves6-0/+172
* infrun.c (follow_exec): Clear the stop_requested flag. * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>: Add debug output. gdb/testsuite/ * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
2009-05-27ld/ChangeLogDave Korn6-7/+79
* deffilep.y (%union): Add new string-type semantic value 'digits'. (%token): Remove NUMBER as token, add DIGITS. (%type): Add NUMBER as type. Add new id types anylang_id, opt_id. (ALIGNCOMM): Parse an anylang_id instead of a plain ID. (anylang_id): New production. (opt_digits): Likewise. (opt_id): Likewise. (NUMBER): Likewise. (def_lex): Return strings of digits in raw string form as DIGITS token, instead of converting to numeric integer type. ld/testsuite/ChangeLog * ld-pe/non-c-lang-syms.c: New dump test source file. * ld-pe/non-c-lang-syms.d: New dump test pattern file. * ld-pe/pe.exp: Run new "foreign symbol" test.
2009-05-27 * nto-procfs.c (get_regset): Pass correct pointer.Aleksandar Ristovski2-1/+5
2009-05-272009-05-27 Doug Kwan <dougkwan@google.com>Doug Kwan3-1/+231
* 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-272009-05-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+10
* common.h: Update comments for dynamic tag ranges.
2009-05-27 * plugins.m4: New.Nick Clifton13-52/+71
* aclocal.m4: Include ../config/plugins.m4. * configure.in: Use AC_PLUGINS. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
2009-05-272009-05-26 Catherine Moore <clm@codesourcery.com>Catherine Moore11-110/+106
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 * sysdump.c (tab): Use puts rather than two printfs.Nathan Sidwell2-2/+5
2009-05-27 bfd/Nathan Sidwell20-5/+146
* 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* Makefile.tpl (all): Avoid harmless warning in make all whenAlexandre Oliva3-2/+8
gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt.
2009-05-27[cgen/cpu]DJ Delorie8-36/+60
* 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*** empty log message ***gdbadmin1-1/+1
2009-05-27daily updateAlan Modra1-1/+1
2009-05-26Add missing ChangeLog entry in previous check-inDoug Kwan1-0/+18
2009-05-262009-05-26 Doug Kwan <dougkwan@google.com>Doug Kwan6-20/+62
* 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-262009-05-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-44/+42
* 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 * dwarf2read.c (follow_die_ref): Add comment.Doug Evans2-4/+15
(dwarf2_mark_helper): Tweak comment. (dwarf2_mark): Move description to its proper place.
2009-05-26Update Indonesian translations.Nick Clifton20-4246/+7305
Update translation templates.
2009-05-26 PR 10143Nick Clifton2-2/+8
* config/bfin-parse.y (error): Use "%s" as format string for error message.
2009-05-26 * Makefile.am: Run "make dep-am".Nick Clifton22-670/+1498
(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 * dep-in.sed: Output one filename per line with all lines havingAlan Modra12-957/+3286
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 * dep-in.sed: Output one filename per line with all lines havingAlan Modra4-2730/+7098
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 * dep-in.sed: Don't modify .o to .lo here. Output one filenameAlan Modra8-2879/+9469
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 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.Alan Modra2-1/+7
2009-05-26daily updateAlan Modra1-1/+1
2009-05-26*** empty log message ***gdbadmin1-1/+1
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+35
* setup.com: Complete the file with configuration and build.
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-18/+32
* makefile.vms: New file to compile gas on VMS. * configure.com: New file to do configuration on VMS with DCL.
2009-05-25(Fix date for):Tristan Gingold1-1/+1
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-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-0/+236
* makefile.vms: New file to compile gas on VMS. * configure.com: New file to do configuration on VMS with DCL.
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-6/+11
* fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB, FOPEN_AUB): Use "rfm=udf,rat=none" attribute.
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-56/+41
* makefile.vms-in: Fix CFLAGS, add addr2line.exe target. * configure.com: Fix it: handle alloca and define TARGET in config.h.
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+8
* makefile.vms (OPT): New variable. (CFLAGS): Update compilation flags.
2009-05-252009-05-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* makefile.vms: Add verilog.obj to object list OBJS.
2009-05-25 * procfs.c (procfs_wait): Add options parameter.Pierre Muller2-2/+6
2009-05-25daily updateAlan Modra1-1/+1
2009-05-25*** empty log message ***gdbadmin1-1/+1
2009-05-24gdb:Doug Evans18-52/+62
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 * infrun.c (follow_fork): Initialize new step_* localsDoug Evans2-6/+11
to avoid "may be used uninitialized" warnings.
2009-05-24 * inflow.c (copy_terminal_info): Deep copy `run_terminal'.Pedro Alves2-1/+6
2009-05-24gdb/Pedro Alves12-171/+542
* 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 * linux-low.c (handle_extended_wait): Use linux_resume_one_lwpDoug Evans2-6/+13
to resume the newly created thread, don't call ptrace (PTRACE_CONT) directly.
2009-05-24 * linux-low.c (get_stop_pc): Print pc if debug_threads.Doug Evans2-11/+26
(check_removed_breakpoint, linux_wait_for_lwp): Ditto. (linux_resume_one_lwp): Ditto.
2009-05-24 * Correct date for last commitPierre Muller1-1/+1
2009-05-24 * symfile.c (add_shared_symbol_files_command): RemovePierre Muller8-61/+20
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 * bfdio.c (bfd_seek): Formatting. Ensure newly allocated memoryAlan Modra2-2/+11
for BFD_IN_MEMORY is cleared. (bfd_bwrite): Zero excess memory allocated.