Commit Graph

19628 Commits

Author SHA1 Message Date
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
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
gdbadmin f4cd22bf31 *** empty log message *** 2006-05-05 00:00:32 +00:00
gdbadmin 7985b92717 *** empty log message *** 2006-05-04 00:00:04 +00:00
Jim Blandy 14b3d9c967 gdb/ChangeLog:
2006-05-03  Vladimir Prus  <ghost@cs.msu.su>

       * varobj.c (c_value_of_variable): Ignore top-level references.
       (Committed by Jim Blandy.)
2006-05-03 22:59:38 +00:00
gdbadmin cb85daf5e3 *** empty log message *** 2006-05-03 00:00:02 +00:00
gdbadmin 201a26f845 *** empty log message *** 2006-05-02 00:00:36 +00:00
Mark Kettenis 27ce9a6de2 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
NetBSD/ELF targets.
2006-05-01 22:21:35 +00:00
Mark Kettenis 8608915fb1 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
single-step breakpoint fails; make this a KFAIL on
sparc*-*-openbsd*.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp (advance, advancei): Likewise.
2006-05-01 16:39:36 +00:00
Mark Kettenis 1893a4c08f * breakpoint.c (insert_single_step_breakpoint): Make a failure to
insert a single-step breakpoint an error instead of a warning.
* breakpoint.c (remove_single_step_breakpoints): Bail out early if
no breakpoints are inserted.
2006-05-01 16:38:08 +00:00
Nathan J. Williams 21f79b33e5 2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
* ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
        arguments from void * to gdb_byte *.
2006-05-01 15:10:26 +00:00
gdbadmin ad43f87a7e *** empty log message *** 2006-05-01 00:00:35 +00:00
gdbadmin 7483dff83b *** empty log message *** 2006-04-30 00:00:02 +00:00
gdbadmin a2a8ff2ba0 *** empty log message *** 2006-04-29 00:00:35 +00:00
gdbadmin 50e4ef01df *** empty log message *** 2006-04-28 00:00:33 +00:00
Michael Snyder b8db102de3 2006-04-26 Michael Snyder <msnyder@redhat.com>
* linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
	command to "delete fork" (no hyphen), compatible with other
	"delete" commands.
	(info_forks_command): Accept a fork ID argument, for info
	on a single fork.  Report if no matching forks.

2006-04-26  Michael Snyder  <msnyder@redhat.com>

	* gdb.base/multi-forks.exp: Modify patterns for "run to exit",
	which may have to consume output from other forks.
	Add tests to make sure that "delete fork" succeeded.

2006-04-27  Michael Snyder  <msnyder@redhat.com>

	* gdb.texinfo (delete-fork): Command renamed to "delete fork".
