H.J. Lu [Wed, 28 Sep 2005 14:53:24 +0000 (14:53 +0000)]
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1321
* elf-bfd.h (_bfd_elf_setup_group_pointers): Renamed to ...
(_bfd_elf_setup_sections): This.
* elf.c: Likewise.
* elfcode.h (elf_object_p): Likewise.
* elf.c (_bfd_elf_setup_sections): Process SHF_LINK_ORDER.
(_bfd_elf_copy_private_section_data): Likewise.
H.J. Lu [Wed, 28 Sep 2005 14:52:02 +0000 (14:52 +0000)]
2005-09-28 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_fixup_link_order): Report locations for mixed
ordered and unordered input sections.
Jan Beulich [Wed, 28 Sep 2005 14:51:02 +0000 (14:51 +0000)]
gas/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
parsing the input.
(dot_cfi_startproc): Likewise.
(dot_cfi_endproc): Likewise. Also check no extra input was given.
(dot_cfi_escape): Likewise.
Jan Beulich [Wed, 28 Sep 2005 14:44:25 +0000 (14:44 +0000)]
gas/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
(TC_CONS_FIX_NEW): Define unconditionally.
(x86_pe_cons_fix_new): Remove.
* config/tc-i386.c (signed_cons): New.
(md_pseudo_table): Add slong.
(x86_cons_fix_new): Declare unconditionally.
(x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
(tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
conversion.
gas/testsuite/
2005-09-28 Jan Beulich <jbeulich@novell.com>
* gas/i386/reloc64.s: Also test .slong.
* gas/i386/reloc64.l: Adjust.
* gas/i386/reloc64.d: Adjust.
Alan Modra [Wed, 28 Sep 2005 12:31:44 +0000 (12:31 +0000)]
* app.c (do_scrub_chars <LEX_IS_SYMBOL_COMPONENT>): Check for full
buffer after copying string.
Alexandre Oliva [Wed, 28 Sep 2005 05:00:07 +0000 (05:00 +0000)]
s/waek/weak/ in 2005-05-05's entry.
Nick Roberts [Wed, 28 Sep 2005 02:55:41 +0000 (02:55 +0000)]
(TAGS): Put DEPFILES back and add as a dependency.
Nick Roberts [Wed, 28 Sep 2005 02:54:45 +0000 (02:54 +0000)]
*** empty log message ***
H.J. Lu [Wed, 28 Sep 2005 00:34:21 +0000 (00:34 +0000)]
2005-09-27 H.J. Lu <hongjiu.lu@intel.com>
* ld.texinfo (ALIGN): Document it as forcing output section
alignment.
* ldgram.y (ALIGN): Support it for forcing output section
alignment.
Alan Modra [Wed, 28 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 28 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Bob Rossi [Tue, 27 Sep 2005 22:39:04 +0000 (22:39 +0000)]
2005-09-27 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
from test. Escape the | in mi_gdb_test call.
* gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
expected regex's in mi_gdb_test calls.
* lib/mi-support.exp: Remove arbitrary .* from tests.
(mi_gdb_test): Add string_regex variable. Add anchor to main -re.
Fully anchor GDB/MI expected results in mi_gdb_test.
* lib/gdb.exp (string_to_regexp): Escape the ] character.
* gdb.base/sizeof.exp: Remove escape character. Correct test.
Mark Mitchell [Tue, 27 Sep 2005 15:21:13 +0000 (15:21 +0000)]
* argv.c (expandargv): Do not use xmalloc_failed.
Paul Brook [Tue, 27 Sep 2005 13:23:38 +0000 (13:23 +0000)]
2005-09-27 Paul Brook <paul@codesourcery.com>
* config/arm.c (arm_cpus): Add more cpu names.
* doc/c-arm.texi: Document them.
Alan Modra [Tue, 27 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 27 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Joel Brobecker [Mon, 26 Sep 2005 22:31:16 +0000 (22:31 +0000)]
Remove change description for a file that is actually part of the testsuite/
subdirectory. The description is included in testsuite/ChangeLog.
Joel Brobecker [Mon, 26 Sep 2005 22:09:41 +0000 (22:09 +0000)]
Fix name of directory in one ChangeLog entry.
Nick Roberts [Mon, 26 Sep 2005 21:45:37 +0000 (21:45 +0000)]
(HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
(ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
symm-tdep.c and symm-nat.c.
(TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
(DEPFILES): Remove CONFIG_OBS and include it explicitly where
needed.
Nick Roberts [Mon, 26 Sep 2005 21:40:33 +0000 (21:40 +0000)]
*** empty log message ***
Mark Mitchell [Mon, 26 Sep 2005 21:09:04 +0000 (21:09 +0000)]
* BRANCHES: Mention binutils-csl-gxxpro-3_4-branch.
Mark Mitchell [Mon, 26 Sep 2005 21:02:59 +0000 (21:02 +0000)]
* libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.
Jan Beulich [Mon, 26 Sep 2005 07:04:23 +0000 (07:04 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* MAINTAINERS (Write After Approval): Add myself.
Jan Beulich [Mon, 26 Sep 2005 06:59:39 +0000 (06:59 +0000)]
gdb/
2005-09-26 Jan Beulich <jbeulich@novell.com>
* amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
AMD64_MXCSR_REGNUM): New.
* amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
mxcsr, fp control and status words.
* i386-tdep.c (): Add selector regs, mxcsr, fp control and status
words.
Paul Brook [Mon, 26 Sep 2005 02:17:34 +0000 (02:17 +0000)]
2005-09-26 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_type_align): New function.
(arm_push_dummy_call): Use it. Ensure proper argument alignment.
(arm_extract_struct_value_address): Remove.
(arm_use_struct_convention): Rename...
(arm_return_in_memory): ... To this. Return nonzero for all small
aggregates under the EABI.
(arm_return_value): New function.
(arm_gdbarch_init): Default for VFP float model for EABI binaries.
Use set_gdbarch_return_value instead of obsolete functions.
* testsuite/long_long.exp: Exclude eabi targets from arm FPA float
format test.
Alan Modra [Mon, 26 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 26 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Dave Anglin [Sun, 25 Sep 2005 02:33:54 +0000 (02:33 +0000)]
* hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.
gdbadmin [Sun, 25 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 25 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 24 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 24 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
Tom Tromey [Fri, 23 Sep 2005 17:28:31 +0000 (17:28 +0000)]
* enable.m4: New file.
* tls.m4: New file.
Alan Modra [Fri, 23 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 23 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jim Wilson [Thu, 22 Sep 2005 19:50:27 +0000 (19:50 +0000)]
Fix addr2line -i problem; reports incorrect function nesting for inline funcs.
* dwarf2.c (struct funcinfo): Delete nesting_level field.
(lookup_address_in_function_table): Delete code to set funcinfo
caller_func field. Delete local curr_func.
(scan_unit_for_symbols): New locals nested_funcs, nested_funcs_size.
Delete code setting funcinfo nesting_level field. Add code to set
funcinfo caller_func field.
Alan Modra [Thu, 22 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 22 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Wed, 21 Sep 2005 20:45:46 +0000 (20:45 +0000)]
* mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
*' for second argument instead of 'const char *'.
Alan Modra [Wed, 21 Sep 2005 06:55:49 +0000 (06:55 +0000)]
* gas/lns/lns.exp (lns-common-1): Don't run on targets without
a bare nop insn.
Alan Modra [Wed, 21 Sep 2005 00:12:19 +0000 (00:12 +0000)]
* read.c (pseudo_set): Don't set undefined symbols to expr_section.
Alan Modra [Wed, 21 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 21 Sep 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Paul Gilliam [Tue, 20 Sep 2005 23:40:51 +0000 (23:40 +0000)]
2005-09-20 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
after a 'finish' command.
Richard Henderson [Tue, 20 Sep 2005 21:00:15 +0000 (21:00 +0000)]
* dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
Richard Henderson [Tue, 20 Sep 2005 18:24:48 +0000 (18:24 +0000)]
* dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
with label.
(dwarf2_loc_mark_labels): New.
(dwarf2_gen_line_info_1): Split out of ...
(dwarf2_gen_line_info): ... here. Create the temp symbol here.
(dwarf2_emit_label): New.
(dwarf2_directive_loc_mark_labels): New.
(out_set_addr): Take a symbol instead of frag+ofs.
(relax_inc_line_addr): Likewise.
(emit_inc_line_addr): Assert delta non-negative.
(process_entries): Remove dead code. Update to work with temp
symbols instead of frag+ofs.
* dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
(dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
* config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
* config/obj-elf.h (obj_frob_label): New.
* config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
* config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
Similarly in the respective tc_frob_label implementation functions.
* config/tc-i386.c (md_pseudo_table): Move file and loc to
non-elf section; add loc_mark_labels.
* config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
(ia64_flush_insns): Check for marked labels; emit line entry if so.
(emit_one_bundle): Similarly.
(ia64_frob_label): Record marked labels.
* config/tc-m68hc11.h (tc_frob_label): Remove.
* config/tc-ms1.c (md_pseudo_table): Remove file and loc.
* config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
* config/tc-sh64.h (tc_frob_label): Likewise.
* doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
Jim Wilson [Tue, 20 Sep 2005 18:13:32 +0000 (18:13 +0000)]
Add mangled names to addr2line -i output.
* dwarf2.c (find_abstract_instance_name): Don't early exit when name
set. For DW_AT_name case, only set name if not already set. Handle
DW_AT_MIPS_linkage_name.
Richard Henderson [Tue, 20 Sep 2005 17:58:34 +0000 (17:58 +0000)]
* gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d,
gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d,
gas/cris/rd-dw2-15.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d,
gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d,
gas/mips/mips16-dwarf2-n32.d, gas/mips/mips16-dwarf2.d: Add 0x
prefix in "Advance PC" lines.
Richard Henderson [Tue, 20 Sep 2005 17:55:13 +0000 (17:55 +0000)]
* readelf.c (display_debug_lines): Use unsigned long for address
increments. Use 0x prefix for all hex numbers.
Wu Zhou [Tue, 20 Sep 2005 09:01:14 +0000 (09:01 +0000)]
* bfp-test.c: New file.
* bfp-test.exp: New testcase.
Wu Zhou [Tue, 20 Sep 2005 08:55:55 +0000 (08:55 +0000)]
* c-exp.y (parse-number): Modify the float parsing logic to let it
recognize a suffix.
Wu Zhou [Tue, 20 Sep 2005 06:37:03 +0000 (06:37 +0000)]
* gdb.fortran/subarray.exp: New testcase to test the evaluation
of subarray and substring variable.
* gdb.fortran/subarray.f: New source file for the test of subarray
and substring variable evaluation.
* gdb.fortran/exprs.exp: Add four tests for substring evaluation
of string constant.
Wu Zhou [Tue, 20 Sep 2005 06:31:59 +0000 (06:31 +0000)]
expression.h (enum exp_opcode): Fix a format error of a comment.
Wu Zhou [Tue, 20 Sep 2005 06:25:34 +0000 (06:25 +0000)]
* expression.h (enum exp_opcode): Add a new operator for F90
subrange.
* f-lang.h (enum f90_range_type): New enumeration type to identify
F90 subrange type.
* f-exp.y (yyparse): Add support for parsing F90 subrange and
change substring parsing to subrange parsing.
* parse.c (operator_length_standard): Set the operator length
and args number for OP_F90_RANGE.
* eval.c (evaluate_subexp_standard): Add code to evaluate F90
array section and substring.
(value_f90_subarray): New function to evaluate F90 array section.
(evaluate_subexp_standard): Delete label op_f77_substr and its code
because the logic is implemented by function value_f90_subarray now.
David Edelsohn [Tue, 20 Sep 2005 03:13:02 +0000 (03:13 +0000)]
2005-09-19 David Edelsohn <edelsohn@gnu.org>
* configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.
2005-09-14 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* configure.in: Recognize f95 in the --enable-languages option,
and substitute it for fortran, issuing a warning.
* configure: Regenerate.
Alan Modra [Tue, 20 Sep 2005 03:06:13 +0000 (03:06 +0000)]
* read.c (pseudo_set): Set segment of expression syms to expr_section.
Alan Modra [Tue, 20 Sep 2005 03:00:53 +0000 (03:00 +0000)]
* ldlang.h (lang_output_section_statement_struct): Change type of
"processed" to bfd_boolean.
* ldexp.c (fold_name): Update references to os->processed.
* ldlang.c (lang_output_section_statement_lookup_1): Likewise.
(lang_size_sections_1): Likewise.
(lang_reset_memory_regions): Likewise.
gdbadmin [Tue, 20 Sep 2005 00:00:37 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 20 Sep 2005 00:00:10 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 19 Sep 2005 23:30:05 +0000 (23:30 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Simplify.
Alan Modra [Mon, 19 Sep 2005 23:17:47 +0000 (23:17 +0000)]
PR ld/1353
* ldlang.c (lang_size_sections_1): Process addr_tree earlier,
so that unused output section statements affect dot.
Daniel Jacobowitz [Mon, 19 Sep 2005 18:09:08 +0000 (18:09 +0000)]
* gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
copyright dates.
Paul Gilliam [Mon, 19 Sep 2005 17:38:04 +0000 (17:38 +0000)]
* rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
'info powerpc' command prefix.
* gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
powerpc altivec' test with an almost identical 'info vector' test.
Paul Brook [Mon, 19 Sep 2005 14:21:09 +0000 (14:21 +0000)]
2005-09-19 Paul Brook <paul@codesourcery.com>
* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
available.
* armemu.c: Use them.
* armvirt.c (ARMul_MemoryInit): Use correct type for size.
* configure.ac: Check for stdint.h.
* config.in: Regenerate.
* configure: Regenerate.
Joern Rennecke [Mon, 19 Sep 2005 11:29:30 +0000 (11:29 +0000)]
* interp.c (<sys/mman.h>): Include.
(mcalloc): New function / macro.
(mfree): New macro.
(sim_size): Use mcalloc and mfree.
Alan Modra [Mon, 19 Sep 2005 09:35:26 +0000 (09:35 +0000)]
* elf64-ppc.c (ppc_build_one_stub): Replace assertion that long
branch offset is in range with an error. Print full stub name on
errors.
(ppc_size_one_stub): Print full stub name on errors.
(group_sections): Warn if section size exceeds group size.
(ppc64_elf_size_stubs): Continue relaxing when stub types change.
gdbadmin [Mon, 19 Sep 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 19 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Sun, 18 Sep 2005 03:28:18 +0000 (03:28 +0000)]
* gdb.texinfo (Contributors): Thank Andrew Cagney for releases
6.2 and 6.3.
gdbadmin [Sun, 18 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 18 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Sat, 17 Sep 2005 23:14:37 +0000 (23:14 +0000)]
* acinclude.m4: Correct quoting.
* aclocal.m4: Regenerated.
Suggested by SZOKOVACS Robert <szo@ies.hu>:
* thread-db.c (thread_db_err_str): Handle TD_VERSION.
(thread_db_init): Call thread_db_err_str.
* configure.ac: Check for TD_VERSION.
* config.in, configure: Regenerated.
Alan Modra [Sat, 17 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 17 Sep 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Fri, 16 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 16 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update
DJ Delorie [Thu, 15 Sep 2005 01:04:05 +0000 (01:04 +0000)]
merge from gcc
Alan Modra [Thu, 15 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 15 Sep 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jan Beulich [Wed, 14 Sep 2005 06:33:25 +0000 (06:33 +0000)]
gas/
2005-09-14 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
registers, floating point control and status words, and mxcsr as
well as (for 64-bit code) segment base registers and rflags.
Alan Modra [Wed, 14 Sep 2005 00:00:16 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 14 Sep 2005 00:00:13 +0000 (00:00 +0000)]
*** empty log message ***
Paul Gilliam [Tue, 13 Sep 2005 23:13:50 +0000 (23:13 +0000)]
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
vscr" tests to match output.
Paul Gilliam [Tue, 13 Sep 2005 22:07:05 +0000 (22:07 +0000)]
2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
output.
gdbadmin [Tue, 13 Sep 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 13 Sep 2005 00:00:06 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 12 Sep 2005 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 12 Sep 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Sun, 11 Sep 2005 21:54:59 +0000 (21:54 +0000)]
* config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
(s390_stopped_by_watchpoint, s390_insert_watchpoint,
s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
target_remove_watchpoint): Likewise.
* s390-nat.c: Remove include of <sys/user.h>.
(kernel_u_size): Remove.
(s390_stopped_by_watchpoint): Make static.
(s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
(s390_can_use_hw_breakpoint): New function.
(s390_region_size_ok_for_hw_watchpoint): Likewise.
(_initialize_s390_nat): Add watchpoint methods to target.
Bob Rossi [Sun, 11 Sep 2005 20:24:54 +0000 (20:24 +0000)]
2005-09-11 Bob Rossi <bob@brasko.net>
* lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
* gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
commands that return an MI output command and an asyncronous MI output
command.
* gdb.mi/mi-console.exp: Ditto.
Bob Rossi [Sun, 11 Sep 2005 12:50:45 +0000 (12:50 +0000)]
2005-09-11 Bob Rossi <bob@brasko.net>
* gdb.mi/mi-var-child.c: Include <string.h>.
gdbadmin [Sun, 11 Sep 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 11 Sep 2005 00:00:07 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Sat, 10 Sep 2005 18:11:14 +0000 (18:11 +0000)]
* Makefile.in (ALLDEPFILES): Update.
(alpha-linux-nat.o, sparc-linux-nat.o): New rules.
(amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
(i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
(m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
(sparc64-linux-nat.o): Update dependencies.
* alpha-linux-nat.c, sparc-linux-nat.c: New files.
* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(amd64_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(amd64_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static. Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_amd64_linux_nat): Set it. Call linux_target and
add_target.
* arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(arm_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_arm_linux_nat): Add a prototype. Use linux_target and
add_target.
* hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(hppa_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_hppa_linux_nat): New function.
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(i386_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(i386_linux_resume): Renamed from child_resume and made static.
(i386_linux_child_post_start_inferior): Renamed from
child_post_startup_inferior and made static. Call
super_post_startup_inferior.
(super_post_startup_inferior): New.
(_initialize_i386_linux_nat): New function.
* i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
* ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
(super_xfer_partial): New.
(ia64_linux_xfer_partial): New function. Use it.
(_initialize_ia64_linux_nat): New function.
* ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
target_read_partial and document the problem.
* inf-ptrace.c (inf_ptrace_fetch_register): Use
CANNOT_FETCH_REGISTER. Fix some comments.
(inf_ptrace_store_register): Use CANNOT_STORE_REGISTER. Fix some
comments.
* linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
(linux_ops, super_xfer_partial): New variables.
(linux_child_post_startup_inferior): Make static.
(child_post_startup_inferior): Delete.
(linux_nat_attach, linux_nat_detach, resume_callback)
(linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
(linux_nat_mourn_inferior): Use linux_ops instead of
deprecated_child_ops.
(child_wait): Do not depend on CHILD_WAIT.
(linux_nat_xfer_memory): Remove, replace by ...
(linux_nat_xfer_partial): ... this. Use linux_ops->to_xfer_partial
instead of linux_proc_xfer_memory and child_xfer_memory.
(linux_nat_fetch_registers, linux_nat_store_registers)
(linux_nat_child_post_startup_inferior): New functions.
(init_linux_nat_ops): Use the new functions.
(linux_proc_xfer_memory): Remove, replace by ...
(linux_proc_xfer_partial): ... this. Make static.
(linux_xfer_partial, linux_register_u_offset, linux_target): New
functions.
(_initialize_linux_nat): Do not modify deprecated_child_ops.
* linux-nat.h (linux_proc_xfer_memory): Remove prototype.
(struct mem_attrib, struct target_ops): Remove forward declarations.
(linux_child_post_startup_inferior): Remove prototype.
(linux_target): Add prototype.
* linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
(thread_db_xfer_partial): ... this.
(init_thread_db_ops): Set to_xfer_partial instead of
deprecated_xfer_memory.
* m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m32r_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_m32r_linux_nat): New function.
* m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(m68k_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(old_fetch_inferior_registers, old_store_inferior_registers): Made
static.
(_initialize_m68k_linux_nat): Use linux_target and add_target.
* mips-linux-nat.c (_initialize_mips_linux_nat): New function.
* ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(ppc_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_ppc_linux_nat): New function.
* s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
from fetch_inferior_registers and made static.
(s390_linux_store_inferior_registers): Renamed from
store_inferior_registers and made static.
(_initialize_s390_nat): New function.
* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
linux_target and add_target.
* config/nm-linux.h: Don't include "auxv.h".
(struct target_waitstatus, child_wait, CHILD_WAIT)
(CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
(CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
(CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
(DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
* config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
* config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with sparc-linux-nat.o.
* config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.
* config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
inftarg.o with inf-ptrace.o.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
(LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
* config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
Don't define.
* config/ia64/nm-linux.h: Don't include "target.h".
(NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
* config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.
Daniel Jacobowitz [Sat, 10 Sep 2005 14:17:34 +0000 (14:17 +0000)]
* killed.exp: Correct gdb_expect syntax.
gdbadmin [Sat, 10 Sep 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 10 Sep 2005 00:00:08 +0000 (00:00 +0000)]
daily update
Kevin Buettner [Fri, 9 Sep 2005 18:26:03 +0000 (18:26 +0000)]
* elf32-am33lin.c (bfd.h, sysdep.h, elf-bfd.h, elf/mn10300.h):
Include.
(elf32_am33lin_grok_prstatus, elf32_am33lin_grok_psinfo): New
functions.
(elf_backend_grok_prstatus, elf_backend_grok_psinfo): Define.
Richard Earnshaw [Fri, 9 Sep 2005 13:12:21 +0000 (13:12 +0000)]
* readelf.c (get_arm_section_type_name): Add SHT_ARM_PREEMPTMAP and
SHT_ARM_ATTRIBUTES.
Richard Earnshaw [Fri, 9 Sep 2005 13:10:01 +0000 (13:10 +0000)]
* elf32-arm.c (elf32_arm_section_from_shdr): Accept SHT_ARM_PREEMPTMAP
and SHT_ARM_ATTRIBUTES.