Commit Graph

50868 Commits

Author SHA1 Message Date
Alan Modra ecdc7d9c24 daily update 2006-04-12 00:00:05 +00:00
gdbadmin b0748bc881 *** empty log message *** 2006-04-12 00:00:03 +00:00
Jim Blandy 2821caf119 src/gdb/ChangeLog:
2006-04-11  Jim Blandy  <jimb@codesourcery.com>

	* serial.c (serial_open): Check for special cases at the front of
	the "device" name before scanning for the ':' that would indicate
	an IP-based connection.
2006-04-11 20:33:12 +00:00
Nick Clifton ebe1fac161 * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD and Dragonfly targets.
* configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
* Makefile.am (HFILES): Add elf-hints-local.h.
* elf-hints-local.h: New file.
* Makefile.in: Regenerate.
* configure: Regenerate.
2006-04-11 10:36:26 +00:00
Alan Modra 0f84642536 daily update 2006-04-11 00:00:06 +00:00
gdbadmin 4d8dc229a4 *** empty log message *** 2006-04-11 00:00:02 +00:00
Christopher Faylor 02c5aecd1e * win32-nat.c (open_symbol_file_object): New function.
(in_dynsym_resolve_code): Ditto.
(init_win32_ops): Fill in fields which ought not to be NULL.
2006-04-10 21:43:45 +00:00
DJ Delorie e78efa90d6 * m32c.opc (parse_unsigned_bitbase): Take a new parameter which
decides if this function accepts symbolic constants or not.
(parse_signed_bitbase): Likewise.
(parse_unsigned_bitbase8): Pass the new parameter.
(parse_unsigned_bitbase11): Likewise.
(parse_unsigned_bitbase16): Likewise.
(parse_unsigned_bitbase19): Likewise.
(parse_unsigned_bitbase27): Likewise.
(parse_signed_bitbase8): Likewise.
(parse_signed_bitbase11): Likewise.
(parse_signed_bitbase19): Likewise.
* m32c-asm.c: Regenerate.
2006-04-10 21:19:14 +00:00
H.J. Lu da28e1e1b0 2006-04-10 H.J. Lu <hongjiu.lu@intel.com>
* lib/utils-lib.exp (default_binutils_run): Check exit status.
2006-04-10 19:05:31 +00:00
Bob Wilson 05d5814545 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target
symbols in RELAX[_CHECK]_ALIGN_NEXT_OPCODE frags.
	(xtensa_fix_close_loop_end_frags): Use the recorded values instead of
	decoding the loop instructions.  Remove current_offset variable.
	(xtensa_fix_short_loop_frags): Likewise.
	(min_bytes_to_other_loop_end): Remove current_offset argument.
2006-04-10 19:00:31 +00:00
Christopher Faylor cb832706eb * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything with saved
context if __COPY_CONTEXT_SIZE is not defined.
(handle_output_debug_string): Ditto.
2006-04-10 16:13:01 +00:00
Daniel Jacobowitz 03926e1f63 * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte. 2006-04-10 14:39:24 +00:00
Ben Elliston b893fd29bb * MAINTAINERS (CGEN Maintainers): Remove myself. 2006-04-10 03:59:57 +00:00
Ben Elliston 962c9e742f * contrib: Remove directory. 2006-04-10 00:41:43 +00:00
gdbadmin 29df5343c1 *** empty log message *** 2006-04-10 00:00:32 +00:00
Alan Modra a3abcc0f1a daily update 2006-04-10 00:00:07 +00:00
Arnold Metselaar 9e75b3faad removed z80_optimize_expr; redundant since 2006-04-04 2006-04-09 18:08:08 +00:00
David S. Miller b2a0b9b2f6 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
frame sniffer.
	* sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
	dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
	that the latter can override.
	* Makefile.in (sparc64-linux-tdep.o): Update dependencies.
2006-04-09 08:22:43 +00:00
Ulrich Weigand ee1b3323e6 * s390-tdep.c (struct s390_prologue_data): New field 'stack'.
(s390_store): Call pv_area_store to track stack slots.
	(s390_load): Call pv_area_fetch to track stack slots.
	(s390_check_for_saved): New function.
	(s390_analyze_prologue): Call pv_area_scan.  Allocate and free stack.
2006-04-09 01:21:15 +00:00
Ulrich Weigand 3fc46200b1 * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
* s390-tdep.c: Include "prologue-value.h".
	(struct prologue_value): Remove.
	(pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
	pv_constant_last, pv_add, pv_add_constant, pv_subtract,
	pv_logical_and, pv_is_identical, pv_is_register): Remove.
	(compute_x_addr): Remove, replace by ...
	(s390_addr): ... this new function.
	(struct s390_prologue_data): Use pv_t instead of prologue_value.
	(s390_store, s390_load): Likewise.
	(s390_prologue_frame_unwind_cache): Likewise.
	(s390_analyze_prologue): Likewise.  Also, simplify and combine
	several conditional statements.
