Commit Graph

51290 Commits

Author SHA1 Message Date
Alan Modra 56bf9f5b93 daily update 2006-05-08 00:00:05 +00:00
gdbadmin 1c58b8a886 *** empty log message *** 2006-05-08 00:00:03 +00:00
Alan Modra 32638454a7 * write.c (relax_segment): Add pass count arg. Don't error on
negative org/space on first two passes.
	(relax_seg_info): New struct.
	(relax_seg, write_object_file): Adjust.
	* write.h (relax_segment): Update prototype.
2006-05-07 23:03:48 +00:00
Mark Kettenis 692b141ccb * gdb.base/help.exp: Make "delete checkpoint" part option for
"help d" and "help delete" tests.
2006-05-07 20:50:35 +00:00
Alan Modra e37497a172 daily update 2006-05-07 00:00:06 +00:00
gdbadmin febfe8dfee *** empty log message *** 2006-05-07 00:00:02 +00:00
David S. Miller 55e969c159 * linux-nat.c (linux_nat_do_thread_registers): Check for
NULL collect_regset method.
2006-05-06 23:55:36 +00:00
Ulrich Weigand 540b8a309d * gdb.mi/mi-basics.exp: Add missing serial number to
expected output in some mi_gdb_test statements.
	* gdb.mi/mi2-basics.exp: Likewise.
2006-05-06 20:39:15 +00:00
Ulrich Weigand 92f38ec2e1 * s390-tdep.c (s390_collect_regset): New function.
(s390_gregset, s390x_gregset, s390_fpregset): Add it.
2006-05-06 01:12:11 +00:00
Nick Roberts 875dc2fc84 Make LOC_OPTIMIZED_OUT the default value for a symbol. 2006-05-06 00:14:03 +00:00
Nick Roberts 6fed56b401 *** empty log message *** 2006-05-06 00:13:08 +00:00
Alan Modra ed9ec0fa6a daily update 2006-05-06 00:00:08 +00:00
gdbadmin ec82b8b29c *** empty log message *** 2006-05-06 00:00:06 +00:00
Ulrich Weigand 6fc191037f * linux-nat.c (exit_lwp): Fix NULL pointer access.
(linux_nat_handle_extended): New parameter STOPPING.
	(wait_lwp): Call it with STOPPING equals 1.
	(linux_nat_wait): Call it with STOPPING equals 0.
2006-05-05 23:48:28 +00:00
Ulrich Weigand d539ed7ecd * linux-nat.c (linux_nat_wait): Do not short-cut reporting
of 'uninteresting' signals when single-stepping.
2006-05-05 23:46:58 +00:00
David S. Miller c324242868 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
will get printed without a mi_cmd_data_list_register_values prefix.
	(*-data-list-register-*): Correct regular expressions to expect the new
	pseudo d? floating point registers.
	* gdb.mi/mi2-regs.exp: Likewise.
2006-05-05 23:34:40 +00:00
Daniel Jacobowitz 49101e1c1a * MAINTAINERS: Move NEWS to the documentation entry. 2006-05-05 23:20:04 +00:00
Joel Brobecker 9b6462d950 * gdb.base/del.c: New file.
* gdb.base/del.exp: New testcase.
2006-05-05 22:49:39 +00:00
Jim Blandy aa56d27abe gdb/doc/ChangeLog:
2006-05-05  Jim Blandy  <jimb@codesourcery.com>

	* gdb.texinfo (General Query Packets): Document conventions for
	terminating packet names, and their violations.
2006-05-05 22:48:14 +00:00
David S. Miller 1303f75ea1 * gdb.base/savedregs.exp: Do not require that the dummy
frame location match up to a symbol and source file location.
2006-05-05 22:48:10 +00:00
David S. Miller 954de43bb9 * gdb.base/break.exp: Do not assume a breakpoint on
main will actually be in $srcfile when optimizing.
2006-05-05 22:45:35 +00:00
David S. Miller bcc98f888e * linux-thread-db.c (thread_db_store_registers): Use
regcache_raw_collect.
2006-05-05 22:42:43 +00:00
David S. Miller 4f844a660e * linux-nat.c (linux_nat_do_thread_registers): Use the
regset_from_core_section infrastructure if the target
	supports it.
	* Makefile.in: Update dependencies.
2006-05-05 22:39:12 +00:00
Paul Gilliam 411cb3f932 2006-05-05: Paul Gilliam <pgilliam@us.ibm.com>
* ppc-linux-nat.c: Clean up types for ptrace.
        Replace (CORE_ADDR) with  (uintptr_t) to avoid the size difference
        between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
2006-05-05 20:45:03 +00:00
Daniel Jacobowitz 597320e75b * remote.c (remote_disconnect): Add TARGET argument.
* target.c (debug_to_disconnect): Delete.
	(update_current_target): Do not inherit to_disconnect.
	(target_disconnect): Search for a target to implement to_disconnect.
	(setup_target_debug): Do not reference to_disconnect.
	* target.h (struct target_ops): Add target argument to
	to_disconnect.
2006-05-05 20:08:45 +00:00
Julian Brown 1f3c39b9e6 * arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx as
vldm/vstm.
2006-05-05 18:56:01 +00:00
Julian Brown b7fc276944 * config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
checking.
	(do_neon_mov): Enable several VMOV variants for VFP. Add suitable
	architecture version checks.
	(insns): Allow overlapping instructions to be used in VFP mode.
2006-05-05 18:54:44 +00:00
Julian Brown 55a9ea5780 * gas/arm/vfp-neon-overlap.s: New test. Overlapping VFP/Neon
instructions.
	* gas/arm/vfp-neon-overlap.d: Expected output of above.
	* gas/arm/vfp1xD.d: Test for fldmx/fstmx.
	* gas/arm/vfp1xD_t2.d: Likewise.
	* gas/arm/vfpv3-32drs.d: Likewise.
