binutils-gdb.git
14 years ago* readelf.c (process_section_headers): Update key to flags.
Andreas Schwab [Mon, 19 Jul 2010 12:46:01 +0000 (12:46 +0000)]
* readelf.c (process_section_headers): Update key to flags.

14 years ago2010-07-19 Hui Zhu <teawater@gmail.com>
Hui Zhu [Mon, 19 Jul 2010 07:55:43 +0000 (07:55 +0000)]
2010-07-19  Hui Zhu  <teawater@gmail.com>

* breakpoint.c (single_step_breakpoints_inserted): New
function.
* breakpoint.h (single_step_breakpoints_inserted): Extern.
* infrun.c (maybe_software_singlestep): Add check code.
* record.c (record_resume): Add code for software single step.
(record_wait): Ditto.

14 years agodaily update
Alan Modra [Mon, 19 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 19 Jul 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agogdb/
Jan Kratochvil [Sun, 18 Jul 2010 21:21:53 +0000 (21:21 +0000)]
gdb/
* linux-nat.c (linux_handle_extended_wait): Move variable new_lp into
a more inner block.  Remove its unused declaration initializer.

14 years ago2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
Paolo Bonzini [Sun, 18 Jul 2010 08:12:40 +0000 (08:12 +0000)]
2010-07-17  Jack Howarth  <howarth@bromo.med.uc.edu>

PR target/44862
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT):
Provide -B option to allow for link spec %s substitutions for
libstdc++.a on darwin.
* Makefile.in: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Sun, 18 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 18 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * objcopy.c (copy_usage): Tweak previous typofix.
Dave Korn [Sat, 17 Jul 2010 19:33:11 +0000 (19:33 +0000)]
* objcopy.c (copy_usage): Tweak previous typofix.

14 years agoFix a typo in "objcopy --help".
H.J. Lu [Sat, 17 Jul 2010 14:41:28 +0000 (14:41 +0000)]
Fix a typo in "objcopy --help".

2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (copy_usage): Fix a typo.

14 years ago * ldlang.c (lang_check_section_addresses): Catch overlap for
Alan Modra [Sat, 17 Jul 2010 03:12:02 +0000 (03:12 +0000)]
* ldlang.c (lang_check_section_addresses): Catch overlap for
sections that wrap around the address space.

14 years ago * elf.c (_bfd_elf_map_sections_to_segments): Force new segment
Alan Modra [Sat, 17 Jul 2010 03:10:50 +0000 (03:10 +0000)]
* elf.c (_bfd_elf_map_sections_to_segments): Force new segment
for sections with overlapping LMAs.
(assign_file_positions_for_load_sections): Catch overlap for
sections that wrap around the address space.  Replace a
warning that duplicates ld's --check-sections error with a
warning that lma has been adjusted for overlapping sections.