2006-04-09 00:26:08 +00:00
Alan Modra 0a8059c6f4 daily update 2006-04-09 00:00:05 +00:00
gdbadmin 2d87175e88 *** empty log message *** 2006-04-09 00:00:02 +00:00
Jim Blandy d750b93998 2006-04-08 Jim Blandy <jimb@codesourcery.com>
* Makefile.in (COMMON_OBS): List prologue-value.o.  (Omitted from
	last patch.)
2006-04-08 23:40:03 +00:00
H.J. Lu cb878726df 2006-04-08 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2513
	* elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
	(GOT_TLS_IE_IE): Likewise.
	(GOT_TLS_IE_GD): Likewise.
	(GOT_TLS_IE_MASK): Likewise.
	(elf_i386_check_relocs): For global symbols, set GOT_TLS_IE_GD
	and GOT_TLS_IE_IE for R_386_TLS_GD and R_386_TLS_IE
	respectively.
	(allocate_dynrelocs): If both GOT_TLS_IE_IE and GOT_TLS_IE_GD
	are set, treat tls_type as GOT_TLS_IE_BOTH.
	(elf_i386_relocate_section): Likewise.
2006-04-08 22:57:22 +00:00
David S. Miller 07c5f590ae * sparc64-linux-tdep.c (sparc64_linux_core_gregset,
sparc64_linux_supply_core_gregset,
	sparc64_linux_collect_core_gregset,
	sparc64_linux_supply_core_fpregset,
	sparc64_linux_collect_core_fpregset): New.
	(sparc64_linux_init_abi): Register them with generic sparc
	core regset infrastructure.
	* sparc32-linux-tdep.c (sparc32_linux_core_gregset,
	sparc32_linux_supply_core_gregset,
	sparc32_linux_collect_core_gregset,
	sparc32_linux_supply_core_fpregset,
	sparc32_linux_collect_core_fpregset): New.
	(sparc32_linux_init_abi): Register them with generic sparc
	core regset infrastructure.
	* Makefile.in: Update dependencies.
2006-04-08 21:15:26 +00:00
David S. Miller 0b4294d3c0 * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
(sparc32_linux_init_abi): Hook it into tdep->step_trap.
	* sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
	(sparc64_linux_init_abi): Hook it into tdep->step_trap.
	* Makefile.in: Update dependencies.
2006-04-08 21:01:36 +00:00
Hans-Peter Nilsson 5cf3f6e292 * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs. 2006-04-08 17:37:56 +00:00
Hans-Peter Nilsson c466736ab1 * sim/cris/hw/rv-n-cris/irq6.ms: New test. 2006-04-08 17:37:23 +00:00
Alan Modra 67ddcca15a daily update 2006-04-08 00:00:06 +00:00
gdbadmin ed7fba2c22 *** empty log message *** 2006-04-08 00:00:03 +00:00
David S. Miller a529be7c5e Fix typo in previous commit. 2006-04-07 23:34:26 +00:00
David S. Miller 9c0dd46b95 * linux-nat.c (linux_nat_thread_alive): Handle targets that
do not implement PTRACE_PEEKUSER.
2006-04-07 21:42:33 +00:00
Daniel Jacobowitz 670aa98f98 * remote.c (remote_wait): Convert warning to error before
parsing corrupt packets.
2006-04-07 16:15:58 +00:00
Nick Clifton d727e8c26e Add support for attiny261, attiny461, attiny861, attiny25, attiny45,
attiny85, attiny24, attiny44, attiny84, at90pwm2, at90pwm3, atmega164,
atmega324, atmega644, atmega329, atmega3290, atmega649, atmega6490,
atmega406, atmega640, atmega1280, atmega1281, at90can32, at90can64,
at90usb646, at90usb647, at90usb1286 and at90usb1287.
Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
2006-04-07 15:18:08 +00:00
Paul Brook d252fddeb1 2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_operands): Set default error message.
2006-04-07 15:11:19 +00:00
Paul Brook ab1eb5fea7 2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
2006-04-07 15:09:40 +00:00
Paul Brook 7ae2971b7a 2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
gas/testsuite/
	* gas/arm/blx-local.d: New test.
	* gas/arm/blx-local.d: New test.
2006-04-07 15:08:04 +00:00
Paul Brook 53365c0d76 2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (THUMB2_LOAD_BIT): Define.
	(move_or_literal_pool): Handle Thumb-2 instructions.
	(do_t_ldst): Call move_or_literal_pool for =N addressing modes.
