Commit Graph

20715 Commits

Author SHA1 Message Date
gdbadmin 417f79e9ac *** empty log message *** 2007-03-20 00:00:33 +00:00
Kevin Buettner 1c86fa9704 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
Specify frame type in calls to frame_func_unwind().
2007-03-19 19:00:50 +00:00
gdbadmin b0554aa7c0 *** empty log message *** 2007-03-19 00:00:02 +00:00
Vladimir Prus d74fb15679 Correct attribution 2007-03-18 09:14:30 +00:00
gdbadmin a9bc8cb56f *** empty log message *** 2007-03-18 00:00:07 +00:00
gdbadmin bc7c4163e6 *** empty log message *** 2007-03-17 00:00:34 +00:00
Ulrich Weigand bbb88ebfcf * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
messages available to test cases (like chng-sym.exp).
2007-03-16 15:29:00 +00:00
gdbadmin 27c1e22ef1 *** empty log message *** 2007-03-16 00:00:34 +00:00
gdbadmin 4cbdee8aa5 *** empty log message *** 2007-03-15 00:00:05 +00:00
Andreas Schwab cb8c4a990b * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.
2007-03-14 15:15:37 +00:00
gdbadmin 0e0cefcbab *** empty log message *** 2007-03-14 00:00:04 +00:00
Daniel Jacobowitz 4e463ff545 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
(rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
	(refine_prologue_limit): Delete.
	(skip_prologue): Don't call it.  Use extract_unsigned_integer.
	Assume lim_pc is set.  Correct check for incomplete prologues.
	Do not skip clobbers of the frame pointer.
	* symtab.c (skip_prologue_using_sal): Fail if there is only one
	sal.

	* gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
	(optimized_1): New.
	(main): Call optimized_1.
	(gdb2029): Correct typos.  Call gdb2029_marker.
	* gdb.arch/powerpc-prologue.exp: Run new test.  Use a breakpoint
	for gdb2029.
2007-03-13 17:34:23 +00:00
Nathan Froyd 348473d521 * frame.c (frame_pop): Check to see whether there's a frame to
which we can pop first.
2007-03-13 14:05:25 +00:00
Nathan Froyd a2f9cf0ddf * MAINTAINERS (Write After Approval): Add myself. 2007-03-13 14:00:53 +00:00
gdbadmin 28cd3f6e43 *** empty log message *** 2007-03-13 00:00:02 +00:00
Mark Kettenis b6db2c4783 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
as tabs.  Remove redundant test pattern.
2007-03-12 21:58:19 +00:00
gdbadmin 1e4e0aa7a4 *** empty log message *** 2007-03-12 00:00:03 +00:00
gdbadmin a0eb3e7a48 *** empty log message *** 2007-03-11 00:00:02 +00:00
Ulrich Weigand 70ed37372e * gdb.base/long_long.exp: Accept optional symbol name in <...>
for /a format output.
2007-03-10 01:13:43 +00:00
gdbadmin 297f699dd2 *** empty log message *** 2007-03-10 00:00:02 +00:00
Ulrich Weigand 569631c6f2 * infrun.c (breakpoints_failed): Remove unnecessary variable.
(handle_inferior_event): Remove unnecessary braces.
	* breakpoint.c (bpstat_what): Remove wrong comment.
2007-03-09 16:20:42 +00:00
Daniel Jacobowitz 47b67b6080 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
collect output incrementally.
2007-03-09 15:20:16 +00:00
Ulrich Weigand fe5febed21 * spu-tdep.c (spu_in_function_epilogue_p): New function.
(spu_gdbarch_init): Install it.
2007-03-09 03:51:04 +00:00
Ulrich Weigand b8953b0e7e * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
for -var-create lpcharacter test.
	* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-03-09 02:20:04 +00:00
Ulrich Weigand 7acd5c40d2 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
pass on targets where address zero is readable.
2007-03-09 01:14:12 +00:00
Ulrich Weigand 9c6759c1a1 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
just a single architecture.
2007-03-09 00:14:07 +00:00
gdbadmin 9addded633 *** empty log message *** 2007-03-09 00:00:32 +00:00
Ulrich Weigand 9dea8ca21c * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
2007-03-08 23:54:24 +00:00
Ulrich Weigand 7b3dc0b75b * spu-tdep.c (spu_frame_align): New function.
(spu_gdbarch_init): Install it.  Set call dummy location to ON_STACK.
2007-03-08 21:32:22 +00:00
Ulrich Weigand 118dfbaf1f * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
(spu_software_single_step): Likewise.
	(spu_read_pc, spu_write_pc): New functions.
	(spu_gdbarch_init): Install them.
2007-03-08 21:18:01 +00:00
Ulrich Weigand a2f1aeb4a0 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
(fetch_all_registers): New function, uses gdb_test_multiple and
	exp_continue to fetch inferior output line-by-line.
	Replace all uses of do_get_all_registers by fetch_all_registers.
2007-03-08 20:08:02 +00:00
Ulrich Weigand 46579ac2da * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
in target_info.
2007-03-08 17:59:13 +00:00
Ulrich Weigand 29e4017ddc * cli/cli-dump.c (struct callback_data): load_offset needs to
have signed long type.
2007-03-08 16:54:02 +00:00
gdbadmin cb9f45d79f *** empty log message *** 2007-03-08 00:00:05 +00:00
Joel Brobecker 6de5b84957 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
Revert the previous change that had some unexpected side-effects
        on mips32.
        (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
        function to get the address of the calling instruction.
2007-03-07 21:32:47 +00:00
Denis Pilat 7490ba4f78 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
get_selected_frame by deprecated_safe_get_selected_frame.
2007-03-07 10:29:47 +00:00
gdbadmin 5a95d5a969 *** empty log message *** 2007-03-07 00:00:35 +00:00
gdbadmin 5a38199b18 *** empty log message *** 2007-03-06 00:00:32 +00:00
gdbadmin ad8bd7f8c1 *** empty log message *** 2007-03-05 00:00:04 +00:00
gdbadmin 18845502dd *** empty log message *** 2007-03-04 00:00:02 +00:00
gdbadmin f157d00c98 *** empty log message *** 2007-03-03 00:00:38 +00:00
Michael Snyder fc133f2406 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.threads/manythreads.exp: Use $message string for
	consistancy; add a default (timeout) case.
2007-03-02 22:16:06 +00:00
Michael Snyder 7646a51d49 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-02 22:11:15 +00:00
Mark Kettenis 861fb77c13 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
"gdb_string.h".  Don't include "nbsd-tdep.h".
	(SIZEOF_STRUCT_REG): Remove.
	(SHNBSD_SIZEOF_GREGS): New.
	(shnbsd_supply_gregset, shnbsd_collect_gregset)
	(shnbsd_regset_from_core_section): New functions.
	(fetch_core_registers, fetch_elfcore_registers): Remove functions.
	(shnbsd_supply_reg, shnbsd_fill_reg): Simply call
	shnbsd_supply_gregset, shnbsd_collect_gregset.
	(shnbsd_gregset): New variable.
	(shnbsd_init_abi): Set regset_from_core_section.
	(GDB_OSABI_NETBSD_CORE): New define.
	(shnbsd_core_osabi_sniffer): New function.
	(_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
	* Makefile.in (shnbsd-tdep.o): Update dependencies.
	* config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
	nbsd-tdep.o.
	* config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2007-03-02 21:28:18 +00:00
Michael Snyder dcfff61f44 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* Makefile.in: Remove spurious single-quotes from sed command.
2007-03-02 18:42:40 +00:00
gdbadmin ac87cdfeb3 *** empty log message *** 2007-03-02 00:00:02 +00:00
gdbadmin 9c95710e8b *** empty log message *** 2007-03-01 00:00:33 +00:00
Joel Brobecker 787cbe146c * gdbtypes.c (replace_type): Fix typo that caused us to not update
length of the types referenced by the new type CV ring.
2007-02-28 19:42:08 +00:00
Daniel Jacobowitz 35f196d907 * frame.c (frame_pop, frame_observer_target_changed): Call
reinit_frame_cache.
	(flush_cached_frames): Rename to reinit_frame_cache and delete
	old implementation.
	* frame.h (flush_cached_frames): Delete prototype and update comment.

	* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
	reinit_frame_cache instead of flush_cached_frames.  Do not call
	select_frame after reinit_frame_cache.
	* corelow.c (core_open): Likewise.
	* gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
	* infrun.c (prepare_to_proceed, context_switch)
	(handle_inferior_event): Likewise.
	* linux-fork.c (fork_load_infrun_state): Likewise.
	* ocd.c (ocd_start_remote): Likewise.
	* remote-e7000.c (e7000_start_remote): Likewise.
	* remote-mips.c (device): Likewise.
	* thread.c (switch_to_thread): Likewise.
	* tracepoint.c (finish_tfind_command): Likewise.
	* gdbarch.c: Regenerated.
2007-02-28 17:35:01 +00:00
Daniel Jacobowitz 664e3ee9c3 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
func.
	* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-28 17:32:51 +00:00