aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-16daily updateAlan Modra1-1/+1
2009-02-16*** empty log message ***gdbadmin1-1/+1
2009-02-15 * elf-hppa.h (elf_hppa_final_link_relocate): Correct addend value usedDave Anglin2-2/+8
in branch offset check.
2009-02-15 * elf64-ppc.c (struct _ppc64_elf_section_data): Delete t_symndx,Alan Modra3-160/+190
add toc.symndx and toc.add. (ppc64_elf_check_relocs): Don't set htab->tls_get_addr here. Set up toc.add. (get_tls_mask): Add toc_addend param, set from toc.add. Adjust all callers. (ppc64_elf_tls_setup): Set htab->tls_get_addr and tls_get_addr_fd. (branch_reloc_hash_match): New function, extracted from.. (ppc64_elf_tls_optimize): ..here. (ppc64_elf_relocate_section): Properly set addends when optimizing tls sequences. Avoid unnecessary reading and writing of insns. Only redo reloc when symbol changed. Bypass symbol checks when using tlsld_got. * elf32-ppc.c (ppc_elf_tls_setup): Correct comment. (branch_reloc_hash_match): New function, extracted from.. (ppc_elf_tls_optimize): ..here. (ppc_elf_relocate_section): Avoid unnecessary reading of insns. Don't clear addend on zapped __tls_get_addr reloc.
2009-02-15daily updateAlan Modra1-1/+1
2009-02-15*** empty log message ***gdbadmin1-1/+1
2009-02-14Adding gdb.python/python-cmd.exp which I forgot to commit earlier.Thiago Jung Bauermann1-0/+107
2009-02-14 Include frame information for *stopped due to CLI commands.Vladimir Prus10-32/+78
* ada-tasks.c (ada_normal_stop_observer): Adjust prototype. * infcmd.c (finish_command_continuation): Pass '1' for 'print_frame' parameter to the observer. * infrun.c (normal_stop): Don't print mi-specific information here. Pass 'stop_print_frame' to the 'print_frame' parameter of the observer. * mi/mi-interp.c (mi_on_normal_stop): Adjust prototype. If we need to print frame, and current uiout is not the MI one, print frame again.
2009-02-14 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.Pierre Muller3-17/+24
* gdb.base/pc-fp.exp (get_valueofx): Remove. Replace calls to get_valueofx by get_hexadecimal_valueof.
2009-02-14 * remote-utils.c (getpkt): Also generate remote-debugPierre Muller2-0/+13
information if noack_mode is set.
2009-02-14*** empty log message ***gdbadmin1-1/+1
2009-02-14daily updateAlan Modra1-1/+1
2009-02-13 * lib/gdb.exp (get_valueof): Accept anything as a return value.Pierre Muller3-7/+32
(get_integer_valueof): New procedure. (get_sizeof): Use new get_integer_value_of. * gdb.base/sizeof.exp: Replace all uses of get_valueof by get_integer_valueof.
2009-02-132009-02-13 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-4/+8
* xtensa-tdep.c (call0_analyze_prologue): Delete BSZ macro. Replace BSZ macro uses by XTENSA_ISA_BSZ macro.
2009-02-13 (From Rafael Espindola)Cary Coutant9-120/+49
* archive.cc (Archive::include_member): Update calls to add_symbols. * dynobj.cc (Sized_dynobj<size, big_endian>::make_version_map): Add the Layout argument. * dynobj.h (do_add_symbols): Add the Layout argument. * object.cc (Sized_relobj<size, big_endian>::do_add_symbols): Add the Layout argument. * object.h (Object::add_symbols): Add the Layout argument. (Object::do_add_symbols): Add the Layout argument. (Sized_relobj::do_add_symbols): Add the Layout argument. * plugin.cc (Sized_pluginobj<size, big_endian>::do_add_symbols): Unify the two versions. (Add_plugin_symbols): Remove. * plugin.h (Pluginobj::add_symbols, Pluginobj::do_add_symbols): Remove. (Sized_pluginobj::do_add_symbols): Unify the two versions. (Add_plugin_symbols): Remove. * readsyms.cc (Read_symbols::do_read_symbols): Update call to Add_symbols. Use Add_symbols instead of Add_plugin_symbols. (Add_symbols::run): Make it work with Pulginobj.
2009-02-13 * gdb.base/remote.exp (get_sizeof): Remove.Tom Tromey6-74/+32
* gdb.base/long_long.exp (get_valueof, get_sizeof): Remove. * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove. * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove. * lib/gdb.exp (get_valueof): Move from long_long.exp. (get_sizeof): Likewise.
2009-02-13*** empty log message ***gdbadmin1-1/+1
2009-02-12daily updateAlan Modra1-1/+1
2009-02-12Fix a typo.Joel Brobecker1-1/+1
2009-02-12 PR 9827Nick Clifton2-2/+14
* elflink.c (bfd_elf_final_link): When counting the relocations, if the header size has not been set yet then assume that it will match the output section's reloc type.
2009-02-12 * corefile.c (core_create_function_syms): Remove "<locore>" andAlan Modra9-96/+89
"<hicore>" sentinels. * gprof.c: Likewise. * cg_print.c (cg_print_function_ordering): Likewise. * alpha.c (alpha_find_call): Add check for return value of sym_lookup. * mips.c (mips_find_call): Likewise. * sparc.c (sparc_find_call): Likewise. * tahoe.c (tahoe_find_call): Likewise. * vax.c (vax_find_call): Likewise.
2009-02-12gdb/Jan Kratochvil5-1/+111
PR fortran/9806 * dwarf2read.c (process_die <DW_TAG_module>, read_module) (scan_partial_symbols <DW_TAG_module>, add_partial_module): New. gdb/testsuite/ PR fortran/9806 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
2009-02-12 gas/Nathan Sidwell8-10/+79
* config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR. (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New. (mcf5307_ctrl): Add VBR. (no_mac): New variable. (m68k_extensions): Refer to no_mac mask. (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277, 52252..52259, 53011..53017. (m68k_ip): Process CPUCR. (init_table): Add cpucr entry. (m68k_set_extension): Allow negated mask to refer to a variable. (md_show_usage): Use '%s' to silence fprintf warning. * config/m68k-parse.h (CPUCR): New control register. gas/testsuite/ * m68k/br-isac.d, m68k/br-isac.s: Add stldsr test. opcodes/ * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
2009-02-12 * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset forNathan Sidwell2-1/+6
relocatable link.
2009-02-12*** empty log message ***gdbadmin1-1/+1
2009-02-11daily updateAlan Modra1-1/+1
2009-02-112009-02-11 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-2/+10
* dwarf2read.c (read_base_type): Set code to TYPE_CODE_CHAR for DW_ATE_signed_char and DW_ATE_unisgned_char for pascal language.
2009-02-11 Avoid NULL dereference.Jan Kratochvil2-4/+14
* stack.c (return_command): Guard use of SYMBOL_TYPE (thisfun). New variable func_type.
2009-02-11 * gdbarch.c: Regenerate.Pedro Alves2-2/+6
2009-02-11*** empty log message ***gdbadmin1-1/+1
2009-02-10daily updateAlan Modra1-1/+1
2009-02-10merge from gccDJ Delorie2-2/+6
2009-02-10 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' forNathan Sidwell2-3/+8
as_bad calls to silence compiler warning.
2009-02-102009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-0/+5
* gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
2009-02-102009-02-10 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-19/+43
* p-lang.c (is_pascal_string_type): Fix comment. Determine exact size of char elements for GPC strings. (pascal_printstr): Handle char width of 2 or 4. * p-valprint.c (pascal_val_print): Handle char of width 2 or 4.
2009-02-10*** empty log message ***gdbadmin1-1/+1
2009-02-09daily updateAlan Modra1-1/+1
2009-02-092009-02-09 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+5
* windres.c (set_endianess): Copy name without leading '-'.
2009-02-09 Missing piece of 2009-01-26 commitNathan Sidwell2-4/+7
* ldlang.c (lang_process): Don't consider relocatable flag when checking for overlap.
2009-02-09 * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.Alan Modra2-8/+22
(find_function): Likewise. (pasted_function): Don't error if no prior function found. (discover_functions): Revert 2008-12-10 change. Extend first function range to start of section.
2009-02-092009-02-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold7-172/+247
* NEWS: Mention feature match between objdump and readelf for dumping dwarf info. * doc/binutils.texi (objdump): Document -W/--dwarf improvments to objdump. * objdump.c (usage): Update documentation for -W/--dwarf. (enum option_values): Add OPTION_DWARF. (long_options): --dwarf can accept arguments. (dump_dwarf_section): Also check enabled field. (main): Option -W can accept arguments, code moved to dwarf.c and call dwarf_select_sections_all instead. * readelf.c (process_section_headers): Remove do_debug_lines_decoded. (parse_args): Move code to... * dwarf.c (dwarf_select_sections_by_letters, dwarf_select_sections_by_names): : ...here (new functions). (do_debug_lines_decoded): Remove and replaced by ... (FLAG_DEBUG_LINES_RAW, FLAG_DEBUG_LINES_DECODED): ... new macros. (display_debug_lines): Adjust for previous change. (dwarf_select_sections_all): New function. (debug_displays): Add initializer for enabled field. * dwarf.h (do_debug_lines_decoded): Remove. Add prototypes for the new functions. (struct dwarf_section_display): Add enabled field.
2009-02-09 * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpcDaniel Jacobowitz1-21/+38
inside the loop. Only call addrmap_set_empty if the compilation unit had DW_AT_high_pc and DW_AT_low_pc. Update call to scan_partial_symbols. (scan_partial_symbols): Take NEED_PC argument and pass it along with LOWPC and HIGHPC. (add_partial_namespace): Take NEED_PC argument and pass it through. (add_partial_subprogram): Take NEED_PC argument. Update the addrmap if necessary.
2009-02-09*** empty log message ***gdbadmin1-1/+1
2009-02-08daily updateAlan Modra1-1/+1
2009-02-08 * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. ConvertDave Anglin3-172/+148
functions to C90. * elf64-hppa.h: Likewise.
2009-02-08*** empty log message ***gdbadmin1-1/+1
2009-02-07 * dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpcDaniel Jacobowitz1-0/+12
inside the loop. Only call addrmap_set_empty if the compilation unit had DW_AT_high_pc and DW_AT_low_pc. Update call to scan_partial_symbols. (scan_partial_symbols): Take NEED_PC argument and pass it along with LOWPC and HIGHPC. (add_partial_namespace): Take NEED_PC argument and pass it through. (add_partial_subprogram): Take NEED_PC argument. Update the addrmap if necessary.
2009-02-07 * NEWS: Mention inspecting extra signal information, $_siginfo,Pedro Alves2-0/+13
and the qXfer:siginfo:read and qXfer:siginfo:write packets.
2009-02-07 * linux-nat.c (PTRACE_SETSIGINFO): Define if PTRACE_GETSIGINFOPedro Alves2-1/+7
isn't defined.
2009-02-07*** empty log message ***Eli Zaretskii1-0/+7