gas/testsuite/
	* gas/arm/thumb2_pool.d: New test.
	* gas/arm/thumb2_pool.s: New test.
2006-04-07 15:03:45 +00:00
Nick Clifton 235ecfbc5e * elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
(elf64_hppa_grok_psinfo): Likewise.
  (elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
2006-04-07 14:55:29 +00:00
Nick Clifton 7d816a179b Fix typo in documentation of --check-sections. 2006-04-07 14:14:46 +00:00
Andrew Stubbs e28493f226 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
gdb/
	* cli/cli-script.c (struct user_args): Add command field.
	(arg_cleanup): Free command string.
	(setup_user_args): Copy the command line before relying on it.

gdb/testsuite/
	* gdb.base/commands.exp (recursive_source_test): New test.
2006-04-07 13:31:15 +00:00
Kaz Kojima f2e349f91a * ldlang.c (load_symbols): Set as_needed and add_needed according
to the corresponding script's fields while processing it.
2006-04-07 07:03:51 +00:00
Alan Modra 45aa61fe2e PR 2512.
* config/tc-i386.c (match_template): Move 64-bit operand tests
	inside loop.
2006-04-07 06:40:57 +00:00
DJ Delorie 35520cb708 * elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
each plt entry we create.
2006-04-07 01:08:34 +00:00
DJ Delorie 545c9aee9b merge from gcc 2006-04-07 00:01:28 +00:00
Alan Modra 2c231431be daily update 2006-04-07 00:00:06 +00:00
gdbadmin 57fce297b1 *** empty log message *** 2006-04-07 00:00:02 +00:00
Carlos O'Donell 108a6f8eb4 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
	* Makefile.def: Add install-html target.
	* Makefile.in: Regenerate.
	* configure.in: Add --with-datarootdir, --with-docdir,
	and --with-htmldir options.
	* configure: Regenerate.

bfd/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* po/Make-in: Add install-html target.
	* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
	htmldir. Add install-html and install-html-recursive targets.
	* Makefile.in: Regenerate.
	* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
	* configure: Regenerate.

bfd/doc/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.am: Add install-html and install-html-am targets.
	Define datarootdir, docdir and htmldir.
	* Makefile.in: Regenerate.

binutils/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* po/Make-in: Add install-html target.
	* Makefile.am: Add install-html and install-html-recursive targets.
	* Makefile.in: Regenerate.
	* configure.in: AC_SUBST datarootdir, docdir and htmldir.
	* configure: Regenerate.
	* doc/Makefile.am: Add install-html and install-html-am targets.
	* doc/Makefile.in: Regenerate.

etc/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add install-html target. Add htmldir,
	docdir and datarootdir.
	* configure.texi: Document install-html target.
	* configure.in: AC_SUBST datarootdir, docdir, htmldir.
	* configure: Regenerate.

gas/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* po/Make-in: Add install-html target.
	* Makefile.am: Add install-html and install-html-recursive targets.
	* Makefile.in: Regenerate.
	* configure.in: AC_SUBST datarootdir, docdir, htmldir.
	* configure: Regenerate.
	* doc/Makefile.am: Add install-html and install-html-am targets.
	* doc/Makefile.in: Regenerate.

gprof/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* po/Make-in: Add install-html target.
	* Makefile.am: Add install-html, install-html-am and
	install-html-recursive targets.
	* Makefile.in: Regenerate.
	* configure.in: AC_SUBST datarootdir, docdir, htmldir.
	* configure: Regenerate.

intl/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
	Add install-html target.

ld/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.am: Add install-html, install-html-am, and
	install-html-recursive targets.
	* Makefile.in: Regenerate.
	* configure.in: AC_SUBST datarootdir, docdir, htmldir.
	* configure: Regenerate.
	* po/Make-in: Add install-html target.

opcodes/

2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.am: Add install-html target.
	* Makefile.in: Regenerate.
2006-04-06 21:49:35 +00:00
H.J. Lu fbbc375958 bfd/
2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
	with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
	section structure.

include/

2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	* bfdlink.h (bfd_link_info): Replace need_relax_finalize with
	relax_pass.

ld/

2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
	link_info.need_relax_finalize.

	* ldlang.c (relax_sections): New.
	(lang_process): Use. Call relax_sections link_info.relax_pass
	times.

	* ldmain.c (main): Set link_info.relax_pass to 1. Remove
	link_info.need_relax_finalize.
2006-04-06 18:52:46 +00:00
Joel Brobecker 7f198e01c2 * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
of the "delete" command.
2006-04-06 18:33:05 +00:00