Commit Graph

19484 Commits

Author SHA1 Message Date
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
gdbadmin 7e1dd15ac7 *** empty log message *** 2006-03-06 00:00:07 +00:00
gdbadmin 3c568553f1 *** empty log message *** 2006-03-05 00:00:02 +00:00
gdbadmin e818de9df3 *** empty log message *** 2006-03-04 00:00:34 +00:00
Andrew Cagney b67fd56fca Index: ChangeLog
2006-03-03  Khem Raj <khem@mvista.com>

	* remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
	Committed by Andrew Cagney.
2006-03-03 23:08:12 +00:00
Daniel Jacobowitz b92a518e73 * remote-utils.c (prepare_resume_reply): Move declaration
of gdb_id_from_wait to the top of the block.
2006-03-03 14:48:55 +00:00
gdbadmin 67e054eddf *** empty log message *** 2006-03-03 00:00:03 +00:00
Corinna Vinschen a64ae7e064 * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
address to MDR register.
2006-03-02 09:31:23 +00:00
gdbadmin e87ba8d006 *** empty log message *** 2006-03-02 00:00:07 +00:00
Daniel Jacobowitz 9733fc9442 gdb/
* gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
	calls.
gdb/testsuite/
	* gdb.cp/inherit.exp (test_print_mi_member_types): New function.
	(do_tests): Call it.
2006-03-01 19:34:46 +00:00
Randolph Chung 4897bfb966 2006-03-01 Randolph Chung <tausq@debian.org>
* somread.c (som_symfile_read): Update comment and remove unneeded
	use of a deprecated variable.
2006-03-01 05:47:46 +00:00
Randolph Chung 6fcecea011 2006-03-01 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (unwind_table_entry): Update field names to match HP
	runtime specification.
	* hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
	(unwind_command): Likewise.
2006-03-01 05:43:03 +00:00
Randolph Chung 46acf08120 2006-03-01 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
	Pseudo_SP_Set in unwind record.
2006-03-01 05:22:38 +00:00
Randolph Chung 477e69e8fd 2006-03-01 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
	TDEP->is_elf to determine if we are working with a SOM binary.
	(null_symtab_and_line): Remove unused variable.
	* config/pa/hppa64.mt: Use tm-hppa.h.
	* config/pa/tm-hppa64.h: Remove file.
2006-03-01 05:19:13 +00:00
Wu Zhou 848359aced * f-typeprint.c (f_type_print_base): Delete the redundant space. 2006-03-01 01:37:26 +00:00
gdbadmin a2f1638d0b *** empty log message *** 2006-03-01 00:01:04 +00:00
Kevin Buettner f9ec92b6cb Add am33 linux signal frame support. 2006-02-28 22:38:04 +00:00
Kevin Buettner e92e42f575 * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
out of pattern match by saving relevant state.  Fix stack size
	adjustment bug.
2006-02-28 22:28:21 +00:00
Alexandre Oliva cc10cae34a gdb/ChangeLog:
* solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
l_ld_size fields.
* solib-svr4.c (struct lm_info): Add l_addr field.
(LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
(HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_DYNAMIC_FROM_LINK_MAP): New.
(LM_ADDR_CHECK): New.  Use it instead of LM_ADDR.
(svr4_current_sos): Initialize l_addr.  Adjust.
(svr4_relocate_section_addresses): Adjust.
(svr4_ilp32_fetch_link_map_offsets): Define new members.
(svr4_lp64_fetch_link_map_offsets): Likewise.
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
(mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
* Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
gdb/testsuite/ChangeLog:
* gdb.base/prelink.exp: New test.
* gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
2006-02-28 04:29:10 +00:00
gdbadmin 1ae97d1e61 *** empty log message *** 2006-02-28 00:00:05 +00:00
David S. Miller 691342f948 2006-02-26 David S. Miller <davem@sunset.davemloft.net>
* config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
	* config/sparc/linux64.mt (TDEPFILES): Likewise.
2006-02-27 06:14:51 +00:00
gdbadmin e99103b542 *** empty log message *** 2006-02-27 00:00:03 +00:00