2006-05-05 18:53:09 +00:00
Daniel Jacobowitz 5bdf862214 Readline 5.1 import for HEAD. 2006-05-05 18:26:14 +00:00
H.J. Lu 7f8411279d 2006-05-05 H.J. Lu <hongjiu.lu@intel.com>
PR gas/2598
	* config/obj-elf.c (obj_elf_change_section): Allow user
	specified SHF_ALPHA_GPREL.
2006-05-05 18:24:45 +00:00
Daniel Jacobowitz c7e64c9a76 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
* gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
	is allocated by the compiler.
	* gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
	anons, e, anone to force their allocation by the compiler.
2006-05-05 18:04:09 +00:00
Fred Fish 401835eb9c Approved by Daniel Jacobowitz <drow@false.org>
2006-05-06  Fred Fish  <fnf@specifix.com>
	* mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
	structs or unions independent of ABI register size.
2006-05-05 18:04:04 +00:00
Fred Fish 7a076fd259 2006-05-06 Fred Fish <fnf@specifix.com>
* mips-tdep.c (mips_o64_return_value): Replace stub that always
	returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
2006-05-05 17:50:33 +00:00
Nick Clifton 731608473a * gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups for PMEM
related expressions.
* bfd/elf32-avr.c (elf32_avr_relax_delete_bytes): Iterate over all of the
    bfd's sections for the reloc-addend adjustments.
2006-05-05 17:46:47 +00:00
Daniel Jacobowitz 605a56cbd3 * gdb.texinfo (Remote Configuration): Remove "set remotedebug"
and "show remotedebug".
	(Debugging Output): Add additional index entries.
2006-05-05 17:29:38 +00:00
Andreas Schwab 4b164edfca sim/:
* configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
	* configure: Regenerate.

	* Makefile.in (CFLAGS_FOR_BUILD): Define.
	(CC_FOR_BUILD): Don't override.
	(FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD.

sim/ppc/:
	* configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
	* configure: Regenerate.

	* Makefile.in (CFLAGS_FOR_BUILD): Define.
	(BUILD_CFLAGS): Use it instead of hardcoding "-g -O".
	(gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS.
2006-05-05 17:11:19 +00:00
Nick Clifton 56487c5507 PR gas/2582
* dwarf2dbg.c (INSERT_DIR_SEPARATOR): New macro.  Handles the insertion of a
  directory separator character into a string at a given offset.  Uses
  heuristics to decide when to use a backslash character rather than a
  forward-slash character.
  (dwarf2_directive_loc): Use the macro.
  (out_debug_info): Likewise.
2006-05-05 16:55:28 +00:00
Thiemo Seufer ef75f0145e * gas/mips/noreorder.s, gas/mips/noreorder.d: New test for
reorder/noreorder corner case.
	* gas/mips/mips.exp: Run new test.
-------------------------------------------------------------------
2006-05-05 16:38:09 +00:00
Daniel Jacobowitz eec017952a * mi/mi-main.c (captured_mi_execute_command): Check the return
value of -interpreter-exec.
2006-05-05 15:50:20 +00:00
Daniel Jacobowitz 79c214e04d * gdb.base/help.exp: Update expected text for help d and
help delete.
2006-05-05 15:45:09 +00:00
Thiemo Seufer d43b4baf07 [ gas/ChangeLog ]
* config/tc-mips.c (macro_build): Add case 'k' to handle cache
	instruction.
	(macro): Add new case M_CACHE_AB.

	[ opcodes/ChangeLog ]
	* mips-opc.c: Add macro for cache instruction.

	[ include/opcode/ChangeLog ]
	* mips.h (enum): Add macro M_CACHE_AB.
2006-05-05 15:41:23 +00:00
Martin Schwidefsky 77df29685b * elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
(elf_s390_relocate_section): Add code to do the GD->LE and
	LD->LE TLS linker optimizations if a brasl instruction is used
	for the __tls_get_offset function call.
	* elf64-s390.c (invalid_tls_insn): Call bfd_set_error.
2006-05-05 13:21:34 +00:00
Alan Modra d1b46e8025 * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization.
* ld-powerpc/tlsexetoc.g: Likewise.
2006-05-05 13:08:49 +00:00
Alan Modra 30038c5930 * elf64-ppc.c (ppc64_elf_tls_optimize): Only optimize
R_PPC64_TPREL64 and R_PPC64_DTPMOD64 relocs when they are in
	the .toc and referenced by a TLS code sequence.
	(ppc64_elf_edit_toc): Cater for the unlikely situation that
	.toc is the first section in a file.
2006-05-05 13:07:30 +00:00
Alan Modra 2a60a7a82c * ld.texinfo: Document PowerPC and PowerPC64 options.
* gen-doc.texi: Enable.
2006-05-05 00:51:37 +00:00
gdbadmin f4cd22bf31 *** empty log message *** 2006-05-05 00:00:32 +00:00
Alan Modra 55b5551850 daily update 2006-05-05 00:00:05 +00:00
Andreas Schwab ff8b75c71e * aoutf1.h (struct external_sparc_core): Declare c_regs as struct
regs instead of an array of int.
	(struct external_solaris_bcp_core): Likewise.
	(swapcore_sun3): Use offsetof instead of computing the offset
	manually.
	(swapcore_sparc): Likewise.  Simplify reference to c_regs.
	(swapcore_solaris_bcp): Likewise.
2006-05-04 21:25:52 +00:00
Daniel Jacobowitz 003b8e1dad * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
for missing GOTs.
2006-05-04 19:03:24 +00:00
Daniel Jacobowitz efacb0fb73 * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
mapping symbols.
2006-05-04 18:15:21 +00:00