Commit Graph

19505 Commits

Author SHA1 Message Date
Daniel Jacobowitz 791b663bea * linux-fork.c: Include "gdb_assert.h".
(fork_load_infrun_state): Set inferior_ptid and stop_pc here.
	Update the register cache and selected frame also.
	(linux_fork_mourn_inferior): Use fork_load_infrun_state.  Return
	to single fork mode if necessary.
	(linux_fork_context): Remove bits handled by fork_load_infrun_state.
	* Makefile.in (linux_fork_h): New.
	(linux-fork.o, linux-nat.o): Update.
2006-03-24 22:44:05 +00:00
gdbadmin fc0197af26 *** empty log message *** 2006-03-24 00:00:04 +00:00
Andreas Schwab d311d956ed * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o. 2006-03-23 14:05:29 +00:00
gdbadmin c5f44798e0 *** empty log message *** 2006-03-23 00:00:32 +00:00
gdbadmin a21e750c3e *** empty log message *** 2006-03-22 00:00:33 +00:00
gdbadmin eb43171d33 *** empty log message *** 2006-03-21 00:00:32 +00:00
gdbadmin 9a6da65a56 *** empty log message *** 2006-03-20 00:00:32 +00:00
gdbadmin ca66765425 *** empty log message *** 2006-03-19 00:00:02 +00:00
Jim Blandy a849c9ab4f 2006-03-18 Jim Blandy <jimb@codesourcery.com>
* symtab.h (enum address_class): Doc fix.
2006-03-18 18:40:04 +00:00
gdbadmin bfdaf66cf9 *** empty log message *** 2006-03-18 00:00:03 +00:00
Michael Snyder 712e30207d 2006-03-16 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (tracepoint_save_command): Fix typo in error msg.
2006-03-17 00:38:19 +00:00
Michael Snyder 88c231eb7f 2006-03-16 Michael Snyder <msnyder@redhat.com>
* target.c (push_target): Fix typo in comment.
2006-03-17 00:30:34 +00:00
Michael Snyder 94e0856891 2006-03-16 Michael Snyder <msnyder@redhat.com>
* remote.c (remote_watch_data_address): Fix typo in comment.
2006-03-17 00:25:45 +00:00
Michael Snyder cf913f371e 2006-03-16 Michael Snyder <msnyder@redhat.com>
* i386-tdep.c (i386_push_dummy_call): Fix typo in comment.
2006-03-17 00:14:24 +00:00
gdbadmin 036952e068 *** empty log message *** 2006-03-17 00:00:32 +00:00
gdbadmin d4bb535096 *** empty log message *** 2006-03-16 00:00:33 +00:00
Kevin Buettner 7c699b8111 Add FR-V Linux core file support. 2006-03-15 23:38:09 +00:00
Daniel Jacobowitz 6367c6b161 Second typo fix. 2006-03-15 22:44:21 +00:00
Daniel Jacobowitz 0a407ead93 Typo fix. 2006-03-15 22:43:31 +00:00
Daniel Jacobowitz d37eb719b8 * Makefile.in (mips_linux_tdep_h): New.
(mpis-linux-nat.o, mips-linux-tdep.o): Update.
	* mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
	<sys/ptrace.h>.
	(have_ptrace_regsets, super_fetch_registers, super_store_registers)
	(mips64_linux_regsets_fetch_registers)
	(mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
	(mips64_linux_store_registers): New.
	(_initialize_mips_linux_nat): Override to_fetch_registers and
	to_store_registers.
	* mips-linux-tdep.h: New file.
	* mips-linux-tdep.c: Include "mips-linux-tdep.c".
	(ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
	(elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
	(FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
	(EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
	(MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
	(mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
	(MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
	(MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
	(MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
	(MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
	(MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
	(supply_32bit_reg): Use gdb_byte.
	(supply_64bit_reg): New.
	(mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
	(mips_fill_fpregset, fetch_core_registers, supply_gregset)
	(fill_gregset, supply_fpregset): Update for renamed types.
	(mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
	(mips64_fill_gregset): Make global.  Handle 32-bit register
	sizes.
	(mips64_fill_fpregset): Make global.  Use gdb_byte.  Handle
	FP regsets properly.
2006-03-15 17:13:36 +00:00
Daniel Jacobowitz 9f62d0e212 * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
(mips_fill_gregset): Renamed from fill_gregset.
	(mips_supply_fpregset): Renamed from supply_fpregset.
	(mips_fill_fpregset): Renamed from fill_fpregset.
	(fetch_core_registers): Update calls.
	(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
	functions.
2006-03-15 17:12:24 +00:00
Daniel Jacobowitz 26c53e508c * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64. 2006-03-15 16:59:54 +00:00
Daniel Jacobowitz 5b65210297 * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
Correct arithmetic for 64-bit CORE_ADDR.
2006-03-15 16:55:05 +00:00
Daniel Jacobowitz d05f682671 * mips-linux-tdep.c: Include "floatformat.h".
(mips_linux_init_abi): Use 128-bit long double for N32 and N64.
	(mips_n32n64_return_value): Support 128-bit long double.
	(print_gp_register_row): Don't print spaces before ignored
	or floating point registers.
2006-03-15 16:37:52 +00:00
Daniel Jacobowitz 3e5af19ed9 * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
for code addresses.
	(non_heuristic_proc_desc): Likewise.
2006-03-15 16:29:08 +00:00
Daniel Jacobowitz 21b0f40c16 * linux-mips-low.c: Include <sys/ptrace.h> and "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
	(ps_get_thread_area): New function.
	* Makefile.in (linux-i386-low.o, linux-mips-low.o)
	(linux-x86-64-low.o): Update.
2006-03-15 16:26:02 +00:00
Daniel Jacobowitz 0050a760a7 * configure.ac: Remove checks for prfpregset_t.
* gdb_proc_service.h: New file.
	* linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the
	new "gdb_proc_service.h".
	* proc-service.c: Likewise.
	(ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t.
	(ps_lgetfpregs, ps_lsetfpregs): Use a void* argument.
	* Makefile.in (gdb_proc_service_h): Updated.
	* configure, config.in: Regenerated.
2006-03-15 16:13:29 +00:00
Daniel Jacobowitz dc60ece87d * mips-linux-nat.c: Include "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
	(ps_get_thread_area): New.
	* Makefile.in (mips-linux-nat.o): Update.
2006-03-15 16:08:24 +00:00
gdbadmin e3464671e9 *** empty log message *** 2006-03-15 00:00:04 +00:00
Jim Blandy 2f83030ff5 2006-03-13 Jim Blandy <jimb@codesourcery.com>
* MAINTAINERS: Use my work address.
2006-03-14 06:16:13 +00:00
gdbadmin 501f44f76d *** empty log message *** 2006-03-14 00:00:35 +00:00
gdbadmin 9282a62962 *** empty log message *** 2006-03-13 00:00:04 +00:00
gdbadmin 8fe6d4e1cb *** empty log message *** 2006-03-12 00:00:32 +00:00
gdbadmin b48d36ea3f *** empty log message *** 2006-03-11 00:00:03 +00:00
Michael Snyder 56aac7e845 2006-03-09 Michael Snyder <msnyder@redhat.com>
* linux-nat.c (kill_inferior): Just call target_mourn_inferior
	instead of getting tricky for the multi-fork case.
	* linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
	for each fork, and then use init_fork_list to delete them.
2006-03-10 20:15:42 +00:00
Joel Brobecker a987790595 * MAINTAINERS (Patch Champions): Remove self. 2006-03-10 02:05:51 +00:00
gdbadmin 2326b8c6fd *** empty log message *** 2006-03-10 00:00:33 +00:00
Jim Blandy 66b8c7f657 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Document 'target remote pipe'.
2006-03-09 21:44:27 +00:00
Jim Blandy 1a10341b71 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Target Commands): Update text describing how to
	specify a target.  Refer to the detailed section on remote
	debugging, not the brief mention.
2006-03-09 21:42:31 +00:00
Jim Blandy 86941c2759 2006-03-07 Jim Blandy <jimb@red-bean.com>
* gdb.texinfo (Connecting): Organize the different 'target remote'
	connection methods into a table.  Add a 'target remote' index
	entry. (!!!)
2006-03-09 17:59:12 +00:00
Alexandre Oliva 831004b79b gdb/ChangeLog:
* solib-svr4.c (svr4_current_sos): Move up initialization of
l_addr, such that it clearly covers all cases.
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: Anchor tested-for regular expression
on gdb prompt.
2006-03-09 00:22:09 +00:00
gdbadmin d61ed39eac *** empty log message *** 2006-03-09 00:00:05 +00:00
Andreas Schwab f1b4b38ecb * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt uses of
libunwind_frame_prev_register to use a gdb_byte buffer and
	extract_unsigned_integer.
	(ia64_libunwind_sigtramp_frame_prev_register): Likewise.

	* libunwind-frame.c (libunwind_frame_prev_register): Change type
	of last argument to `gdb_byte *'
	* libunwind-frame.h: Adjust declaration.
2006-03-08 15:28:17 +00:00
Paul Brook f53f0d0bde 2006-03-08 Paul Brook <paul@codesourcery.com>
* arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
	(arm_frame_align): New function.
	(arm_gdbarch_init): Use it.
2006-03-08 14:22:47 +00:00
gdbadmin b5678df9a4 *** empty log message *** 2006-03-08 00:00:03 +00:00
Paul Brook effe49a0c7 2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.base/assign.exp: Correct fail message.
2006-03-07 21:40:50 +00:00
Paul Brook e546101697 2006-03-07 Paul Brook <paul@codesourcery.com>
* lib/compiler.c: Extract armcc version number.
	* lib/compiler.cc: Ditto.
2006-03-07 18:51:56 +00:00
Paul Brook fc91c6c2b9 2006-03-07 Paul Brook <paul@codesourcery.com>
* gdb.arch/altivec-abi.exp: Use nowarnings instead of
	additional_flags=-w.
	* gdb.arch/altivec-regs.exp: Ditto.
	* gdb.arch/e500-abi.exp: Ditto.
	* gdb.arch/e500-regs.exp: Ditto.
	* gdb.base/all-bin.exp: Ditto.
	* gdb.base/annota1.exp: Ditto.
	* gdb.base/annota3.exp: Ditto.
	* gdb.base/args.exp: Ditto.
	* gdb.base/arithmet.exp: Ditto.
	* gdb.base/assign.exp: Ditto.
	* gdb.base/async.exp: Ditto.
	* gdb.base/bang.exp: Ditto.
	* gdb.base/break.exp: Ditto.
	* gdb.base/call-rt-st.exp: Ditto.
	* gdb.base/completion.exp: Ditto.
	* gdb.base/cond-expr.exp: Ditto.
	* gdb.base/condbreak.exp: Ditto.
	* gdb.base/consecutive.exp: Ditto.
	* gdb.base/define.exp: Ditto.
	* gdb.base/display.exp: Ditto.
	* gdb.base/ena-dis-br.exp: Ditto.
	* gdb.base/environ.exp: Ditto.
	* gdb.base/eval-skip.exp: Ditto.
	* gdb.base/info-proc.exp: Ditto.
	* gdb.base/jump.exp: Ditto.
	* gdb.base/logical.exp: Ditto.
	* gdb.base/long_long.exp: Ditto.
	* gdb.base/maint.exp: Ditto.
	* gdb.base/miscexprs.exp: Ditto.
	* gdb.base/pc-fp.exp: Ditto.
	* gdb.base/pointers.exp: Ditto.
	* gdb.base/relational.exp: Ditto.
	* gdb.base/reread.exp: Ditto.
	* gdb.base/sect-cmd.exp: Ditto.
	* gdb.base/sep.exp: Ditto.
	* gdb.base/sepdebug.exp: Ditto.
	* gdb.base/until.exp: Ditto.
	* gdb.base/whatis-exp.exp: Ditto.
	* gdb.cp/annota2.exp: Ditto.
	* gdb.cp/annota3.exp: Ditto.
	* gdb.trace/actions.exp: Ditto.
	* gdb.trace/backtrace.exp: Ditto.
	* gdb.trace/circ.exp: Ditto.
	* gdb.trace/collection.exp: Ditto.
	* gdb.trace/deltrace.exp: Ditto.
	* gdb.trace/infotrace.exp: Ditto.
	* gdb.trace/limits.exp: Ditto.
	* gdb.trace/packetlen.exp: Ditto.
	* gdb.trace/passc-dyn.exp: Ditto.
	* gdb.trace/passcount.exp: Ditto.
	* gdb.trace/report.exp: Ditto.
	* gdb.trace/save-trace.exp: Ditto.
	* gdb.trace/tfind.exp: Ditto.
	* gdb.trace/tracecmd.exp: Ditto.
	* gdb.trace/while-dyn.exp: Ditto.
	* gdb.trace/while-stepping.exp: Ditto.
	* lib/gdb.exp: Ditto.
	(gdb_compile): Handle nowarning option.
2006-03-07 15:23:33 +00:00
Alexandre Oliva 5f4a23d95c * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
* gdb.base/prelink.exp: Likewise.  Add -q to prelink runs.
Rename executable to prelinkt.  Don't re-prelink if we didn't
get a core file.  Test prelink -u exit status to tell whether
prelinking failed.  Use gdb_test_multiple.
2006-03-07 05:05:29 +00:00
gdbadmin fa88fa5210 *** empty log message *** 2006-03-07 00:00:02 +00:00