Commit Graph

19646 Commits

Author SHA1 Message Date
Nick Roberts 6fed56b401 *** empty log message *** 2006-05-06 00:13: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
Daniel Jacobowitz 5bdf862214 Readline 5.1 import for HEAD. 2006-05-05 18:26:14 +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
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