Commit Graph

50908 Commits

Author SHA1 Message Date
DJ Delorie a481dbb719 * configure.in (m32c): Build libstdc++-v3. Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.
2006-04-19 00:57:59 +00:00
gdbadmin 9e5249ce6b *** empty log message *** 2006-04-19 00:00:34 +00:00
Alan Modra 55c44d8afd daily update 2006-04-19 00:00:05 +00:00
Daniel Jacobowitz 8181d85fdc gdb/
* breakpoint.c (deprecated_read_memory_nobpt): Update to use
	shadow_len.
	(insert_bp_location, reattach_breakpoints, remove_breakpoint)
	(delete_breakpoint): Update calls to changed methods.
	(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
	(single_step_breakpoints, insert_single_step_breakpoint)
	(remove_single_step_breakpoints): New.
	* breakpoint.h (struct bp_target_info): New.
	(struct bp_location): Replace shadow_contents with
	target_info and overlay_target_info.
	(deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
	(insert_single_step_breakpoint, remove_single_step_breakpoints): New
	prototypes.
	* gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
	(memory_insert_breakpoint, memory_remove_breakpoint): Update second
	argument.
	* mem-break.c (default_memory_insert_breakpoint): Update.  Set
	placed_address, placed_size, and shadow_len.
	(default_memory_remove_breakpoint): Update.  Don't use
	BREAKPOINT_FROM_PC.
	(memory_insert_breakpoint, memory_remove_breakpoint): Update.
	* target.c (update_current_target): Update prototypes for changed
	functions.
	(debug_to_insert_breakpoint, debug_to_remove_breakpoint)
	(debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
	Update.
	* target.h: Forward declare struct bp_target_info.
	(struct target_ops): Use a bp_target_info argument for
	to_insert_breakpoint, to_remove_breakpoint,
	to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
	(target_insert_breakpoint, target_remove_breakpoint)
	(target_insert_hw_breakpoint, target_remove_hw_breakpoint)
	(memory_insert_breakpoint, memory_remove_breakpoint)
	(default_memory_insert_breakpoint, default_memory_remove_breakpoint):
	Update.
	* config/i386/nm-i386.h: Forward declare struct bp_target_info.
	(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
	(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.

	* gdbarch.c, gdbarch.h: Regenerated.

	* alpha-tdep.c (alpha_software_single_step): Use
	insert_single_step_breakpoint and remove_single_step_breakpoints.
	Remove unused statics.
	* arm-tdep.c (arm_software_single_step): Likewise.  Add a note.
	* cris-tdep.c (cris_software_single_step): Likewise.
	* mips-tdep.c (mips_software_single_step): Likewise.
	* rs6000-tdep.c (rs6000_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* wince.c (struct thread_info_struct): Remove step_prev.
	(undoSStep): Use remove_single_step_breakpoints.
	(wince_software_single_step): Use insert_single_step_breakpoint.

	* corelow.c (ignore): Remove unneeded prototype.  Update arguments.
	* exec.c (ignore): Likewise.
	* sol-thread.c (ignore): Likewise.

	* procfs.c (dbx_link_shadow_contents): Delete.
	(dbx_link_bpt): New.
	(procfs_mourn_inferior): Remove it if necessary.
	(remove_dbx_link_breakpoint): Use it.
	(insert_dbx_link_bpt_in_file): Set it.
	(procfs_init_inferior): Don't update dbx_link_bpt_addr.
	* rs6000-nat.c (exec_one_dummy_insn): Use
	deprecated_insert_raw_breakpoint and
	deprecated_remove_raw_breakpoint.
	* solib-irix.c (shadow_contents, breakpoint_addr): Delete.
	(base_breakpoint): New.
	(disable_break): Use it.
	(enable_break): Set it.

	* i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
	Update.
	* ia64-tdep.c (ia64_memory_insert_breakpoint)
	(ia64_memory_remove_breakpoint): Likewise.
	* m32r-tdep.c (m32r_memory_insert_breakpoint)
	(m32r_memory_remove_breakpoint): Likewise.
	* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
	Likewise.  Remove unnecessary prototypes.  Use placed_address
	and placed_size.  Removed useless read from memory.
	* nto-procfs.c (procfs_insert_breakpoint)
	(procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
	(procfs_remove_hw_breakpoint): Update.
	* ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
	* ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
	* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
	* ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
	* remote-e7000.c (e7000_insert_breakpoint)
	(e7000_remove_breakpoint): Likewise.
	* remote-m32r-sdi.c (m32r_insert_breakpoint)
	(m32r_remove_breakpoint): Likewise.
	* remote-mips.c (mips_insert_breakpoint)
	(mips_remove_breakpoint): Likewise.
	* remote-rdp.c (remote_rdp_insert_breakpoint)
	(remote_rdp_remove_breakpoint): Likewise.
	(rdp_step): Use deprecated_insert_raw_breakpoint and
	deprecated_remove_raw_breakpoint.
	* remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
	Update.
	* remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
	Delete.
	(init_gdbsim_ops): Use memory_insert_breakpoint and
	memory_remove_breakpoint.
	* remote-st.c (st2000_insert_breakpoint)
	(st2000_remove_breakpoint): Update.  Remove unused
	BREAKPOINT_FROM_PC.
	* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
	Update.  Use placed_address and placed_size.
	(remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
gdb/doc/
	* gdbint.texinfo (x86 Watchpoints, Target Conditionals): Update insert
	and remove breakpoint prototypes.
	(Watchpoints): Move description of target_insert_hw_breakpoint and
	target_remove_hw_breakpoint ...
	(Breakpoints): ... to here.  Document target_insert_breakpoint and
	target_remove_breakpoint.
2006-04-18 19:20:08 +00:00
H.J. Lu bb8f592040 gas/
2006-04-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR gas/2533
	* config/tc-i386.c (i386_immediate): Check illegal immediate
	register operand.

gas/testsuite/

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

	PR gas/2533
	* gas/i386/inval.s: Add test for illegal immediate register
	operand.
	* gas/i386/inval.l: Updated.
2006-04-18 17:52:37 +00:00
Alan Modra 64e7447423 * config/tc-i386.c: Formatting.
(output_disp, output_imm): ISO C90 params.
2006-04-18 10:11:09 +00:00
Alan Modra 6cbe03fb0f * frags.c (frag_offset_fixed_p): Constify args.
* frags.h (frag_offset_fixed_p): Ditto.
2006-04-18 09:58:26 +00:00
Alan Modra 23d9d9dee5 * config/tc-dlx.h (tc_coff_symbol_emit_hook): Delete.
(COFF_MAGIC): Delete.
2006-04-18 09:55:27 +00:00
Alan Modra a37d486e3a * config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete. 2006-04-18 09:50:08 +00:00
Nick Clifton 0b49d37123 PR 2257
* elfcode.h (elf_object_p): Allow files with corrupt e_shstrndx fields to
  still be handled as ELF files.
* readelf.c (SECTION_NAME): Cope with a missing string table.
  (process_file_header): Cope with a corrupt e_shstrndx field.
  (process_section_headers): Correctly handle an e_shstrndx value of SHF_UNDEF.
2006-04-18 09:41:36 +00:00
Nick Clifton 0275de4ee1 * dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement. 2006-04-18 09:19:28 +00:00
Nick Clifton 9517c9780f ooops - omitted from previous delta 2006-04-18 09:16:01 +00:00
Nick Clifton 95bd752a6c * interp.c (sim_stop_reason): Fix typo. 2006-04-18 09:15:29 +00:00
Jim Blandy 4f553f885c gdb/doc/ChangeLog:
2006-04-17  Jim Blandy  <jimb@codesourcery.com>

	* gdb.texinfo (Packets): Note that 'addr' arguments to s, S, c,
	and C packets are optional.
2006-04-18 00:17:55 +00:00
Alan Modra 4e85ecd0ba daily update 2006-04-18 00:00:05 +00:00
gdbadmin 7570ed394f *** empty log message *** 2006-04-18 00:00:02 +00:00
Alan Modra fc3e04e18e daily update 2006-04-17 00:00:07 +00:00
gdbadmin b667d15886 *** empty log message *** 2006-04-17 00:00:05 +00:00
Daniel Jacobowitz e740356690 Update POTFILES.in. 2006-04-16 18:25:11 +00:00
Daniel Jacobowitz b030a24e67 * config.in: Regenerated. 2006-04-16 18:20:09 +00:00
Mark Mitchell 58ab4f3d64 * doc/as.texinfo: Mention that some .type syntaxes are not
supported on all architectures.
2006-04-16 18:15:55 +00:00
Daniel Jacobowitz ffdc4eeddf * configure.in: Update version to 2.17.50.
* configure: Regenerated.
2006-04-16 18:01:02 +00:00
Nick Clifton 10d1573802 Skip ELF specific tests on non-ELF ARM targets 2006-04-16 11:53:00 +00:00
Alan Modra 7e59fed008 daily update 2006-04-16 00:00:05 +00:00
gdbadmin 53c9efcc53 *** empty log message *** 2006-04-16 00:00:02 +00:00
Bob Wilson 482fd9f9bf * config/tc-xtensa.c (emit_single_op): Do not relax MOVI
instructions when such transformations have been disabled.
2006-04-15 00:04:15 +00:00
gdbadmin 4c1dce79e2 *** empty log message *** 2006-04-15 00:00:08 +00:00
Alan Modra d029a1ec36 daily update 2006-04-15 00:00:07 +00:00
Bob Wilson cb33714832 * elf32-xtensa.c (build_reloc_opcodes): New.
(compute_text_actions): Use it to decode opcodes outside inner loop.
	(check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
	it is set, use it to get the opcodes for relocations.
	(move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
2006-04-14 23:01:19 +00:00
Bob Wilson a255b6c7b0 * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
function to strip inconsistent linkonce sections.
	(input_section_linked_worker, input_section_linked): New.
	(is_inconsistent_linkonce_section): New.
	(xtensa_strip_inconsistent_linkonce_sections): New.
2006-04-14 21:31:16 +00:00
Frederic Riss cd852561d0 2006-04-14 Frederic Riss <frederic.riss@st.com>
* gdb.texinfo (Specifying source directories): Update the description
	of the source file search to reflect the fact that the source path
	always contains at least $cdir and $cwd.
2006-04-14 18:31:32 +00:00
gdbadmin 530392d34b *** empty log message *** 2006-04-14 00:00:33 +00:00
Alan Modra b24464c4e7 daily update 2006-04-14 00:00:06 +00:00
Alan Modra 44870d14a2 daily update 2006-04-13 00:00:06 +00:00
gdbadmin fa3358a462 *** empty log message *** 2006-04-13 00:00:03 +00:00
DJ Delorie 3db2e6ddf6 merge from gcc 2006-04-12 18:42:01 +00:00
Daniel Jacobowitz 01d3a6ce13 * remote.c (extended_remote_restart): Pass the correct length
to getpkt.
2006-04-12 14:27:40 +00:00
Nick Clifton 52f16a0ef4 PR binutils/2454
* avr-dis.c (avr_operand): Arrange for a comment to appear before the symolic
form of an address, so that the output of objdump -d can be reassembled.
2006-04-12 13:09:10 +00:00
Nick Clifton 4332c151d4 oops - omitted from commit of typo fix 2006-04-12 13:06:17 +00:00
Nick Clifton 2ae86dfcdb Fix typo 2006-04-12 13:05:36 +00:00
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