aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-12-12 PR 7091Ian Lance Taylor2-4/+26
* target-reloc.h (Default_scan_relocatable_relocs): For each function, map r_type == 0 to RELOC_DISCARD.
2008-12-12 * remote.c (remote_detach_1): Don't delete the inferior here.Pedro Alves2-23/+24
(process_stop_reply): Ditto. (extended_remote_kill): Ditto.
2008-12-12 * remote.c (read_ptid): If we don't know about any inferior yet,Pedro Alves2-9/+14
use the pid of magic_null_ptid. (remote_start_remote): In the non-stop mode case, don't set inferior_ptid to magic_null_ptid here.
2008-12-12*** empty log message ***gdbadmin1-1/+1
2008-12-12daily updateAlan Modra1-1/+1
2008-12-11 * infcmd.c (step_1): Use step_once in the synchronous case too.Pedro Alves2-65/+52
(step_1_continuation): Wrap line. (step_once): Adjust comment. Only install the continuation in async mode.
2008-12-11 * infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED orPedro Alves6-5/+19
TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid. * linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target returned. * inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of minus_one_ptid if the inferior disappeared. * rs6000-nat.c (rs6000_wait): Likewise. * spu-linux-nat.c (spu_child_wait): Likewise.
2008-12-11gdbTom Tromey7-119/+158
PR macros/2564: * c-exp.y (macro_original_text, expansion_obstack, expression_macro_scope): New globals. (scan_macro_expansion): New function. (scanning_macro_expansion): Likewise. (finished_macro_expansion): Likewise. (scan_macro_cleanup): Likewise. (c_parse): Find macro scope. Initialize obstack. * c-lang.h (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. * c-lang.c (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. (macro_original_text, macro_expanded_text, c_preprocess_and_parse): Remove. (c_language_defn, cplus_language_defn, asm_language_defn, minimal_language_defn): Use c_parse. gdb/testsuite * gdb.base/macscp.exp: Print "address.addr". * gdb.base/macscp1.c (struct outer): New struct. (address): New global.
2008-12-11 PR 7041Alan Modra2-2/+8
* elf64-ppc.c (func_desc_adjust): Correct logic making fake function descriptors. Similarly correct making function descriptors dynamic.
2008-12-11*** empty log message ***gdbadmin1-1/+1
2008-12-11daily updateAlan Modra1-1/+1
2008-12-10merge from gccDJ Delorie4-0/+55
2008-12-10 * infcmd.c (until_next_command, finish_backward): Use get_frame_pcPedro Alves2-4/+11
instead of read_pc.
2008-12-10 * layout.cc (Layout::add_comdat): Allow COMDAT group from a replacementCary Coutant2-0/+14
object to override a kept COMDAT group from a plugin object.
2008-12-10bfd/Alan Modra5-75/+136
* elf32-spu.h (struct spu_elf_params): Add num_regions. * elf32-spu.c (spu_elf_auto_overlay): Handle multiple overlay regions. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NUM_REGIONS): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions.
2008-12-10bfd/Alan Modra5-312/+341
* elf32-spu.g (struct spu_elf_params, enum _ovly_flavour): New. (spu_elf_setup): Declare. (spu_elf_create_sections, spu_elf_size_stubs): Update prototype. (spu_elf_build_stubs, spu_elf_check_vma): Likewise. * elf32-spu.c (struct spu_link_hash_table): Add "params". Remove various other fields now in "params". Adjust code throughout. (struct call_info, struct function_info): Move earlier in file. (struct spu_elf_stack_info): Likewise. (spu_elf_setup): New function. (spu_elf_create_sections): Remove args other than "info". (spu_elf_size_stubs, spu_elf_build_stubs, spu_elf_check_vma): Likewise. (maybe_needs_stubs): Remove "output_bfd" arg. Adjust all calls. (interesting_section): Similarly with "obfd" arg. (needs_ovl_stub): Adjust output_section test. (allocate_spuear_stubs): Likewise. (OVL_STUB_SIZE): Don't define. (ovl_stub_size): New function, use in place of OVL_STUB_SIZE. (build_stub): Test params->ovly_flavour rather than OVL_STUB_SIZE. (spu_elf_auto_overlay): Remove args other than "info". Make use of size returned from spu_elf_load_ovl_mgr. (spu_elf_stack_analysis): Remove args other than "info". (spu_elf_relocate_section): Tidy setting of "ea". ld/ * emultempl/spuelf.em (params): New var, used instead of various others. Adjust use throughout file. (spu_after_open): Call spu_elf_setup. (spu_place_special_section): Tidy. (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move code setting overlay section alignment to.. (spu_before_allocation): ..here.
2008-12-10 * elf32-spu.c (define_ovtab_symbol): Don't abort on symbolsAlan Modra2-12/+24
defined in linker scripts. (discover_functions): Consider STT_SECTION symbols too. (collect_lib_sections): Don't cut short call tree traversal when function size is too large.