gdbadmin
fcdc9c861b
*** empty log message ***
2010-07-20 00:00:33 +00:00
Alan Modra
64d56c1bab
daily update
2010-07-20 00:00:05 +00:00
Jan Kratochvil
8ea5bce590
gdb/doc/
...
* gdb.texinfo (Active Targets): Fix wrong comma placement.
2010-07-19 18:11:31 +00:00
Jan Kratochvil
c0edd9edad
gdb/
...
Make core files the process_stratum.
* corefile.c (core_target): New variable.
(core_file_command): Remove variable t, use core_target.
* corelow.c (core_ops): Make it static.
(init_core_ops): Change to process_stratum. Initialize CORE_TARGET.
* defs.h (make_cleanup_unpush_target): New prototype.
* gdbarch.h: Regenerate.
* gdbarch.sh (core_pid_to_str): Remove core_stratum from its comment.
* gdbcore.h (core_target): New declaration.
* inf-ptrace.c (inf_ptrace_create_inferior, inf_ptrace_attach): New
variables ops_already_pushed and back_to. Use push_target,
make_cleanup_unpush_target and discard_cleanups calls.
* record.c (record_open): Replace core_stratum by a core_bfd check.
* target.c (target_is_pushed): New function.
(find_core_target): Remove.
* target.h (enum strata) <core_stratum>: Remove.
(target_is_pushed): New declaration.
(find_core_target): Remove declaration.
* tracepoint.c (init_tfile_ops) <to_stratum>: Remove comment.
* utils.c (do_unpush_target, make_cleanup_unpush_target): New functions.
gdb/doc/
Make core files the process_stratum.
* gdb.texinfo (Active Targets): Remove core_stratum. Include
record_stratum example.
gdb/testsuite/
Make core files the process_stratum.
* gdb.base/corefile.exp (run: load core again)
(run: sanity check we see the core file, run: with core)
(run: core file is cleared, attach: load core again)
(attach: sanity check we see the core file, attach: with core)
(attach: core file is cleared): New tests.
* gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2010-07-19 17:51:25 +00:00
Andreas Schwab
3437afb199
binutils/testsuite/:
...
* binutils-all/readelf.s: Ignore "Key to Flags" contents.
* binutils-all/readelf.s-64: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.
gas/testsuite/:
* gas/i386/x86-64-unwind.d: Ignore "Key to Flags" contents.
* gas/ia64/alias-ilp32.d: Likewise.
* gas/ia64/alias.d: Likewise.
* gas/ia64/group-1.d: Likewise.
* gas/ia64/group-2.d: Likewise.
* gas/ia64/secname-ilp32.d: Likewise.
* gas/ia64/secname.d: Likewise.
* gas/ia64/unwind-ilp32.d: Likewise.
* gas/ia64/unwind.d: Likewise.
* gas/mmix/byte-1.d: Likewise.
* gas/mmix/loc-1.d: Likewise.
* gas/mmix/loc-2.d: Likewise.
* gas/mmix/loc-3.d: Likewise.
* gas/mmix/loc-4.d: Likewise.
* gas/mmix/loc-5.d: Likewise.
ld/testsuite/:
* ld-mmix/bspec1.d: Ignore "Key to Flags" contents.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/undef-3.d: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
2010-07-19 15:11:03 +00:00
Andreas Schwab
1d0055ea55
* readelf.c (process_section_headers): Update key to flags.
2010-07-19 12:46:01 +00:00
Hui Zhu
f02253f190
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.
2010-07-19 07:55:43 +00:00
Alan Modra
06e700d6a2
daily update
2010-07-19 00:00:05 +00:00
gdbadmin
bd0cd65df4
*** empty log message ***
2010-07-19 00:00:04 +00:00
Jan Kratochvil
78768c4ae4
gdb/
...
* linux-nat.c (linux_handle_extended_wait): Move variable new_lp into
a more inner block. Remove its unused declaration initializer.
2010-07-18 21:21:53 +00:00
Paolo Bonzini
1d14850fc0
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.
2010-07-18 08:12:40 +00:00
gdbadmin
a881f11cf9
*** empty log message ***
2010-07-18 00:00:33 +00:00
Alan Modra
7903b87cf2
daily update
2010-07-18 00:00:05 +00:00
Dave Korn
447049af48
* objcopy.c (copy_usage): Tweak previous typofix.
2010-07-17 19:33:11 +00:00
H.J. Lu
235f6e5342
Fix a typo in "objcopy --help".
...
2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (copy_usage): Fix a typo.
2010-07-17 14:41:28 +00:00
Alan Modra
f4427a75c8
* ldlang.c (lang_check_section_addresses): Catch overlap for
...
sections that wrap around the address space.
2010-07-17 03:12:02 +00:00
Alan Modra
b559959291
* 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.
2010-07-17 03:10:50 +00:00
Alan Modra
34220e965e
daily update
2010-07-17 00:00:05 +00:00
gdbadmin
72f4afc7a3
*** empty log message ***
2010-07-17 00:00:03 +00:00
Thiago Jung Bauermann
431e49aac1
* NEWS: Mention support for the new ptrace interface and hardware
...
accelerated watchpoint conditions on powerpc-linux.
2010-07-16 23:19:37 +00:00
Ozkan Sezer
bd91e7ae05
* 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.
2010-07-16 20:04:41 +00:00
Sami Wagiaalla
29df156df4
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.
2010-07-16 19:23:56 +00:00
H.J. Lu
502abbdf22
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.
2010-07-16 19:12:47 +00:00
Sami Wagiaalla
b250c185b3
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.
2010-07-16 19:00:56 +00:00
Sami Wagiaalla
afa1672571
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.
2010-07-16 18:39:10 +00:00
Nick Clifton
183e4ed8bc
* corefile.c (core_sym_class): Fix handling of subprogram names
...
and add support for cloned function names.
2010-07-16 14:52:15 +00:00
Alan Modra
4e92bb1cd7
* 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.
2010-07-16 06:32:46 +00:00
gdbadmin
ad0385697b
*** empty log message ***
2010-07-16 00:00:33 +00:00
Alan Modra
a522592fd2
daily update
2010-07-16 00:00:05 +00:00
Cary Coutant
700c406090
* gas/NEWS: Add note about --compress-debug-sections.
...
* gas/as.c (show_usage): Add --compress-debug-sections and
--nocompress-debug-sections.
2010-07-15 17:45:17 +00:00
Cary Coutant
78384e8f72
* plugin.cc (Plugin_finish::run): Don't call cleanup handlers from here.
2010-07-15 17:36:23 +00:00
Nathan Sidwell
6e8bd58f83
* 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.
2010-07-15 14:34:42 +00:00
Kai Tietz
1e17085dea
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.
2010-07-15 13:42:20 +00:00
Kai Tietz
f14ead0d15
2010-07-15 Kai Tietz <kai.tietz@onevision.com>
...
* dllwrap.c (main): Make sure is_leading_underscore
gets initialized with correct default.
2010-07-15 07:58:47 +00:00
H.J. Lu
25d17eb4cc
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.
2010-07-15 00:42:23 +00:00
H.J. Lu
dfc6c7b266
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.
2010-07-15 00:37:12 +00:00
gdbadmin
8942efd7f0
*** empty log message ***
2010-07-15 00:00:33 +00:00
Alan Modra
26e57e79fe
daily update
2010-07-15 00:00:05 +00:00
Cary Coutant
8c2ccebd6b
PR ld/11817
...
* dwarf2.c (read_section): Revert patch for compressed debug sections.
(find_line): Likewise.
(read_and_uncompress_section): Remove.
2010-07-14 22:18:07 +00:00
H.J. Lu
368886ac46
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.
2010-07-14 19:46:01 +00:00
Ken Werner
3cbaedfff7
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.
2010-07-14 14:54:58 +00:00
Ken Werner
c932f1bef2
* MAINTAINERS: Add myself for write after approval privileges.
2010-07-14 14:30:35 +00:00
H.J. Lu
034cb2865b
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.
2010-07-14 14:22:48 +00:00
Tom Tromey
91158a569d
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.
2010-07-14 14:13:55 +00:00
Ian Lance Taylor
783659f926
* descriptors.cc (Descriptors::open): Report correct name in error
...
message.
2010-07-14 10:38:59 +00:00
H.J. Lu
a7b16ceb92
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.
2010-07-14 00:30:57 +00:00
Alan Modra
6ae10a3087
daily update
2010-07-14 00:00:05 +00:00
gdbadmin
cae36aed43
*** empty log message ***
2010-07-14 00:00:03 +00:00
Tom Tromey
b3b272e108
* dwarf2read.c (dwarf2_read_index): Correctly set 'total_size'.
2010-07-13 22:02:05 +00:00
Tom Tromey
bb3fa9d02e
* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
...
objfile.
2010-07-13 21:06:48 +00:00