2006-04-27 23:03:42 +00:00
gdbadmin c43d0edc54 *** empty log message *** 2006-04-27 00:00:36 +00:00
Michael Snyder cfde0993eb 2006-04-20 Michael Snyder <msnyder@redhat.com>
* remote.c: Fix spelling error in comment.
2006-04-26 18:45:32 +00:00
gdbadmin a903b014ab *** empty log message *** 2006-04-26 00:00:04 +00:00
Mark Kettenis bc0c849e87 From Masaki MURANAKA <monaka@monami-software.com>:
* mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
type of last argument to `gdb_byte *'
2006-04-25 18:58:09 +00:00
Jim Blandy 5f1fb6dcb3 2006-04-11 Jim Blandy <jimb@codesourcery.com>
Add support for 'target remote |' on MinGW.
	* ser-mingw.c (struct pipe_state): New structure.
	(make_pipe_state, free_pipe_state, cleanup_pipe_state)
	(pipe_windows_open, pipe_windows_close, pipe_windows_read)
	(pipe_windows_write, pipe_wait_handle): New functions.
	(_initialize_ser_windows): Register a "pipe" interface based on
	them.
2006-04-25 18:02:13 +00:00
Michael Snyder e61e6fd132 Remove spurious entry 2006-04-25 00:18:25 +00:00
gdbadmin c9c3374ac3 *** empty log message *** 2006-04-25 00:00:03 +00:00
Michael Snyder 0271fba4a3 forgotten changelog entry 2006-04-24 22:39:03 +00:00
Daniel Jacobowitz c3e2b812d0 * ser-mingw.c: Include <conio.h>.
(struct ser_console_state, struct net_windows_state): Add exit_select,
	have_stopped, thread.
	(pipe_select_thread, console_select_thread)
	(net_windows_select_thread): Don't create a local state copy or
	close stop_select.  Exit on exit_select instead of stop_select.  Set
	have_stopped.
	(console_select_thread): Don't report control keypresses as pending
	input.
	(pipe_select_thread): Allow stop_select to interrupt sleeping.
	(set_console_wait_handle): Create exit_select and have_stopped.
	Save the thread handle.  Check _kbhit before starting a thread.
	(ser_console_done_wait_handle): New.
	(ser_console_close): Close new handles.  Wait for the thread to
	exit.
	(new_windows_select_thread): Assert that an event occurred.
	(net_windows_wait_handle): Check for pending input before starting
	a thread.
	(net_windows_done_wait_handle): New.
	(net_windows_open): Create exit_select and have_stopped.
	Save the thread handle.
	(net_windows_close): Close new handles.  Wait for the thread to
	exit.
	(_intiialize_ser_windows): Register done_wait_handle methods.

	* serial.c [USE_WIN32API] (serial_done_wait_handle): New.
	* serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
	[USE_WIN32API] (serial_done_wait_handle): New prototype.
	* mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
2006-04-24 21:00:13 +00:00
gdbadmin 655200ca7d *** empty log message *** 2006-04-24 00:00:03 +00:00
Andreas Schwab b8eb021a30 * rs6000-tdep.c: Include "reggroups.h" only once.
* Makefile.in (rs6000-tdep.o): Update dependencies.
2006-04-23 14:15:01 +00:00
gdbadmin 3f14f3d103 *** empty log message *** 2006-04-23 00:00:02 +00:00
Andrew Cagney c5e30d0156 2006-04-22 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Contributors): Credit frame unwinder contributors.
	* gdbint.texinfo (Algorithms): Fix errors in frame documentation.
2006-04-22 23:12:03 +00:00
gdbadmin 9aa8aaf750 *** empty log message *** 2006-04-22 00:00:33 +00:00
Frederic Riss 4f1520fbca 2006-04-21 Frederic Riss <frederic.riss@st.com>
* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
	compilation directory as last argument.
	Always pass comp_dir as second argument to start_subfile and prepend
	dirname to the filename when necessary.
	Remove now superfluous search for pre-existing subfile.
	(dwarf_decode_lines): Pass the compilation directory to
	dwarf2_start_subfile.
2006-04-21 20:26:07 +00:00
gdbadmin fbd9c86b6b *** empty log message *** 2006-04-21 00:00:33 +00:00
Michael Snyder c702009a72 2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22  Jim Blandy  <jimb@redhat.com>
	Add support for the Renesas M32C and M16C.

	* gdb.asm/asm-source.exp: Add m32c target.
	* gdb.asm/m32c.inc: Support for m32c target.
2006-04-20 23:24:23 +00:00
Michael Snyder 9630918965 2006-04-20 Michael Snyder <msnyder@redhat.com>
* 2006-03-22  Jim Blandy  <jimb@redhat.com>
	Add support for the Renesas M32C and M16C.

	* configure.tgt (m32c-*-*): New entry.
	* config/m32c/m32c.mt: New file.
	* m32c-tdep.c: New file.
	* Makefile.in (elf_m32c_h): New variable.
	(m32c-tdep.o): New rule.
	* NEWS: Mention new target.
	* MAINTAINERS: Designate Jim Blandy as responsible maintainer.
2006-04-20 23:18:48 +00:00
Daniel Jacobowitz cba5fab953 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
Correct type of VALUEP.  Reported by Jean-Rene Peulve
	<jr.peulve@wanadoo.fr>.
2006-04-20 17:29:47 +00:00
gdbadmin 55a9e67fe5 *** empty log message *** 2006-04-20 00:00:03 +00:00
Kazuhiro Inaoka cbba9205ad 2006-04-19 Masaki Muranaka <monaka@monami-software.com>
* m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
        netdb.h, netinet/in.h.
        (m32r_upload_command); Add calls WSAStartup().
        * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
        netinet/in.h.
2006-04-19 06:36:37 +00:00
gdbadmin 9e5249ce6b *** empty log message *** 2006-04-19 00:00:34 +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
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
gdbadmin 7570ed394f *** empty log message *** 2006-04-18 00:00:02 +00:00
gdbadmin b667d15886 *** empty log message *** 2006-04-17 00:00:05 +00:00
gdbadmin 53c9efcc53 *** empty log message *** 2006-04-16 00:00:02 +00:00
gdbadmin 4c1dce79e2 *** empty log message *** 2006-04-15 00:00:08 +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
gdbadmin fa3358a462 *** empty log message *** 2006-04-13 00:00:03 +00:00
Daniel Jacobowitz 01d3a6ce13 * remote.c (extended_remote_restart): Pass the correct length
to getpkt.
2006-04-12 14:27:40 +00:00
gdbadmin b0748bc881 *** empty log message *** 2006-04-12 00:00:03 +00:00