14 years agodaily update
Alan Modra [Sat, 17 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 17 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * NEWS: Mention support for the new ptrace interface and hardware
Thiago Jung Bauermann [Fri, 16 Jul 2010 23:19:37 +0000 (23:19 +0000)]
* NEWS: Mention support for the new ptrace interface and hardware
accelerated watchpoint conditions on powerpc-linux.

14 years ago* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
Ozkan Sezer [Fri, 16 Jul 2010 20:04:41 +0000 (20:04 +0000)]
* target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars
and host_address_to_string() and %s for pointers.
(debug_to_remove_breakpoint): Likewise.
(debug_to_region_ok_for_hw_watchpoint): Likewise.
(debug_to_can_accel_watchpoint_condition): Likewise.
(debug_to_stopped_data_address): Likewise.
(debug_to_watchpoint_addr_within_range): Likewise.
(debug_to_insert_hw_breakpoint): Likewise.
(debug_to_remove_hw_breakpoint): Likewise.
(debug_to_insert_watchpoint): Likewise.
(debug_to_remove_watchpoint): Likewise.

14 years agoUse allocated cplus_specific for cplus symbols.
Sami Wagiaalla [Fri, 16 Jul 2010 19:23:56 +0000 (19:23 +0000)]
Use allocated cplus_specific for cplus symbols.

2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.h (symbol_set_demangled_name): Now takes an optional objfile*
argument.
(cplus_specific): New struct.
* symtab.c (symbol_set_demangled_name): Updated.
Use cplus_specific for cplus symbols.
(symbol_get_demangled_name): Retrive the name from the cplus_specific
struct for cplus symbols.
(symbol_init_language_specific): Set cplus_specific for cplus symbols.
(symbol_set_names): Pass objfile to symbol_set_demangled_name.
* symtab.c (symbol_init_cplus_specific): New function.

14 years agoRun dw2-compress-2 only for 32bit.
H.J. Lu [Fri, 16 Jul 2010 19:12:47 +0000 (19:12 +0000)]
Run dw2-compress-2 only for 32bit.

2010-07-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run dw2-compress-2 only for 32bit.

14 years agoUse setter and getter for demangled_name.
Sami Wagiaalla [Fri, 16 Jul 2010 19:00:56 +0000 (19:00 +0000)]
Use setter and getter for demangled_name.

2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.h (symbol_set_demangled_name): New function.
(symbol_get_demangled_name): New function.
* symtab.c (symbol_set_demangled_name): New function.
(symbol_get_demangled_name): New function.
(symbol_init_language_specific): Use demangled_name setter and getter.
(symbol_set_names): Ditto.
(symbol_natural_name): Ditto.
(symbol_demangled_name): Ditto.
* dwarf2read.c (new_symbol): Ditto.

14 years agoRename cplus_specific mangled_lang.
Sami Wagiaalla [Fri, 16 Jul 2010 18:39:10 +0000 (18:39 +0000)]
Rename cplus_specific mangled_lang.

2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>

* symtab.h: Renamed cplus_specific to mangled_lang.
* symtab.c (symbol_init_language_specific): Updated.
(symbol_set_names): Updated.
(symbol_natural_name): Updated.
(symbol_demangled_name): Updated.
* ada-lang.c (ada_decode_symbol): Updated.
* dwarf2read.c (new_symbol): Updated.

14 years ago * corefile.c (core_sym_class): Fix handling of subprogram names
Nick Clifton [Fri, 16 Jul 2010 14:52:15 +0000 (14:52 +0000)]
    * corefile.c (core_sym_class): Fix handling of subprogram names
        and add support for cloned function names.

14 years ago * config/tc-rx.c (md_estimate_size_before_relax): Fix format
Alan Modra [Fri, 16 Jul 2010 06:32:46 +0000 (06:32 +0000)]
* config/tc-rx.c (md_estimate_size_before_relax): Fix format
specifier warnings for 32-bit host when --enable-64-bit-bfd.
(rx_relax_frag, md_convert_frag): Likewise.

14 years ago*** empty log message ***
gdbadmin [Fri, 16 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 16 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago * gas/NEWS: Add note about --compress-debug-sections.
Cary Coutant [Thu, 15 Jul 2010 17:45:17 +0000 (17:45 +0000)]
* gas/NEWS: Add note about --compress-debug-sections.
* gas/as.c (show_usage): Add --compress-debug-sections and
--nocompress-debug-sections.

14 years ago * plugin.cc (Plugin_finish::run): Don't call cleanup handlers from here.
Cary Coutant [Thu, 15 Jul 2010 17:36:23 +0000 (17:36 +0000)]
* plugin.cc (Plugin_finish::run): Don't call cleanup handlers from here.

14 years ago * config/obj-elf.c (get_sym_from_input_line_and_check): New
Nathan Sidwell [Thu, 15 Jul 2010 14:34:42 +0000 (14:34 +0000)]
* config/obj-elf.c (get_sym_from_input_line_and_check): New
function to catch missing pseudo-op arguments.
(obj_elf_local): Call new function.
(obj_elf_weak): Likewise.
(obj_elf_visibility): Likewise.
(obj_elf_vtable_entry): Likewise.
(obj_elf_type): Likewise.

testsuite/
* gas/elf/pseudo.s: New.
* gas/elf/pseudo.l: New.
* gas/elf/pseudo.d: New.
* gas/elf/elf.exp: Run the new test.

14 years ago2010-07-15 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 15 Jul 2010 13:42:20 +0000 (13:42 +0000)]
2010-07-15  Kai Tietz  <kai.tietz@onevision.com>

* config/obj-coff-seh.c
(seh_getelm_data_size): New.
(seh_read_offset): Handle negative values.
(obj_coff_seh_push): Handle offset for save-register store.
(obj_coff_seh_setframe): Add unwind-information for frame.
(seh_store_elm_data): New.
(seh_getelm_data_size): Return additionally unaligned element count.
(seh_make_unwind_entry): Correct tweak about element count.

14 years ago2010-07-15 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Thu, 15 Jul 2010 07:58:47 +0000 (07:58 +0000)]
2010-07-15  Kai Tietz <kai.tietz@onevision.com>

        * dllwrap.c (main): Make sure is_leading_underscore
        gets initialized with correct default.

14 years agoAdd testcases for PR ld/11817.
H.J. Lu [Thu, 15 Jul 2010 00:42:23 +0000 (00:42 +0000)]
Add testcases for PR ld/11817.

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11817
* ld-i386/compressed1.s: New.
* ld-i386/compressed1.d: Likewise.
* ld-x86-64/compressed1.s: Likewise.
* ld-x86-64/compressed1.d: Likewise.

* ld-i386/i386.exp: Run compressed1.
* ld-x86-64/x86-64.exp: Likewise.

14 years agoFix a typo.
H.J. Lu [Thu, 15 Jul 2010 00:37:12 +0000 (00:37 +0000)]
Fix a typo.

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/i386/compressed-1a.d: Fix a typo.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.

