gdbadmin
a3bb354159
*** empty log message ***
2008-03-21 00:00:03 +00:00
Alan Modra
00659ea749
daily update
2008-03-20 23:00:06 +00:00
Richard Sandiford
ccb4c9519b
binutils/
...
* readelf.c (print_mips_got_entry): New function.
(process_mips_specific): Print GOT information.
ld/testsuite/
* ld-mips-elf/got-dump-1.d, ld-mips-elf/got-dump-1.s,
ld-mips-elf/got-dump-1.ld, ld-mips-elf/got-dump-2.d,
ld-mips-elf/got-dump-2.s, ld-mips-elf/got-dump-2.ld: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
2008-03-20 10:53:11 +00:00
Richard Sandiford
51e38d6878
bfd/
...
* elfxx-mips.c (MIPS_ELF_GNU_GOT1_MASK): New macro.
(_bfd_mips_elf_finish_dynamic_sections): Use it instead of 0x80000000.
ld/testsuite/
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect bit 63 rather than
bit 31 of the second GOT entry to be set.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
2008-03-20 10:52:14 +00:00
Alan Modra
c65be8d78a
bfd/
...
* elf32-spu.c (spu_elf_create_sections): Remove output_bfd parameter.
(spu_elf_find_overlays, spu_elf_size_stubs): Likewise
(process_stubs, discover_functions, build_call_tree): Likewise.
(spu_elf_stack_analysis): Likewise.
(spu_elf_check_vma): Likewise. Move.
(struct call_info): Make "is_tail" a bitfield.
(insert_callee): Clear fun->start and set fun->is_func if we find
a non-tail call.
* elf32-spu.h (spu_elf_create_sections): Update prototype.
(spu_elf_find_overlays, spu_elf_size_stubs, spu_elf_check_vma): Ditto.
ld/
* emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
2008-03-20 05:35:10 +00:00
Ian Lance Taylor
eb42429a93
From Craig Silverstein: implement -z defs.
2008-03-20 05:22:37 +00:00
gdbadmin
4a72605d84
*** empty log message ***
2008-03-20 00:00:03 +00:00
Alan Modra
448acd7ae0
daily update
2008-03-19 23:00:05 +00:00
Ian Lance Taylor
96a2b4e4bf
Make sure the start and size of the TLS segment are aligned.
2008-03-19 21:41:38 +00:00
Pedro Alves
49a834f99f
* inflow.c (terminal_ours_1): Guard access to
...
inferior_process_group with #ifdef PROCESS_GROUP_TYPE.
2008-03-19 14:54:05 +00:00
Andreas Krebbel
5746fb46c8
2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
...
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z10 added.
(s390_cond_extensions): Reduced extensions to the compare related.
(main): z10 cpu type option added.
(expandConditionalJump): Renamed to ...
(insertExpandedMnemonic): ... this.
* opcodes/s390-opc.c: Re-group the operand format makros.
(INSTR_RIE_RRPU, INSTR_RIE_RRP0, INSTR_RIE_RUPI,
INSTR_RIE_R0PI, INSTR_RIE_RUPU, INSTR_RIE_R0PU, INSTR_RIE_R0IU,
INSTR_RIE_R0I0, INSTR_RIE_R0UU, INSTR_RIE_R0U0,
INSTR_RIE_RRUUU, INSTR_RIS_RURDI, INSTR_RIS_R0RDI, INSTR_RIS_RURDU,
INSTR_RIS_R0RDU, INSTR_RRF_U0RR, INSTR_RRF_00RR, INSTR_RRS_RRRDU,
INSTR_RRS_RRRD0, INSTR_RXY_URRD, INSTR_SIY_IRD, INSTR_SIL_RDI,
INSTR_SIL_RDU): New instruction formats added.
(MASK_RIE_RRPU, MASK_RIE_RRP0, MASK_RIE_RUPI, MASK_RIE_R0PI,
MASK_RIE_RUPU, MASK_RIE_R0PU, MASK_RIE_R0IU, MASK_RIE_R0I0,
MASK_RIE_R0UU, MASK_RIE_R0U0, MASK_RIE_RRUUU, MASK_RIS_RURDI,
MASK_RIS_R0RDI, MASK_RIS_RURDU, MASK_RIS_R0RDU, MASK_RRF_U0RR,
MASK_RRF_00RR, MASK_RRS_RRRDU, MASK_RRS_RRRD0, MASK_RXY_URRD,
MASK_SIY_IRD, MASK_SIL_RDI, MASK_SIL_RDU): New instruction format
masks added.
(s390_opformats): New formats added "ris", "rrs", "sil".
* opcodes/s390-opc.txt: Add the conditional jumps with the
extensions removed from automatic expansion in s390-mkopc.c manually.
(asi - trtre): Add new System z10 EC instructions.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z10 added.
2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
* config/tc-s390.c (md_parse_option): z10 option added.
2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/zarch-z10.d: New file.
* gas/s390/zarch-z10.s: New file.
* gas/s390/s390.exp: Run the z10 testcases.
2008-03-19 10:29:18 +00:00
gdbadmin
411123fd86
*** empty log message ***
2008-03-19 00:00:03 +00:00
Alan Modra
c17284e90a
daily update
2008-03-18 23:00:05 +00:00
Ulrich Weigand
ae0d2f24fd
2008-03-18 Ulrich Weigand <uweigand@de.ibm.com>
...
Jim Blandy <jimb@codesourcery.com>
Daniel Jacobowitz <drow@false.org>
* dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member.
(dwarf2_read_address): Update prototype.
* dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter.
(signed_address_type): Likewise.
(dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE.
(execute_stack_op): Update calls to unsigned_address_type,
signed_address_type and dwarf2_read_address. Fix implementation
of DW_OP_deref_size.
* dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype.
(dwarf2_per_cu_addr_size): Likewise.
(struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU.
(struct dwarf2_loclist_baton): Likewise.
* dwarf2loc.c (find_location_expression): Update calls to
dwarf2_read_address. Use dwarf2_per_cu_objfile and
dwarf2_per_cu_addr_size to retrieve PER_CU parameters.
(locexpr_describe_location): Likewise.
(dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter.
Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu).
(dwarf2_loc_desc_needs_frame): Add PER_CU parameter. Set ctx->addr_size
to dwarf2_per_cu_addr_size (per_cu).
(locexpr_read_variable): Update dwarf2_evaluate_loc_desc call.
(loclist_read_variable): Likewise.
(locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call.
* dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu
instead of baton->objfile.
(dwarf2_per_cu_obfile): New function.
(dwarf2_per_cu_addr_size): Likewise.
* dwarf2-frame.c (struct comp_unit): Move higher.
(struct dwarf2_cie): Add UNIT and ADDR_SIZE members.
(execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size.
(execute_cfa_program): Add FDE parameter. Replace EH_FRAME_P
parameter by using fde->eh_frame_p. Use read_encoded_value
to implement DW_CFA_set_loc.
(struct dwarf2_frame_cache): Add ADDR_SIZE member.
(dwarf2_frame_cache): Set cache->addr_size. Update calls to
execute_stack_op and execute_cfa_program.
(dwarf2_frame_prev_register): Update calls to execute_stack_op.
(size_of_encoded_value): Remove.
(read_encoded_value): Add PTR_LEN and FUNC_BASE parameters.
Remove call to size_of_encoded_value. Implement DW_EH_PE_funcrel.
(add_cie): Set cie->unit backlink.
(decode_frame_entry_1): Set cie->addr_size. Update calls to
read_encoded_value.
(dwarf2_build_frame_info): Allocate UNIT on objfile obstack.
2008-03-18 19:40:47 +00:00
Nick Clifton
188e2ff3a5
* gas/macros/test1.s: Rename symbols to avoid conflicts with
...
possible register names.
* gas/macros/test1.d: Update expected disassembly.
2008-03-18 16:56:00 +00:00
Ralf Wildenhues
41711e010b
Fix ChangeLog date.
2008-03-18 06:20:40 +00:00
gdbadmin
d051dbcbc8
*** empty log message ***
2008-03-18 00:00:04 +00:00
Alan Modra
0d3ad27f3b
daily update
2008-03-17 23:00:05 +00:00
Ralf Wildenhues
58c85be758
* configure.ac: m4_include config/proginstall.m4.
...
* configure: Regenerate.
config/
* proginstall.m4: New file, with fixed AC_PROG_INSTALL.
bfd/
* aclocal.m4: Regenerate.
* configure: Likewise.
* Makefile.in: Likewise.
bfd/doc/
* Makefile.in: Regenerate.
intl/
* aclocal.m4: Regenerate.
* configure: Likewise.
gas/
* aclocal.m4: Regenerate.
* configure: Likewise.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
ld/
* aclocal.m4: Regenerate.
* configure: Likewise.
* Makefile.in: Likewise.
opcodes/
* aclocal.m4: Regenerate.
* configure: Likewise.
* Makefile.in: Likewise.
binutils/
* aclocal.m4: Regenerate.
* configure: Likewise.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.
gprof/
* aclocal.m4: Regenerate.
* configure: Likewise.
* Makefile.in: Likewise.
2008-03-17 22:17:33 +00:00
Markus Deuling
1c8201d1f1
* i386-tdep.c (i386_print_insn): Remove unnecessary call to
...
gdbarch_bfd_arch_info.
2008-03-17 19:32:56 +00:00
Joel Brobecker
46bba1eff5
* aix-thread.c (pdc_read_regs): Minor reformatting.
2008-03-17 19:00:31 +00:00
Richard Sandiford
198e22a0fc
ld/testsuite/
...
* ld-mips-elf/eh-frame1-n32.d: Expect a warning about .eh_frame_hdr.
Remove duplicate CIEs. Adjust relocation addresses and .eh_frame
offsets accordingly. Do not allow there to be any trailing
R_MIPS_NONE relocations.
* ld-mips-elf/eh-frame1-n64.d: Likewise.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame2-n64.d: Likewise.
2008-03-17 18:52:04 +00:00
Richard Sandiford
08e8dfaf50
gas/testsuite/
...
* gas/mips/elf-rel26.d: Add -32.
* gas/mips/mips16-intermix.d: Likewise.
ld/testsuite/
* ld-mips-elf/mips-elf.exp (o32_as_flags, o32_ld_flags): New variables.
(mips16_call_global_test, mips16_intermix_test): Use them.
2008-03-17 18:45:35 +00:00
Vladimir Prus
0bcd3e2056
* thread.c (print_thread_info): Don't insist
...
on having current thread if there are no
threads at all.
2008-03-17 18:41:29 +00:00
Craig Silverstein
5d96d68f64
Up the version number to 1.3, which was just pushed to devtools.
2008-03-17 17:56:52 +00:00
Pedro Alves
9356cf8d06
* infcmd.c (attach_command_post_wait)
...
(attach_command_continuation): New.
(attach_command): Support background async execution, and async
execution in synchronous mode.
2008-03-17 17:30:29 +00:00
Daniel Jacobowitz
5c3ce3f7ab
* stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
...
* symmisc.c (dump_symtab_1): Likewise.
* wrapper.c (gdb_value_struct_elt): Likewise.
2008-03-17 15:05:42 +00:00
Pedro Alves
fa2c6a57ca
* linux-nat.c (linux_nat_filter_event): Fix comment typo.
2008-03-17 14:54:07 +00:00
Pedro Alves
02f3fc280a
* linux-nat.c (linux_nat_filter_event): New, refactored from
...
linux_nat_wait.
(linux_nat_wait): Call linux_nat_filter_event.
2008-03-17 14:49:06 +00:00
Ulrich Weigand
2f77b315eb
* top.c (execute_command): Fix uninitialized variable error.
2008-03-17 14:06:11 +00:00
gdbadmin
f3439ea8d1
*** empty log message ***
2008-03-17 00:00:36 +00:00
Ian Lance Taylor
d1f003c610
Fix handling of RELA relative relocs against local symbols in merge
...
sections.
2008-03-16 23:51:19 +00:00
Alan Modra
da6b876ee6
PR 5946
...
* config/tc-hppa.c (is_same_frag): Delete.
2008-03-16 23:16:03 +00:00
Alan Modra
23fe836302
daily update
2008-03-16 23:00:05 +00:00
H.J. Lu
41bed6dd8a
bfd/
...
2008-03-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5789
PR ld/5943
* elf32-i386.c (elf_i386_relocate_section): Issue an error
for R_386_GOTOFF relocaton against undefined hidden/internal
symbols when building a shared object.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Issue an
error for R_X86_64_PC8/R_X86_64_PC16/R_X86_64_PC32
relocaton against undefined hidden/internal symbols when
building a shared object.
(elf64_x86_64_finish_dynamic_symbol): Return FALSE when symbol
is referenced locally, but isn't defined in a regular file.
ld/testsuite/
2008-03-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5789
PR ld/5943
* ld-i386/hidden1.d: New.
* ld-i386/hidden1.s: Likewise.
* ld-i386/hidden2.d: Likewise.
* ld-i386/hidden2.s: Likewise.
* ld-i386/hidden3.d: Likewise.
* ld-i386/hidden4.s: Likewise.
* ld-i386/protected1.d: Likewise.
* ld-i386/protected1.s: Likewise.
* ld-i386/protected2.d: Likewise.
* ld-i386/protected2.s: Likewise.
* ld-i386/protected3.d: Likewise.
* ld-i386/protected3.s: Likewise.
* ld-x86-64/hidden1.d: Likewise.
* ld-x86-64/hidden1.s: Likewise.
* ld-x86-64/hidden2.d: Likewise.
* ld-x86-64/hidden2.s: Likewise.
* ld-x86-64/hidden3.d: Likewise.
* ld-x86-64/hidden3.s: Likewise.
* ld-x86-64/protected1.d: Likewise.
* ld-x86-64/protected1.s: Likewise.
* ld-x86-64/protected2.d: Likewise.
* ld-x86-64/protected2.s: Likewise.
* ld-x86-64/protected3.d: Likewise.
* ld-x86-64/protected3.s: Likewise.
* ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1,
protected2 and protected3.
* ld-x86-64/x86-64.exp: Likewise.
2008-03-16 22:26:23 +00:00
Nick Hudson
f01be29bbc
* Makefile.in (amd64nbsd-nat.o): New dependency.
...
* amd64nbsd-nat.c: Include "nbsd-nat.h".
(_initialize_amd64nbsd_nat): Update target vector to use
nbsd_pid_to_exec_file.
* config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
2008-03-16 08:50:43 +00:00
Brian Dessent
c59aaa8345
* rcparse.y (resid): Allow control text to span multiple lines.
2008-03-16 07:26:56 +00:00
H.J. Lu
6ad2759d49
2008-03-15 H.J. Lu <hongjiu.lu@intel.com>
...
* bfd-in.h (BFD_NO_FLAGS, HAS_RELOC, EXEC_P, HAS_LINENO,
HAS_DEBUG, HAS_SYMS, HAS_LOCALS, DYNAMIC, WP_TEXT, D_PAGED,
BFD_IS_RELAXABLE, BFD_TRADITIONAL_FORMAT, BFD_IN_MEMORY,
HAS_LOAD_PAGE, BFD_LINKER_CREATED): Moved to ...
* bfd.c: Here.
* bfd.c (bfd): Change cacheable, target_defaulted, opened_once,
mtime_set, no_export, output_has_begun and has_armap to bit
field.
* bfd-in2.h: Regenerated.
2008-03-16 06:53:48 +00:00
Ralf Wildenhues
781240518a
2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
...
Backport from upstream Libtool:
2007-10-12 Eric Blake <ebb9@byu.net>
Deal with Autoconf 2.62's semantic change in m4_append.
* ltsugar.m4 (lt_append): Replace broken versions of
m4_append.
(lt_if_append_uniq): Don't require separator to be overquoted,
and avoid broken m4_append.
(lt_dict_add): Fix typo.
* libtool.m4 (_LT_DECL): Don't overquote separator.
2008-03-16 06:49:28 +00:00
gdbadmin
fcc5ae4c92
*** empty log message ***
2008-03-16 00:00:32 +00:00
Alan Modra
eeeebe08a8
daily update
2008-03-15 23:00:05 +00:00
Vladimir Prus
6cf327044d
Remove ignoring leading exec events code.
...
* fork-child.c (startup_inferior): Do not set
inferior_ignoring_leading_exec_events.
* inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove.
(inf_child_target): Do not set to_reported_exec_events_per_exec_call.
* infrun.c (inferior_ignoring_leading_exec_events): Remove.
(handle_inferior_event): Remove code for ignoring leading exec
events.
* target.c (update_current_target): Do not inherit, or default,
to_reported_exec_events_per_exec_call.
(debug_to_reported_exec_events_per_exec_call): Remove.
(setup_target_debug): Do not set to_reported_exec_events_per_exec_call.
* target.h (target_reported_exec_events_per_exec_call): Remove.
(struct target): Remove the to_reported_exec_events_per_exec_call
field.
2008-03-15 14:55:21 +00:00
Vladimir Prus
8e8901c5c2
Implement -thread-info.
...
* gdbthread.h (print_thread_info): Declare.
* thread.c (print_thread_info): New, extracted
from info_threads_command and adjusted to
work for CLI and MI.
(info_threads_command): Use print_thread_info.
* Makefile.in: Update dependencies.
* mi/mi-cmds.c (mi_cmds): Specify a handler
for -thread-info.
* mi/mi-cmds.h (mi_cmd_thread_info): Declare.
* mi/mi-main.c (mi_cmd_thread_info): New.
(mi_cmd_list_features): Include 'thread-info'.
2008-03-15 13:53:25 +00:00
Kevin Buettner
7d1e6fb863
* mips-tdep.c (mips32_scan_prologue): Use the ABI register size
...
to decide whether to match instruction patterns using "sw" and "sd".
2008-03-15 00:00:48 +00:00
gdbadmin
e073c5fec6
*** empty log message ***
2008-03-15 00:00:33 +00:00
Pedro Alves
89113898fa
* infcmd.c (jump_command): Postpone disabling stdin until after
...
the possible query.
2008-03-14 23:24:53 +00:00
Alan Modra
8c64e03495
daily update
2008-03-14 23:00:05 +00:00
Pedro Alves
64a0ac840e
* inflow.c (gdb_getpgrp): New.
...
(gdb_has_a_terminal): Use get_getpgrp.
(terminal_ours_1): If attach_flag is set, don't refetch
inferior_process_group.
2008-03-14 22:58:58 +00:00
Pedro Alves
1fddbabb01
* features/library-list.dtd: Allow "section" elements as children
...
of "library". Add "section" element and describe its attributes.
* solib-target.c (struct lm_info): Add section_bases member.
(library_list_start_segment): Error out if seen a section element.
(library_list_start_section): New.
(library_list_end_library): New.
(solib_target_free_library_list): Free section_bases.
(section_attributes): New.
(library_children): Make "segment" optional. Add "section" child.
(library_list_children): Register library_list_end_library.
(solib_target_relocate_section_addresses): Handle section bases.
* NEWS: Mention new qXfer:libraries:read section offsets support.
doc/
* gdb.texinfo (Library List Format): Update to mention the
possibility to pass section addresses instead of segment
addresses.
2008-03-14 22:30:07 +00:00
Nick Hudson
29035cbe96
* configure.ac: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
...
* configure: Regenerate.
2008-03-14 20:26:49 +00:00