aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-18 Backport link test fix from upstream Libtool:Ralf Wildenhues7-273/+370
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate.
2008-12-18 * linux-nat.c (linux_child_follow_fork): If following the child,Pedro Alves3-5/+19
and not detaching the parent, also add the child fork to the fork list. * linux-fork.c (linux_fork_context): Remove dead error call. Assert that the incoming newfp argument is not null. Do not add a new fork for inferior_ptid. Assert that there is one already.
2008-12-18merge from gccDJ Delorie2-1/+21
2008-12-18 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-6/+12
2008-12-18 * options.h (class General_options): Add --no case forIan Lance Taylor2-1/+7
--export-dynamic.
2008-12-18*** empty log message ***gdbadmin1-1/+1
2008-12-18daily updateAlan Modra1-1/+1
2008-12-172008-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+158
* COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto.
2008-12-17 (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missingHans-Peter Nilsson2-1/+3
gate h != NULL for h->def_regular test.
2008-12-17 * ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: NewHans-Peter Nilsson4-0/+51
tests.
2008-12-17 * elf32-cris.c (elf_cris_copy_indirect_symbol): Return withoutHans-Peter Nilsson2-0/+10
action for symbols other than bfd_link_hash_indirect.
2008-12-17daily updateAlan Modra1-1/+1
2008-12-17*** empty log message ***gdbadmin1-1/+1
2008-12-16 * plugin.cc (Plugin::load): Move LDPT_MESSAGE to front of transferCary Coutant5-20/+50
vector. (Plugin_manager::claim_file): Create plugin object even if plugin did not call the add_symbols callback. (Plugin_obj::get_symbol_resolution_info): Guard against plugin asking for more symbols than were added. * testsuite/Makefile.am (plugin_test_1): Add test case with no global symbols. (empty.syms): New target. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_test.c (claim_file_hook): Add new debug message. Don't call add_symbols if no globals. (all_symbols_read_hook): Don't provide replacement for empty claimed file.
2008-12-162008-12-16 Christophe Lyon <christophe.lyon@st.com>Denis Pilat2-1/+11
* gdb.base/expand-psymtabs.c: Insert code in foo so that the compiler actually generate code at the expected line number.
2008-12-162008-12-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-4/+23
Sync with GCC: 2008-12-12 Sebastian Pop <sebastian.pop@amd.com> * configure.ac (ppllibs): Add by default the lib flags. * configure: Regenerate. 2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Add double brackets on darwin[912]. * configure: Regenerate. 2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Expand to darwin10 and later. * configure: Regenerate.
2008-12-162008-12-16 Tristan Gingold <gingold@adacore.com>Tristan Gingold10-92/+16
* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags, set_sigio_trap, clear_sigio_trap definitions. * inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations. * inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap and clear_sigio_trap. * inf-ttrace.c (inf_ttrace_wait): Ditto. * linux-nat.c (linux_nat_wait): Ditto. * spu-linux-nat.c (spu_child_wait): Ditto. * rs6000-nat.c (rs6000_wait): Ditto. * target.c: Remove target_activity_function and target_activity_fd. * target.h: Remove target_activity_function and target_activity_fd declarations.
2008-12-16 * gdb.texinfo (Omissions from Ada): Add missing GDB prompt inJoel Brobecker2-14/+21
examples. (Additions to Ada): Likewise. Add the missing opening and closing parenthesis of the GDB prompt in one of the examples.
2008-12-162008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-0/+18
* dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and N_PSYM STABS values for 64-bit GDB.
2008-12-16*** empty log message ***gdbadmin1-1/+1
2008-12-16daily updateAlan Modra1-1/+1
2008-12-152008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill3-0/+15
* ppc-instructions, ppc-spr-table: Add ability to read tbrl and tbru special registers.
2008-12-15opcodes:Richard Earnshaw18-1242/+1266
* arm-dis.c (coprocessor_opcodes): Disassemble VFP instructions using unified syntax. gas/testsuite: * gas/arm/group-reloc-ldc.d: Disassembly of VFP instructions now uses unified syntax. * gas/arm/vfp-non-overlap.d: Likewise. * gas/arm/vfp-neon-syntax.d: Likewise. * gas/arm/vfp-neon-syntax_t2.d: Likewise. * gas/arm/vfp1.d: Likewise. * gas/arm/vfp1_t2.d: Likewise. * gas/arm/vfp1xD.d: Likewise. * gas/arm/vfp1xD_t2.d: Likewise. * gas/arm/vfp2.d: Likewise. * gas/arm/vfp2_t2.d: Likewise. * gas/arm/vfpv3-32drs.d: Likewise. * gas/arm/vfpv3-const-conv.d: Likewise. ld/testsuite: * ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses unified syntax. * ld-arm/vfp11-fix-vector.d: Likewise.
2008-12-15 * gdb.base/consecutive.exp: Don't use global in gdb_expect.Jie Zhang2-5/+4
2008-12-152008-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+18
* dwarf2expr.c (execute_stack_op): Handle DW_OP_swap.
2008-12-15 * ada-lang.c (ada_value_slice_ptr): Rename to...Jerome Guitton2-14/+20
(ada_value_slice_from_ptr): ... this. Return a lazy value instead of a reference. Update comment. (ada_value_struct_elt): Ditto if arg is a pointer or a reference. Update comment as well. (ada_evaluate_subexp): Update use of ada_value_slice_ptr.
2008-12-15 * elf32-cris.c (elf_cris_copy_indirect_symbol): New function.Hans-Peter Nilsson2-0/+34
(elf_backend_copy_indirect_symbol): Define to above.
2008-12-15 * ld-cris/libdso-13b.d: New test.Hans-Peter Nilsson2-0/+25
2008-12-15 * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New memberHans-Peter Nilsson2-68/+140
r_type. Fix formatting. (cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL> <R_CRIS_32_PCREL>: Also break early if the symbol doesn't get emitted as a dynamic one. (cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork from PCREL relocs code and simplify; don't fall through. <R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for pcrel only. For non-local or overridable symbols in a DSO, always keep count of relocs, not just when -Bsymbolic. Don't emit message nor mark as TEXTREL here. (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as TEXTREL here, if there are nondiscarded pcrel relocs.
2008-12-15 * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: InitializeHans-Peter Nilsson2-1/+9
using ibfd, not abfd.
2008-12-15 * ld-cris/hidedsofns2468, ld-cris/libdso-12b.d,Hans-Peter Nilsson6-0/+115
ld-cris/libdso-12c.d, ld-cris/libdso-1b.d, ld-cris/dso-1b.s: New tests.
2008-12-15 * ld-cris/got7.s: Correct .size expression.Hans-Peter Nilsson3-2/+7
* ld-cris/tls-e-20a.d: Adjust accordingly.
2008-12-15daily updateAlan Modra1-1/+1
2008-12-15*** empty log message ***gdbadmin1-1/+1
2008-12-14 * utils.c (xmalloc,xcalloc,xstrdup): New fns.Doug Evans12-42/+125
* server.h (ATTR_MALLOC): New macro. (xmalloc,xcalloc,xstrdup): Declare. * hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup. * inferiors.c: Ditto. * linux-low.c: Ditto. * mem-break.c: Ditto. * regcache.c: Ditto. * remote-utils.c: Ditto. * server.c: Ditto. * target.c: Ditto. * win32-low.c: Ditto.
2008-12-14 * gdb.texinfo (Omissions from Ada): Remove incorrect documentationJoel Brobecker2-3/+6
about the result of 'Address not being of type System.Address. This problem has been fixed a while ago.
2008-12-14*** empty log message ***gdbadmin1-1/+1
2008-12-14daily updateAlan Modra1-1/+1
2008-12-13 * gnu-v3-abi.c (vtable_ptrdiff_type): New function.Kevin Buettner3-3/+39
(gnuv3_decode_method_ptr, gnuv3_print_method_ptr) (gnuv3_method_ptr_to_value): Use a better approximation for `ptrdiff_t' instead of `long'. * m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta(). (m32c_push_dummy_call): Dereference pointer type.
2008-12-13*** empty log message ***gdbadmin1-1/+1
2008-12-13daily updateAlan Modra1-1/+1
2008-12-12 * linux-low.c (linux_wait_for_process): Don't clobber current_inferiorDoug Evans2-0/+5
in debugging printf.
2008-12-12 * linux-low.c (handle_extended_wait): Simplify, use my_waitpid.Doug Evans2-3/+6
2008-12-12gdbTom Tromey4-10/+85
PR cli/2563: * cli/cli-decode.c (delete_cmd): Add hook-related out parameters. (add_cmd): Update. Install hooks into new command. (add_alias_cmd): Update. gdb/testsuite * gdb.base/commands.exp (redefine_hook_test): New proc. Call it.
2008-12-12gdbTom Tromey4-8/+27
* macroexp.c (get_pp_number): Require digit after leading ".". Correctly handle suffixes. gdb/testsuite * gdb.base/macscp.exp: New regression test.
2008-12-12 * macrocmd.c (macro_define_command): Skip whitespace afterTom Tromey2-4/+12
macro name. (print_one_macro): Print space after macro name.
2008-12-12 * target-reloc.h (Default_scan_relocatable_relocs): Only discardIan Lance Taylor3-16/+14
r_type == 0 for a local symbol with r_sym == 0. (scan_relocatable_relocs): Pass r_sym to local_non_section_strategy. * reloc.cc (Emit_relocs_strategy::local_non_section_strategy): Add r_sym parameter.
2008-12-12 * configure.ac: Update test for TLS descriptors: they areIan Lance Taylor3-51/+86
supported as of glibc 2.9. * configure: Rebuild.
2008-12-12 * infrun.c (handle_inferior_event): Correctly tag non-executingPedro Alves2-16/+34
threads in multi-process. (normal_stop): Correctly tag stopped threads in multi-process.
2008-12-12 * remote.c (extended_remote_mourn_1): Always callPedro Alves2-4/+8
generic_mourn_inferior.