14 years ago*** empty log message ***
gdbadmin [Thu, 15 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 15 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago PR ld/11817
Cary Coutant [Wed, 14 Jul 2010 22:18:07 +0000 (22:18 +0000)]
PR ld/11817
* dwarf2.c (read_section): Revert patch for compressed debug sections.
(find_line): Likewise.
(read_and_uncompress_section): Remove.

14 years agoAdd addr2line, objcopy and strip tests for compressed debug sections.
H.J. Lu [Wed, 14 Jul 2010 19:46:01 +0000 (19:46 +0000)]
Add addr2line, objcopy and strip tests for compressed debug sections.

binutils/testsuite/

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/default.exp (binutils_assemble): Use
default_binutils_assemble_flags.
(binutils_assemble_flags): New.

* lib/utils-lib.exp (default_binutils_assemble): Renamed to ...
(default_binutils_assemble_flags): This.  Add asflags and
pass it to target_assemble.
(run_dump_test): Support assembler flags.

* binutils-all/i386/compressed-1.s: New.
* binutils-all/i386/compressed-1a.d: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/i386/i386.exp: Likewise.
* binutils-all/x86-64/compressed-1.s: Likewise.
* binutils-all/x86-64/compressed-1a.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.
* binutils-all/x86-64/x86-64.exp: Likewise.

gas/testsuite/

2010-07-14  H.J. Lu  <hongjiu.lu@intel.com>

* config/default.exp (ADDR2LINE): New.
(ADDR2LINEFLAGS): Likewise.

* gas/i386/i386.exp: Run dw2-compress-2 and x86-64-dw2-compress-2.

* gas/i386/dw2-compress-2.d: New.
* gas/i386/dw2-compress-2.s: Likewise.
* gas/i386/x86-64-dw2-compress-2.d: Likewise.
* gas/i386/x86-64-dw2-compress-2.s: Likewise.

* lib/gas-defs.exp (run_dump_test): Support addr2line as dump
program.
(slurp_options): Allow numbers in options.

14 years agogdb/ChangeLog:* valops.c (value_assign): Do not call to value_coerce_to_target.(value...
Ken Werner [Wed, 14 Jul 2010 14:54:58 +0000 (14:54 +0000)]
gdb/ChangeLog:* valops.c (value_assign): Do not call to value_coerce_to_target.(value_must_coerce_to_target): Return 0 in case of TYPE_VECTOR.gdb/testsuite/ChangeLog:* gdb.arch/altivec-abi.exp: New tests.

14 years ago* MAINTAINERS: Add myself for write after approval privileges.
Ken Werner [Wed, 14 Jul 2010 14:30:35 +0000 (14:30 +0000)]
* MAINTAINERS: Add myself for write after approval privileges.

14 years agoUse .2byte/.4byte instead of .short/.long.
H.J. Lu [Wed, 14 Jul 2010 14:22:48 +0000 (14:22 +0000)]
Use .2byte/.4byte instead of .short/.long.

2010-07-14  Maciej W. Rozycki  <macro@codesourcery.com>

* gas/elf/dwarf2-3.s: Replace .short and .long directives in
.debug_info section with .2byte and .4byte respectively.

14 years ago2010-07-13 Emmanuel Thomé <Emmanuel.Thome@gmail.com>
Tom Tromey [Wed, 14 Jul 2010 14:13:55 +0000 (14:13 +0000)]
2010-07-13  Emmanuel Thomé  <Emmanuel.Thome@gmail.com>

* c-valprint.c (c_val_print): Add embedded_offset to address in
call to val_print_array_elements.

2010-07-13  Tom Tromey  <tromey@redhat.com>

* gdb.python/py-prettyprint.c (struct arraystruct): New struct.
(main): Use it.
* gdb.python/py-prettyprint.exp (run_lang_tests): Add test.

14 years ago * descriptors.cc (Descriptors::open): Report correct name in error
Ian Lance Taylor [Wed, 14 Jul 2010 10:38:59 +0000 (10:38 +0000)]
* descriptors.cc (Descriptors::open): Report correct name in error
message.

14 years agoDon't allocate .got.plt section if there are no GOT nor PLT entries.
H.J. Lu [Wed, 14 Jul 2010 00:30:57 +0000 (00:30 +0000)]
Don't allocate .got.plt section if there are no GOT nor PLT entries.

bfd/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* elf32-i386.c (elf_i386_size_dynamic_sections): Don't
 allocate .got.plt section if there are no GOT nor PLT
 entries.
 * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.

ld/testsuite/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* ld-elf/exclude3b.d: Don't run on ia64-*-*.  Replace .got with
.dynamic.

* ld-elf/exclude3d.d: New.
* ld-i386/nogot1.d: Likewise.
* ld-i386/nogot1.s: Likewise.
* ld-x86-64/nogot1.d: Likewise.
* ld-x86-64/nogot1.s: Likewise.

* ld-i386/i386.exp: Run nogot1.
* ld-x86-64/x86-64.exp: Likewise.

14 years agodaily update
Alan Modra [Wed, 14 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Wed, 14 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * dwarf2read.c (dwarf2_read_index): Correctly set 'total_size'.
Tom Tromey [Tue, 13 Jul 2010 22:02:05 +0000 (22:02 +0000)]
* dwarf2read.c (dwarf2_read_index): Correctly set 'total_size'.

14 years ago * dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
Tom Tromey [Tue, 13 Jul 2010 21:06:48 +0000 (21:06 +0000)]
* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
objfile.

14 years ago * symfile.c (set_initial_language): Update.
Tom Tromey [Tue, 13 Jul 2010 20:52:52 +0000 (20:52 +0000)]
* symfile.c (set_initial_language): Update.
(deduce_language_from_filename): Argument type now const.
* symtab.h (find_main_filename): Update.
(deduce_language_from_filename): Update.
* symtab.c (find_main_filename): Make result const.
* dwarf2read.c (dw2_find_symbol_file): Change return type.
* psymtab.c (find_symbol_file_from_partial): Change return type.
* symfile.h (struct quick_symbol_functions) <find_symbol_file>:
Make result const.

14 years agogdb
Tom Tromey [Tue, 13 Jul 2010 20:51:34 +0000 (20:51 +0000)]
gdb
* breakpoint.c (save_cmdlist): No longer static.
* gdbcmd.h (save_cmdlist): Declare.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Set
OBJF_READNOW on objfile if readnow_symbol_files.
* elfread.c (elf_symfile_read): Use dwarf2_initialize_objfile.
(elf_sym_fns_gdb_index): New global.
* dwarf2read.c: Include exceptions.h.
(offset_type): New.
(struct mapped_index): New.
(dwarf2_per_cu_data_ptr): New typedef.
(struct dwarf2_per_objfile) <using_index, index_table, gdb_index>:
New fields.
(GDB_INDEX_SECTION): New define.
(struct dwarf2_per_cu_quick_data): New.
(struct dwarf2_per_cu_data) <objfile>: New field.
<psymtab>: Removed.
<v>: New field.
(byte_swap): New function.
(MAYBE_SWAP): New macro.
(INDEX_SUFFIX): New macro.
(dw2_do_instantiate_symtab): New function.
(dw2_instantiate_symtab): Likewise.
(create_cus_from_index): Likewise.
(create_addrmap_from_index): Likewise.
(mapped_index_string_hash): Likewise.
(find_slot_in_mapped_hash): Likewise.
(dwarf2_read_index): Likewise.
(dw2_setup): Likewise.
(dw2_require_line_header): Likewise.
(dw2_require_full_path): Likewise.
(dw2_find_last_source_symtab): Likewise.
(dw2_forget_cached_source_info): Likewise.
(dw2_lookup_symtab): Likewise.
(dw2_lookup_symbol): Likewise.
(dw2_do_expand_symtabs_matching): Likewise.
(dw2_pre_expand_symtabs_matching): Likewise.
(dw2_print_stats): Likewise.
(dw2_dump): Likewise.
(dw2_relocate): Likewise.
(dw2_expand_symtabs_for_function): Likewise.
(dw2_expand_all_symtabs): Likewise.
(dw2_expand_symtabs_with_filename): Likewise.
(dw2_find_symbol_file): Likewise.
(dw2_map_ada_symtabs): Likewise.
(dw2_expand_symtabs_matching): Likewise.
(dw2_find_pc_sect_symtab): Likewise.
(dw2_map_symbol_names): Likewise.
(dw2_map_symbol_filenames): Likewise.
(dw2_has_symbols): Likewise.
(dwarf2_gdb_index_functions): New global.
(dwarf2_initialize_objfile): New function.
(process_psymtab_comp_unit): Update.
(add_partial_subprogram): Likewise.
(dwarf2_psymtab_to_symtab): Likewise.
(psymtab_to_symtab_1): Use dw2_do_instantiate_symtab.
(process_full_comp_unit): Update.
(find_file_and_directory): New function.
(read_file_scope): Use find_file_and_directory.
(dwarf2_per_cu_objfile): Update.
(dwarf2_per_cu_addr_size): Update.
(dwarf2_per_cu_offset_size): Update.
(dwarf2_free_objfile): Free the index, if needed.
(dwarf2_per_objfile_free): Unmap the index, if needed.
(struct strtab_entry): New.
(hash_strtab_entry): New function.
(eq_strtab_entry): Likewise.
(create_strtab): Likewise.
(add_string): Likewise.
(struct symtab_index_entry): New.
(struct mapped_symtab): New.
(hash_symtab_entry): New function.
(eq_symtab_entry): Likewise.
(delete_symtab_entry): Likewise.
(create_index_table): Likewise.
(create_mapped_symtab): Likewise.
(cleanup_mapped_symtab): Likewise.
(find_slot): Likewise.
(hash_expand): Likewise.
(add_index_entry): Likewise.
(add_indices_to_cpool): Likewise.
(write_hash_table): Likewise.
(add_address_entry): Likewise.
(write_psymbols): Likewise.
(write_obstack): Likewise.
(unlink_if_set): Likewise.
(write_psymtabs_to_index): Likewise.
(save_gdb_index_command): Likewise.
(_initialize_dwarf2_read): Install "save gdb-index"
command.
(create_all_comp_units): Initialize 'objfile' field of CU.
(dwarf2_locate_sections): Check for .gdb_index.
* psymtab.h (dwarf2_gdb_index_functions): Declare.
* symfile.h (dwarf2_initialize_objfile): Declare.
gdb/doc
* gdb.texinfo (Index Files): New node.

14 years ago * symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook.
Tom Tromey [Tue, 13 Jul 2010 20:49:26 +0000 (20:49 +0000)]
* symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook.
(basic_lookup_transparent_type): Likewise.
* symfile.h (struct quick_symbol_functions)
<pre_expand_symtabs_matching>: New field.
* psymtab.c (pre_expand_symtabs_matching_psymtabs): New function.
(psym_functions): Update.

14 years ago * gdb.texinfo (GDB/MI Variable Objects): Remove extra 'for'.
Tom Tromey [Tue, 13 Jul 2010 20:32:43 +0000 (20:32 +0000)]
* gdb.texinfo (GDB/MI Variable Objects): Remove extra 'for'.

14 years agogdb
Tom Tromey [Tue, 13 Jul 2010 20:07:44 +0000 (20:07 +0000)]
gdb
PR breakpoints/8357:
* symtab.h (domain_enum_tag) <LABEL_DOMAIN>: Update comment.
* linespec.c (decode_line_1): Update comment.  Call decode_label.
(decode_label): New function.
(symbol_found): Handle LOC_LABEL.
* dwarf2read.c (new_symbol) <DW_TAG_label>: Set symbol's type and
domain.  Call add_symbol_to_list.
gdb/doc
* gdb.texinfo (Specify Location): Document labels.
gdb/testsuite
* gdb.base/label.exp: New file.
* gdb.base/label.c: New file.

14 years ago2010-07-13 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 13 Jul 2010 20:07:08 +0000 (20:07 +0000)]
2010-07-13  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_input_section::Arm_input_section): For a
SHT_ARM_EXIDX section, always keeps the input sections.
(Arm_input_section::set_exidx_section_link): New method.
(Arm_exidx_input_section::Arm_exidx_input_section): Initialize
has_errors_ to false.
(Arm_exidx_input_section::has_errors,
Arm_exidx_input_section::set_has_errors): New methods.
(Arm_exidx_input_section::has_errors_): New data member.
(Arm_relobj::get_exidx_shndx_list): New method.
(Arm_output_section::append_text_sections_to_list): Do not skip
section without SHF_EXECINSTR.
(Arm_output_section::fix_exidx_coverage): Skip input sections with
errors.
  (Arm_relobj::make_exidx_input_section): Add new parameter for text
section header.  Make error messages more verbose.  Check for
a non-executable section linked to an EXIDX section.
(Arm_relobj::do_read_symbols): Remove error checking, which has been
moved to Arm_relobj::make_exidx_input_section.  Add an assertion to
check that there is no deferred EXIDX section if we exit early.
Instead of not making an EXIDX section in case of an error, make one
and set the has_errors flag of it.
(Target_arm::do_finalize_sections): Fix up links of EXIDX sections
in a relocatable link.
(Target_arm::do_relax): Look for the EXIDX output section instead of
assuming that it is called .ARM.exidx.
  (Target_arm::fix_exidx_coverage): Add a new parameter for input
section list.  Do not check for SHF_EXECINSTR section flags but
skip any input section with errors.
* output.cc (Output_section::Output_section): Initialize
always_keeps_input_sections_ to false.
(Output_section::add_input_section): Check for
always_keeps_input_sections_.
*  output.h (Output_section::always_keeps_input_sections,
Output_section::set_always_keeps_input_sections): New methods.
(Output_section::always_keeps_input_sections): New data member.

14 years agoDon't hard code expected output.
H.J. Lu [Tue, 13 Jul 2010 17:42:29 +0000 (17:42 +0000)]
Don't hard code expected output.

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/hidden2.d: Don't hard code expected output.
* ld-i386/protected3.d: Likewise.
* ld-x86-64/hidden2.d: Likewise.
* ld-x86-64/protected3.d: Likewise.

14 years agoSupport garbage collection against STT_GNU_IFUNC symbols.
H.J. Lu [Tue, 13 Jul 2010 16:59:14 +0000 (16:59 +0000)]
Support garbage collection against STT_GNU_IFUNC symbols.

bfd/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11791
* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support
garbage collection against STT_GNU_IFUNC symbols.

* elf32-i386.c (elf_i386_get_local_sym_hash): Don't set
elf.plt.offset/elf.got.offset to -1.
(elf_i386_tls_transition): Skip TLS transition for functions.
(elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols.

* elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set
elf.plt.offset/elf.got.offset to -1.
(elf64_x86_64_tls_transition): Skip TLS transition for functions.
(elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols.

ld/testsuite/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11791
* ld-ifunc/ifunc-10-i386.d: New.
* ld-ifunc/ifunc-10-i386.s: Likewise.
* ld-ifunc/ifunc-10-x86-64.d: Likewise.
* ld-ifunc/ifunc-10-x86-64.s: Likewise.
* ld-ifunc/ifunc-11-i386.d: Likewise.
* ld-ifunc/ifunc-11-i386.s: Likewise.
* ld-ifunc/ifunc-11-x86-64.d: Likewise.
* ld-ifunc/ifunc-11-x86-64.s: Likewise.

14 years ago * dwarf2loc.h (dwarf2_per_cu_text_offset): Declare.
Tom Tromey [Tue, 13 Jul 2010 15:09:03 +0000 (15:09 +0000)]
* dwarf2loc.h (dwarf2_per_cu_text_offset): Declare.
* dwarf2loc.c (find_location_expression): Use
dwarf2_per_cu_text_offset.
(dwarf2_evaluate_loc_desc): Likewise.
(dwarf2_loc_desc_needs_frame): Likewise.
(compile_dwarf_to_ax): Likewise.
(loclist_describe_location): Likewise.
* dwarf2read.c (dwarf2_per_cu_text_offset): New function.
(dwarf2_per_cu_objfile): Update comment.

14 years ago2010-07-13 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Tue, 13 Jul 2010 14:59:02 +0000 (14:59 +0000)]
2010-07-13  Rafael Espindola  <espindola@google.com>

* fileread.cc (try_extra_search_path, find_file): Move to Input_file.
* fileread.h (Input_file): Add try_extra_search_path and find_file.

14 years ago * output.h (Output_section_lookup_maps::add_merge_section):
Ian Lance Taylor [Tue, 13 Jul 2010 12:04:03 +0000 (12:04 +0000)]
* output.h (Output_section_lookup_maps::add_merge_section):
Correct check of whether value was inserted.
(Output_section_lookup_maps::add_merge_input_section): Likewise.
(Output_section_lookup_maps::add_relaxed_input_section):
Likewise.
* arm.cc (Target_arm::got_section): Remove used local os.
* i386.cc (Target_i386::got_section): Likewise.
* x86_64.cc (Target_x86_64::got_section): Likewise.
* sparc.cc (Target_sparc::got_section): Likewise.
(Target_sparc::relocate): Remove unused local have_got_offset.
* powerpc.cc (Target_powerpc::relocate): Likewise.

14 years ago * compressed_output.cc (zlib_decompress): Fix signature in
Ian Lance Taylor [Tue, 13 Jul 2010 11:59:02 +0000 (11:59 +0000)]
* compressed_output.cc (zlib_decompress): Fix signature in
!HAVE_ZLIB_H case.

14 years ago * archive.cc (Archive::include_member): Unlock an external member
Ian Lance Taylor [Tue, 13 Jul 2010 07:56:08 +0000 (07:56 +0000)]
* archive.cc (Archive::include_member): Unlock an external member
of a thin archive.  Don't bother to delete an object we know is
NULL.

14 years ago*** empty log message ***
gdbadmin [Tue, 13 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Tue, 13 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agoRe-indent elf32-i386.c.
H.J. Lu [Mon, 12 Jul 2010 21:13:24 +0000 (21:13 +0000)]
Re-indent elf32-i386.c.

2010-07-12  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_relocs): Re-indent.
(elf_i386_relocate_section): Likewise.

14 years agoRestore fall through patch for O_multiply.
H.J. Lu [Mon, 12 Jul 2010 20:36:01 +0000 (20:36 +0000)]
Restore fall through patch for O_multiply.

2010-07-12  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11806
* config/tc-i386-intel.c (i386_intel_simplify): Restore fall
through patch for O_multiply.

14 years ago * compressed_output.cc (zlib_decompress): New function.
Cary Coutant [Mon, 12 Jul 2010 17:59:58 +0000 (17:59 +0000)]
* compressed_output.cc (zlib_decompress): New function.
(get_uncompressed_size): New function.
(decompress_input_section): New function.
* compressed_output.h (get_uncompressed_size): New function.
(decompress_input_section): New function.
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info)
Handle compressed debug sections.
* layout.cc (is_compressed_debug_section): New function.
(Layout::output_section_name): Map compressed section names to
canonical names.
* layout.h (is_compressed_debug_section): New function.
(is_debug_info_section): Recognize compressed debug sections.
* merge.cc: Include compressed_output.h.
(Output_merge_data::do_add_input_section): Handle compressed
debug sections.
(Output_merge_string::do_add_input_section): Handle compressed
debug sections.
* object.cc: Include compressed_output.h.
(Sized_relobj::Sized_relobj): Initialize new data members.
(build_compressed_section_map): New function.
(Sized_relobj::do_read_symbols): Handle compressed debug sections.
* object.h (Object::section_is_compressed): New method.
(Object::do_section_is_compressed): New method.
(Sized_relobj::Compressed_section_map): New type.
(Sized_relobj::do_section_is_compressed): New method.
(Sized_relobj::compressed_sections_): New data member.
* output.cc (Output_section::add_input_section): Handle compressed
debug sections.
* reloc.cc: Include compressed_output.h.
(Sized_relobj::write_sections): Handle compressed debug sections.

14 years agoAdd is_ilp32_target/is_lp64_target.
H.J. Lu [Mon, 12 Jul 2010 17:33:15 +0000 (17:33 +0000)]
Add is_ilp32_target/is_lp64_target.

2010-07-12  Ulrich Weigand  <uweigand@de.ibm.com>
    H.J. Lu  <hongjiu.lu@intel.com>

* lib/gdb.exp (is_ilp32_target): New.
(is_lp64_target): Likewise.

* gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
target.
* gdb.arch/amd64-disp-step.exp: Likewise.
* gdb.arch/amd64-dword.exp: Likewise.
* gdb.arch/amd64-i386-address.exp: Likewise.
* gdb.arch/amd64-word.exp: Likewise.

* gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
target.
* gdb.arch/i386-bp_permanent.exp: Likewise.
* gdb.arch/i386-byte.exp: Likewise.
* gdb.arch/i386-disp-step.exp: Likewise.
* gdb.arch/i386-gnu-cfi.exp: Likewise.
* gdb.arch/i386-prologue.exp: Likewise.
* gdb.arch/i386-size-overlap.exp: Likewise.
* gdb.arch/i386-size.exp: Likewise.
* gdb.arch/i386-sse.exp: Likewise.
* gdb.arch/i386-unwind.exp: Likewise.
* gdb.arch/i386-word.exp: Likewise.

* gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
test only when building 64-bit executables.  Do not hard-code
-m64 option.

14 years agogdb/
Jan Kratochvil [Mon, 12 Jul 2010 17:07:11 +0000 (17:07 +0000)]
gdb/
* dwarf2read.c (read_subrange_type): Call read_subrange_type.
* p-lang.c (pascal_printstr): Likewise.

14 years ago*** empty log message ***
gdbadmin [Mon, 12 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 12 Jul 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years agoFix a typo.
H.J. Lu [Sun, 11 Jul 2010 15:37:21 +0000 (15:37 +0000)]
Fix a typo.

14 years ago2010-07-11 Kai Tietz <kai.tietz@onevision.com>
Kai Tietz [Sun, 11 Jul 2010 08:45:51 +0000 (08:45 +0000)]
2010-07-11  Kai Tietz  <kai.tietz@onevision.com>

PR ld/11612
* config/obj-coff.c (obj_common_parse): Quote symbol-name.

2010-07-11  Kai Tietz  <kai.tietz@onevision.com>

* gas/pe/aligncomm-b.d: Regenerated content dump.
* gas/pe/aligncomm-d,d: Regenerated content dump.
* gas/i386/i386.exp: Disable for mingw 64-bit the intel-got64 test.

14 years ago*** empty log message ***
gdbadmin [Sun, 11 Jul 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 11 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years agodaily update
Alan Modra [Sat, 10 Jul 2010 00:00:06 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 10 Jul 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * python/py-prettyprint.c (gdbpy_get_display_hint): Don't use
Tom Tromey [Fri, 9 Jul 2010 20:29:56 +0000 (20:29 +0000)]
* python/py-prettyprint.c (gdbpy_get_display_hint): Don't use
'hint' if it is NULL.

14 years ago2010-07-04 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 9 Jul 2010 02:39:58 +0000 (02:39 +0000)]
2010-07-04  Hui Zhu  <teawater@gmail.com>

* source.c (print_source_lines_base): Add check for noprint.

14 years ago * resolve.cc (Symbol_table::resolve): Remember whether undef was
Cary Coutant [Fri, 9 Jul 2010 01:34:31 +0000 (01:34 +0000)]
* resolve.cc (Symbol_table::resolve): Remember whether undef was
weak when resolving to a dynamic def.
(Symbol_table::should_override): Add adjust_dyndef flag; set it
for weak undef/dynamic def cases. Adjust callers.
* symtab.cc (Symbol::init_fields): Initialize undef_binding_set_ and
undef_binding_weak_.
(Symbol_table::sized_write_globals): Adjust symbol binding.
(Symbol_table::sized_write_symbol): Add binding parameter.
* symtab.h (Symbol::set_undef_binding): New method.
(Symbol::is_undef_binding_weak): New method.
(Symbol::undef_binding_set_, Symbol::undef_binding_weak_): New members.
(Symbol_table::should_override): Add new parameter.
(Symbol_table::sized_write_symbol): Add new parameter.

* testsuite/weak_undef_file1.cc: Add new test case.
* testsuite/weak_undef_file2.cc: Fix header comment.
* testsuite/weak_undef_test.cc: Add new test case.

14 years ago*** empty log message ***
gdbadmin [Fri, 9 Jul 2010 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 9 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2010-07-08 Tejas Belagod <tejas.belagod@arm.com>
Richard Earnshaw [Thu, 8 Jul 2010 22:40:28 +0000 (22:40 +0000)]
2010-07-08 Tejas Belagod <tejas.belagod@arm.com>

gas/testsuite
* gas/arm/barrier.s: New file.
* gas/arm/barrier.d: New file.
* gas/arm/barrier-thumb.s: New file.
* gas/arm/barrier-thumb.d: New file.
* gas/arm/barrier-bad.s: New file.
* gas/arm/barrier-bad.d: New file.
* gas/arm/barrier-bad.l: New file.
* gas/arm/barrier-bad-thumb.s: New file.
* gas/arm/barrier-bad-thumb.d: New file.
* gas/arm/barrier-bad-thumb.l: New file.

gas/config
* tc-arm.c (OP_oBARRIER): Remove.
(OP_oBARRIER_I15): Add.
(po_barrier_or_imm): Add macro.
(parse_operands): Improve OP_oBARRIER_I15 operand parsing.
(do_barrier): Check correct immediate range.
(do_t_barrier): Likewise.
(barrier_opt_names): Add entries for more symbolic operands.
(insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.

opcodes/
* arm-dis.c (print_insn_arm): Add cases for printing more
symbolic operands.
(print_insn_thumb32): Likewise.

14 years agoResync python-config.py with Python-2.7 version.
Joel Brobecker [Thu, 8 Jul 2010 22:12:44 +0000 (22:12 +0000)]
Resync python-config.py with Python-2.7 version.

This is just a copy of the Python 2.7 version of python-config.py.
Tested with versions 2.5 and 2.6.  It's nearly identical to the
previous version, except it's written in a more pythonic way,
so it should be fine for 2.4 as well.

gdb/ChangeLog:

        * python/python-config.py: Resync with Python 2.7 version of this
        script.

14 years agoFix typo in NEWS file (introduced in previous commit).
Joel Brobecker [Thu, 8 Jul 2010 15:41:56 +0000 (15:41 +0000)]
Fix typo in NEWS file (introduced in previous commit).

gdb/ChangeLog:

        * NEWS: Fix typo in section name (s/GDB 7.1/GDB 7.2).

14 years ago * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
Nathan Sidwell [Thu, 8 Jul 2010 06:22:24 +0000 (06:22 +0000)]
* config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
error message.

testsuite/
* gas/arm/reloc-bad.d: New.
* gas/arm/reloc-bad.s: New.
* gas/arm/reloc-bad.l: New.

14 years agodaily update
Alan Modra [Thu, 8 Jul 2010 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Thu, 8 Jul 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
Kevin Buettner [Wed, 7 Jul 2010 23:22:43 +0000 (23:22 +0000)]
* gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.

14 years ago * lib/gdb.exp (gdb_test_list_exact): New function.
Doug Evans [Wed, 7 Jul 2010 18:49:51 +0000 (18:49 +0000)]
* lib/gdb.exp (gdb_test_list_exact): New function.
* gdb.base/default.exp (show convenience): Call it, add tests for
$_sdata = void, $_thread = 0.

14 years ago * NEWS: Create a new section for the next release branch.
Joel Brobecker [Wed, 7 Jul 2010 17:52:37 +0000 (17:52 +0000)]
    * NEWS: Create a new section for the next release branch.
        Rename the section of the current branch, now that it has
        been cut.

14 years agoRecord GDB 7.2 branch creation. Bump version number to 7.2.50.20100707-cvs.
gdbadmin [Wed, 7 Jul 2010 17:34:43 +0000 (17:34 +0000)]
Record GDB 7.2 branch creation. Bump version number to 7.2.50.20100707-cvs.

14 years ago * dwarf2read.c (dwarf2_const_value) <DW_form_addr>: Create a
Tom Tromey [Wed, 7 Jul 2010 17:26:38 +0000 (17:26 +0000)]
* dwarf2read.c (dwarf2_const_value) <DW_form_addr>: Create a
LOC_COMPUTED symbol.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Set new field.
(dwarf2_loc_desc_needs_frame): Likewise.
(compile_dwarf_to_ax) <DW_OP_addr>: Use offset.
* dwarf2expr.h (struct dwarf_expr_context) <offset>: New field.
* dwarf2expr.c (execute_stack_op) <DW_OP_addr>: Use offset.
* dwarf2-frame.c (execute_stack_op): Set 'offset' field.  Add
'offset' argument.
(struct dwarf2_frame_cache) <text_offset>: New field.
(dwarf2_frame_cache): Set new field.
(dwarf2_frame_prev_register): Update.
(dwarf2_frame_sniffer): Update.
(dwarf2_frame_base_sniffer): Update.
(dwarf2_frame_find_fde): Add 'out_offset' argument.

14 years ago2010-07-07 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
Thiago Jung Bauermann [Wed, 7 Jul 2010 16:15:18 +0000 (16:15 +0000)]
2010-07-07  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
    Thiago Jung Bauermann  <bauerman@br.ibm.com>

Support for hw accelerated condition watchpoints in booke powerpc.

* breakpoint.c (fetch_watchpoint_value): Rename to fetch_subexp_value
and move to eval.c.  Change callers.
(insert_bp_location): Pass watchpoint condition in
target_insert_watchpoint.
(remove_breakpoint_1) Pass watchpoint condition in
target_remove_watchpoint.
(watchpoint_locations_match): Call
target_can_accel_watchpoint_condition.
* eval.c: Include wrapper.h.
(fetch_subexp_value): Moved from breakpoint.c.
* ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint):
Formatting fix.
(can_use_watchpoint_cond_accel): New function.
(calculate_dvc): Likewise.
(num_memory_accesses): Likewise.
(check_condition): Likewise.
(ppc_linux_can_accel_watchpoint_condition): Likewise
(ppc_linux_insert_watchpoint): Call can_use_watchpoint_cond_accel,
check_condition and calculate_dvc.
(ppc_linux_remove_watchpoint): Likewise.
(_initialize_ppc_linux_nat): Set to_can_accel_watchpoint_condition to
ppc_linux_can_accel_watchpoint_condition
* target.c (debug_to_insert_watchpoint): Add argument for watchpoint
condition.
(debug_to_remove_watchpoint): Likewise.
(debug_to_can_accel_watchpoint_condition): New function.
(update_current_target): Set to_can_accel_watchpoint_condition.
(setup_target_debug): Set to_can_accel_watchpoint_condition.
* target.h: Add opaque declaration for struct expression.
(struct target_ops) <to_insert_watchpoint>,
<to_remove_watchpoint>: Add new arguments to pass the watchpoint
<to_can_accel_watchpoint_condition>: New member.
condition.  Update all callers and implementations.
(target_can_accel_watchpoint_condition): New macro.
* value.c (free_value_chain): New function.
* value.h (fetch_subexp_value): New prototype.
(free_value_chain): Likewise.

14 years ago[PATCH] Unexpected EOF read from connection with GDB after inferior exits.
Joel Brobecker [Wed, 7 Jul 2010 16:14:04 +0000 (16:14 +0000)]
[PATCH] Unexpected EOF read from connection with GDB after inferior exits.

This is on GNU/Linux.

GDBserver does not exit properly when the inferior exits, as demonstrated
with any program using the procedure below:

   % gdbserver-head :4444 simple_main
   Process simple_main created; pid = 25681
   Listening on port 4444

Then, in another terminal, start GDB, connect to GDBserver, and run
the program to completion:

   % gdb-head simple_main
   (gdb) tar rem :4444
   (gdb) cont
   Continuing.

   Program exited normally.

Going back to the terminal where GDBserver is running, we see the following
output:

    Child exited with status 0
    readchar: Got EOF
    Remote side has terminated connection.  GDBserver will reopen the connection.
    Listening on port 4444

The problem is that we're missing a call to mourn_inferior.  As a result,
after we've handled the vCont packet, we fail to notice that there are
no process left to debug (target_running() returns true), and thus try
to continue reading from the remote socket.  However, since GDB just
disconnected after having received the "exit with status 0" reply to the
vCont request, the read triggers the EOF exception.

gdb/gdbserver/ChangeLog:

        * server.c (handle_v_cont): Call mourn_inferior if process
        just exited.
        (myresume): Likewise.

14 years ago * linux-nat.c (linux_nat_do_thread_registers): Use section size
Ulrich Weigand [Wed, 7 Jul 2010 12:28:32 +0000 (12:28 +0000)]
* linux-nat.c (linux_nat_do_thread_registers): Use section size
from gdbarch_core_regset_sections also for .reg if present.

* amd64-linux-tdep.c (amd64_linux_regset_sections): Fix incorrect
section size for .reg.
* ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
(ppc_linux_vmx_regset_sections): Likewise.
(ppc_linux_fp_regset_sections): Likewise.
(ppc64_linux_vsx_regset_sections): New variable.
(ppc64_linux_vmx_regset_sections): Likewise.
(ppc64_linux_fp_regset_sections): Likewise.
(ppc_linux_init_abi): Install core_regset_section lists appropriate
for current word size.

14 years agodaily update
Alan Modra [Wed, 7 Jul 2010 00:00:07 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Wed, 7 Jul 2010 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoMake server.c:myresume static.
Joel Brobecker [Tue, 6 Jul 2010 21:20:43 +0000 (21:20 +0000)]
Make server.c:myresume static.

I just happened to notice that this function was exclusively used in
server.c, and thus could be made static.

2010-07-06  Joel Brobecker  <brobecker@adacore.com>

        * server.c (myresume): Make static.

14 years agoInitialize prev_line.
H.J. Lu [Tue, 6 Jul 2010 21:13:57 +0000 (21:13 +0000)]
Initialize prev_line.

2010-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (add_line_info): Initialize prev_line.

14 years ago * configure, config.in: Rebuild.
Tom Tromey [Tue, 6 Jul 2010 19:03:12 +0000 (19:03 +0000)]
* configure, config.in: Rebuild.
* configure.ac (HAVE_LIBPYTHON2_7): New define.
* python/python-internal.h: Handle HAVE_LIBPYTHON2_7.

14 years ago* breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
Andreas Schwab [Tue, 6 Jul 2010 16:17:44 +0000 (16:17 +0000)]
* breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
"clear".

14 years agoinclude/ChangeLog:
Ulrich Weigand [Tue, 6 Jul 2010 12:56:24 +0000 (12:56 +0000)]
include/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* floatformat.h (floatformat_ieee_half_big): Add declaration.
(floatformat_ieee_half_little): Likewise.

libiberty/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* floatformat.c (floatformat_ieee_half_big): New variable.
(floatformat_ieee_half_little): Likewise.

gdb/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* gdbtypes.h (floatformats_ieee_half): Add declaration.
* gdbtypes.c (floatformats_ieee_half): New variable.
* doublest.c (floatformat_from_length): Set format to
gdbarch_half_format if length matches.
* gdbarch.sh (half_bit): New architecture method.
(half_format): Likewise.
* gdbarch.h: Regenerate.
* gdbarch.c: Likewise.

14 years agobfd/
Alan Modra [Tue, 6 Jul 2010 09:29:47 +0000 (09:29 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_relax_section): Insert branch around
trampolines only for .init and .fini sections.
ld/testsuite/
* ld-powerpc/relax.s: Add branch back to _start.
* ld-powerpc/relax.d: Update.
* ld-powerpc/relaxr.d: Update.