Pedro Alves
287369626f
* linux-nat.c (linux_nat_wait_1): Bail out, if TARGET_WNOHANG and
...
we found no event while waiting for a specific LWP.
* infrun.c (handle_inferior_event): Handle TARGET_WAITKIND_IGNORE
before anything else.
2009-10-09 01:57:12 +00:00
Pedro Alves
651c8d2d6c
* procfs.c (procfs_make_note_section): Always output a NT_PSTATUS
...
note when NEW_PROC_API is defined.
2009-10-09 01:28:02 +00:00
Pedro Alves
62f33d08c8
* corelow.c (add_to_thread_list): Fix typo.
2009-10-09 01:01:22 +00:00
Pedro Alves
3cdd9356b1
* corelow.c (core_has_fake_pid): New.
...
(core_close): Clear it.
(add_to_thread_list): Fake a pid if one is not found on a Solaris
core. Add the inferior here. Always add the thread, don't use
thread_change_ptid.
(core_open): Don't add the main thread or the inferior here unless
we find that the core had no .reg/NN sections.
(get_core_register_section): Handle Solaris cores with fake pids.
2009-10-09 00:49:06 +00:00
Paul Pluzhnikov
cdbfd4198e
doc/
...
2009-10-08 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.texinfo (Server): Document libthread-db-search-path.
gdbserver/
2009-10-08 Paul Pluzhnikov <ppluzhnikov@google.com>
* acinclude.m4: (SRV_CHECK_THREAD_DB, SRV_CHECK_TLS_GET_ADDR): Remove.
* configure.ac: Adjust.
* linux-low.h (struct process_info_private): Move members to struct
thread_db.
(thread_db_free, thread_db_handle_monitor_command): New prototype.
* linux-low.c (linux_remove_process): Adjust.
(linux_wait_for_event_1, linux_look_up_symbols): Likewise.
* server.c (handle_query): Move code ...
(handle_monitor_command): ... here. New function.
* target.h (struct target_ops): New member.
* thread-db.c (struct thread_db): New.
(libthread_db_search_path): New variable.
(thread_db_create_event, thread_db_enable_reporting)
(find_one_thread, maybe_attach_thread, find_new_threads_callback)
(thread_db_find_new_threads, (thread_db_get_tls_address): Adjust.
(try_thread_db_load_1, dladdr_to_soname): New functions.
(try_thread_db_load, thread_db_load_search): New functions.
(thread_db_init): Search for libthread_db.
(thread_db_free): New function.
(thread_db_handle_monitor_command): Likewise.
* config.in: Regenerate.
* configure: Regenerate.
2009-10-09 00:31:01 +00:00
gdbadmin
37e124c9c3
*** empty log message ***
2009-10-09 00:00:03 +00:00
Alan Modra
ae84de087c
daily update
2009-10-08 22:59:56 +00:00
Pedro Alves
0413d7389a
gdb/testsuite/
...
* lib/gdb.exp (gdb_compile): Remove dead aix and irix related
bits.
2009-10-08 22:42:53 +00:00
Paul Pluzhnikov
1800f484a2
2009-10-08 Paul Pluzhnikov <ppluzhnikov@google.com>
...
PR gdb/10457
* elfread.c (elf_symtab_read): Don't use alloca in a loop.
2009-10-08 16:38:42 +00:00
Jan Kratochvil
da082f1797
gdb/doc/
...
* gdbint.texinfo (i386_stopped_by_hwbp): Remove.
2009-10-08 13:08:26 +00:00
Tristan Gingold
615b63d4e0
2009-10-08 Tristan Gingold <gingold@adacore.com>
...
* config.bfd: Add bfd_mach_o_i386_vec in x86_64-darwin targ_selvecs.
2009-10-08 12:46:17 +00:00
H.J. Lu
6f4c35a5fb
2009-10-08 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/10704
* gas/i386/intelok.s: Move 2 PIC tests to ...
* gas/i386/intelpic.s: Here.
* gas/i386/intelok.d: Updated.
* gas/i386/intelpic.d: Likewise.
2009-10-08 12:44:57 +00:00
H.J. Lu
b9ed7c0818
2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/10744
* ld-scripts/phdrs3.exp: Run phdrs3a.
* ld-scripts/phdrs3a.d: New.
* ld-scripts/phdrs3a.t: Likewise.
2009-10-08 02:38:26 +00:00
Alan Modra
09a1697895
PR ld/10744
...
* ld-scripts/phdrs3.d: Update.
2009-10-08 01:11:56 +00:00
Alan Modra
4100cea361
PR ld/10744
...
* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
first PT_LOAD header.
* ld.texinfo: Update.
2009-10-08 01:00:27 +00:00
gdbadmin
092004b486
*** empty log message ***
2009-10-08 00:00:03 +00:00
Alan Modra
66f5e5e57e
daily update
2009-10-07 22:59:59 +00:00
H.J. Lu
5ef5585686
2009-10-07 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/10704
* gas/i386/intelok.s: Add 2 new tests.
* gas/i386/intelok.d: Updated.
2009-10-07 20:02:05 +00:00
Jan Kratochvil
c628eeccab
gdb/testsuite/
...
* gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2009-10-07 19:52:28 +00:00
Jan Kratochvil
fc5abaaec1
gdb/
...
* i386-nat.c (i386_stopped_by_hwbp): Remove.
2009-10-07 19:35:06 +00:00
H.J. Lu
dfc8b03106
Checked in the missing testcases.
2009-10-07 18:33:20 +00:00
H.J. Lu
f86eefa109
Add the missing entry.
2009-10-07 18:31:50 +00:00
Joel Brobecker
abc7453d9c
* NEWS: Update following the GDB 7.0 release.
2009-10-07 18:27:22 +00:00
Joel Brobecker
38af1bfe5d
* gdb.base/watchpoints.c: Add copyright header. Reformat one
...
of the comments.
2009-10-07 18:17:32 +00:00
Ian Lance Taylor
fd3c5f0b49
* arm.cc (Arm_relocate_functions::extract_arm_movw_movt_addend):
...
New function.
(Arm_relocate_functions::insert_val_arm_movw_movt): New function.
(Arm_relocate_functions::extract_thumb_movw_movt_addend): New
function.
(Arm_relocate_functions::insert_val_thumb_movw_movt): New
function.
(Arm_relocate_functions::movw_abs_nc): New function.
(Arm_relocate_functions::movt_abs): New function.
(Arm_relocate_functions::thm_movw_abs_nc): New function.
(Arm_relocate_functions::thm_movt_abs): New function.
(Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS.
(Scan::global): Likewise.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
2009-10-07 15:41:50 +00:00
Michael Eager
ef29941507
* opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
...
eliminate local extern decls.
* opcodes/microblaze-dis.h: New.
2009-10-07 15:40:17 +00:00
Ian Lance Taylor
7f5309a5cc
* arm.cc (Arm_relocate_functions::got_prel) New function.
...
(Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
(Relocate::relocate): Likewise.
(Relocatable_size_for_reloc::get_size_for_reloc): Likewise.
2009-10-07 15:30:40 +00:00
Nathan Sidwell
d31060819e
* config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
...
versions slightly more than nothing.
2009-10-07 14:00:06 +00:00
Nathan Sidwell
5a5829dd43
* doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
2009-10-07 13:46:55 +00:00
Nathan Sidwell
5c1a3f0fa7
ld/
...
* ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
segments do not appear after a different loadable segment.
* ld.texinfo (PHDRS): Document order of processing segments.
Document where PHDRS and FILEHDR may appear.
ld/testsuite/
* ld-scripts/phdrs3.d: New.
* ld-scripts/phdrs3.t: New.
* ld-scripts/phdrs3.exp: New.
2009-10-07 07:25:36 +00:00
Ian Lance Taylor
700d40ca16
Sync with gcc repository.
2009-10-07 05:57:49 +00:00
Alan Modra
cd42ff9c60
PR gas/2117
...
* config/tc-ia64.c (parse_operand): Use expression rather than
expression_and_evalute.
(parse_operand_and_eval): New function. Replace all uses of
parse_operand outside of parse_operands with this function.
(parse_operans_maybe_eval): New function. Replace uses of
parse_operand in parse_operands, except for the dummy, with
this function.
2009-10-07 05:13:53 +00:00
DJ Delorie
59b1757596
merge from gcc
2009-10-07 02:57:27 +00:00
gdbadmin
8e68303598
*** empty log message ***
2009-10-07 00:00:03 +00:00
Pierre Muller
905e0470f4
ARI fix: OP eol rule.
...
* doublest.c (floatformat_from_length): Avoid operator at end of line.
* dwarf2-frame.c (dwarf2_build_frame_info): Idem.
* dwarf2read.c (read_array_order, dwarf_decode_macros): Idem.
* eval.c (evaluate_subexp_standard): Idem.
* event-loop.c (create_timer, handle_timer_event): Idem.
* expprint.c (print_subexp_standard): Idem.
* f-exp.y (variable): Idem.
* f-typeprint.c (f_print_type): Idem.
2009-10-06 23:27:05 +00:00
Ian Lance Taylor
364c7fa5c9
* options.h (class General_options): Define
...
split_stack_adjust_size parameter.
* object.h (class Object): Add uses_split_stack_ and
has_no_split_stack_ fields. Add uses_split_stack and
has_no_split_stack accessor functions. Declare
handle_split_stack_section.
(class Reloc_symbol_changes): Define.
(class Sized_relobj): Define Function_offsets. Declare
split_stack_adjust, split_stack_adjust_reltype, and
find_functions.
* object.cc (Object::handle_split_stack_section): New function.
(Sized_relobj::do_layout): Call handle_split_stack_section.
* dynobj.cc (Sized_dynobj::do_layout): Call
handle_split_stack_section.
* reloc.cc (Sized_relobj::relocate_sections): Call
split_stack_adjust for executable sections in split_stack
objects. Pass reloc_map to relocate_section.
(Sized_relobj::split_stack_adjust): New function.
(Sized_relobj::split_stack_adjust_reltype): New function.
(Sized_relobj::find_functions): New function.
* target-reloc.h: Include "object.h".
(relocate_section): Add reloc_symbol_changes parameter. Change
all callers.
* target.h (class Target): Add calls_non_split method. Declare
do_calls_non_split virtual method. Declare match_view and
set_view_to_nop.
* target.cc: Include "elfcpp.h".
(Target::do_calls_non_split): New function.
(Target::match_view): New function.
(Target::set_view_to_nop): New function.
* gold.cc (queue_middle_tasks): Give an error if mixing
split-stack and non-split-stack objects with -r.
* i386.cc (Target_i386::relocate_section): Add
reloc_symbol_changes parameter.
(Target_i386::do_calls_non_split): New function.
* x86_64.cc (Target_x86_64::relocate_section): Add
reloc_symbol_changes parameter.
(Target_x86_64::do_calls_non_split): New function.
* arm.cc (Target_arm::relocate_section): Add reloc_symbol_changes
parameter.
* powerpc.cc (Target_powerpc::relocate_section): Add
reloc_symbol_changes parameter.
* sparc.cc (Target_sparc::relocate_section): Add
reloc_symbol_changes parameter.
* configure.ac: Call AM_CONDITIONAL for the default target.
* configure: Rebuild.
* testsuite/Makefile.am (TEST_AS): New variable.
(check_SCRIPTS): Add split_i386.sh and split_x86_64.sh.
(check_DATA): Add split_i386 and split_x86_64 files.
(SPLIT_DEFSYMS): Define.
(split_i386_[1234n].o): New targets.
(split_i386_[124]): New targets.
(split_i386_[1234r].stdout): New targets.
(split_x86_64_[1234n].o): New targets.
(split_x86_64_[124]): New targets.
(split_x86_64_[1234r].stdout): New targets.
(MOSTLYCLEANFILES): Add new executables.
* testsuite/split_i386.sh: New file.
* testsuite/split_x86_64.sh: New file.
* testsuite/split_i386_1.s: New file.
* testsuite/split_i386_2.s: New file.
* testsuite/split_i386_3.s: New file.
* testsuite/split_i386_4.s: New file.
* testsuite/split_i386_n.s: New file.
* testsuite/split_x86_64_1.s: New file.
* testsuite/split_x86_64_2.s: New file.
* testsuite/split_x86_64_3.s: New file.
* testsuite/split_x86_64_4.s: New file.
* testsuite/split_x86_64_n.s: New file.
* testsuite/testfile.cc (Target_test): Update relocation_section
function.
* testsuite/Makefile.in: Rebuild.
2009-10-06 22:58:27 +00:00
Pierre Muller
5aafa1cc49
ARI fix: OP eol rule.
...
* blockframe.c (find_pc_partial_function): Avoid operator at end of
line.
* buildsym.c (find_symbol_in_list): Idem.
(start_subfile, patch_subfile_names): Idem.
* c-exp.y (variable, yylex): Idem.
* c-typeprint.c (c_print_type, c_type_print_base): Idem.
* c-valprint.c (c_val_print): Idem.
* coffread.c (patch_opaque_types, process_coff_symbol): Idem.
* corelow.c (core_open): Idem.
* cris-tdep.c (move_reg_to_mem_movem_op): Idem.
* cli/cli-decode.c (help_cmd_list, find_command_name_length): Idem.
2009-10-06 22:47:20 +00:00
Ian Lance Taylor
d6f22b9890
Tweak last patch.
2009-10-06 21:44:11 +00:00
Ian Lance Taylor
e8a9fcdace
* i386.cc (class Target_i386::Relocate): Add ldo_addrs_ field.
...
(Target_i386::Relocate::relocate_tls): Call fix_up_ldo before
changing local_dynamic_type_ from LOCAL_DYNAMIC_NONE. When
handling R_386_TLS_LDO_32, if local_dynamic_type_ is NONE, push
the address on ldo_addrs_.
(Target_i386::Relocate::fix_up_ldo): New function.
2009-10-06 21:36:00 +00:00
Pierre Muller
f8bf576366
ARI fix: OP eol rule.
...
* ada-exp.y (block_lookup): Avoid operator at end of line.
* aix-thread.c (pd_enable): Idem.
* alpha-tdep.c (alpha_next_pc): Idem.
* arm-tdep.c (arm_skip_prologue, arm_scan_prologue): Idem.
(condition_true, coff_sym_is_thumb): Idem.
2009-10-06 21:27:59 +00:00
Ian Lance Taylor
e99daf92c2
* plugin.cc (add_input_library): New.
...
(Plugin::load): Add add_input_library to tv.
(Plugin_manager::add_input_file): Add the is_lib argument.
(add_input_file): Update call to Plugin_manager::add_input_file.
(add_input_library): New.
* plugin.h (Plugin_manager::add_input_file): Add the is_lib argument.
2009-10-06 20:15:09 +00:00
Ian Lance Taylor
8341e15b34
Merge from gcc repository.
2009-10-06 20:14:06 +00:00
H.J. Lu
8654b68afa
2009-10-06 H.J. Lu <hongjiu.lu@intel.com>
...
* bfd-in2.h: Regenerated.
2009-10-06 19:41:13 +00:00
Michael Eager
08be9d7117
* info (Contributors): Add self for Xilinx MicroBlaze.
...
(Embedded Processors): Add MicroBlaze.
(MicroBlaze): New. Describe Xilinx MicroBlaze
2009-10-06 18:02:36 +00:00
gdbadmin
0969f4e9e5
GDB 7.0 released.
2009-10-06 17:40:34 +00:00
Joel Brobecker
37e5cb2bc7
Minor reformatting of the last entry.
2009-10-06 16:04:05 +00:00
Nick Clifton
245caaea22
Updated Finnish translation
2009-10-06 15:44:40 +00:00
Pierre Muller
67e5d36c36
* ARI fix: "%p" rule.
...
target.c (debug_to_thread_architecture): Replace %p by %s using
host_address_to_string function.
2009-10-06 15:32:18 +00:00
Michael Eager
419c2fda00
* microblaze/interp.c: Add include microblaze-dis.h.
2009-10-06 15:19:52 +00:00
Pierre Muller
2b0adecd0d
* gdb.base/annota1.exp: Remove obsolete match_max increase.
...
* gdb.base/annota3.exp: Idem.
* gdb.base/maint.exp: Idem.
2009-10-06 15:12:06 +00:00