Commit Graph

21770 Commits

Author SHA1 Message Date
gdbadmin e4342ca3b8 *** empty log message *** 2007-11-02 00:00:03 +00:00
Daniel Jacobowitz 51c2684ec1 * linux-low.c (linux_tracefork_grandchild): New.
(linux_tracefork_child): Use clone.
	(linux_test_for_tracefork): Use clone; allocate and free a stack.
2007-11-01 19:19:39 +00:00
Jan Kratochvil ec33ab7fc4 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files. 2007-11-01 17:34:57 +00:00
gdbadmin 823963270f *** empty log message *** 2007-11-01 00:00:03 +00:00
Ulrich Weigand 82233d87ed * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to
find_solib_trampoline_target if PC is not in .plt section.
2007-10-31 23:45:10 +00:00
Joel Brobecker 75f831630e * Makefile.in: Use $(SHELL) instead of "sh" to call regdat.sh. 2007-10-31 21:39:14 +00:00
Ulrich Weigand 02c75f7232 * elfread.c (elf_symtab_read): When constructing a solib trampoline
minimal symbol from an undefined dynamic symbol, use proper section.
2007-10-31 19:09:14 +00:00
Ulrich Weigand 0879078470 2007-10-31 Markus Deuling <deuling@de.ibm.com>
* arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch
	to get at the current architecture by regcache.
2007-10-31 14:15:49 +00:00
gdbadmin 081a0cdd45 *** empty log message *** 2007-10-31 00:00:03 +00:00
Ulrich Weigand ae0d01ff0c * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
provide DFP support.
2007-10-30 22:29:06 +00:00
Ulrich Weigand 8cff2ae624 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* libunwind-frame.c (libunwind_frame_sniffer)
	libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer)
	(libunwind_frame_cache): Use get_frame_arch to get at the current
	architecture by frame_info.
	(libunwind_get_reg_special): Replace current_gdbarch by gdbarch.
2007-10-30 22:00:29 +00:00
Ulrich Weigand 505bbca2cd 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get
	at the current architecture by frame_info.
2007-10-30 21:59:43 +00:00
Ulrich Weigand b1a653ae15 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* inf-child.c (inf_child_fetch_inferior_registers): Use
	get_regcache_arch to get at the current architecture by regcache.
2007-10-30 21:58:58 +00:00
Ulrich Weigand 3b3b142300 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* inf-ptrace.c (inf_ptrace_fetch_registers)
	(inf_ptrace_fetch_register, inf_ptrace_store_register)
	(inf_ptrace_store_registers): Use get_regcache_arch to get at the
	current architecture by regcache.
2007-10-30 21:58:01 +00:00
Ulrich Weigand 8d90747a2d 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* hpux-thread.c (hpux_thread_fetch_registers)
	(hpux_thread_store_registers): Use get_regcache_arch to get at the
	current architecture by regcache.
2007-10-30 21:57:04 +00:00
Ulrich Weigand 65c5db89dd 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the
	current architecture by frame_info.
2007-10-30 21:56:12 +00:00
Ulrich Weigand 7067c68977 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* go32-nat.c (fetch_register, go32_fetch_registers, store_register)
	(go32_store_registers): Use get_regcache_arch to get at the current
	architecture by regcache.
2007-10-30 21:54:06 +00:00
Ulrich Weigand 8a7e34d89e 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch.
2007-10-30 21:53:18 +00:00
Ulrich Weigand 992166eeb0 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
	to get at the current architecture by frame_info.
2007-10-30 21:52:26 +00:00
Ulrich Weigand bb09620c17 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
2007-10-30 21:51:34 +00:00
Ulrich Weigand 8f4f3fbe31 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* core-regset.c (fetch_core_registers): Use get_regcache_arch to get at
	the current architecture by regcache.
2007-10-30 21:50:46 +00:00
Ulrich Weigand 13b8769fe0 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* corelow.c (get_core_registers): Use get_regcache_arch to get at the
	current architecture by regcache.
2007-10-30 21:46:25 +00:00
Ulrich Weigand 27524c05b8 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* bsd-uthread.c (bsd_uthread_fetch_registers)
	(bsd_uthread_store_registers): Use get_regcache_arch to get at the
	current architecture by regcache.
2007-10-30 21:45:17 +00:00
Ulrich Weigand fbff0d8f0b 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
	get_frame_arch to get at the current architecture by frame_info.
2007-10-30 21:44:20 +00:00
Ulrich Weigand e1e01acdc8 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch.
2007-10-30 21:43:33 +00:00
Ulrich Weigand b2cb219a9d 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
	(store_regs): Use get_regcache_arch to get at the current architecture
	by regcache.
2007-10-30 21:42:22 +00:00
Ulrich Weigand a6f7e8387e 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch
	to get at the current architecture by regcache.
2007-10-30 21:41:21 +00:00
Ulrich Weigand 600d293e5f 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* alphabsd-nat.c (alphabsd_fetch_inferior_registers)
	(alphabsd_store_inferior_registers): Use get_regcache_arch to get at
	the current architecture by regcache.
2007-10-30 21:40:23 +00:00
Ulrich Weigand d4a9a8813d 2007-10-30 Markus Deuling <deuling@de.ibm.com>
* ada-lang.c (ada_language_arch_info): Replace current_gdbarch by
	gdbarch.
2007-10-30 21:39:15 +00:00
Daniel Jacobowitz 55eddb0f7a * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected
soft float and vector ABIs.  Support the generic vector ABI for
	AltiVec types.
	(do_ppc_sysv_return_value): Likewise.  Correct argument types and
	casts.
	(ppc64_sysv_abi_push_dummy_call): Assert that floating point is
	supported.
	* ppc-tdep.h (enum powerpc_vector_abi): New.
	(struct gdbarch_tdep): Add soft_float and vector_abi.
	* rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist)
	(powerpc_soft_float_global, powerpc_vector_strings)
	(powerpc_vector_abi_global, powerpc_vector_abi_string): New.
	(rs6000_gdbarch_init): Check for soft-float and vector ABI markings.
	(set_powerpc_command, show_powerpc_command, powerpc_set_soft_float)
	(powerpc_set_vector_abi): New.
	(_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc"
	commands.
	* Makefile.in (elf_ppc_h): New.
	(rs6000-tdep.o): Update.

	* gdb.texinfo (PowerPC): Document "set powerpc vector-abi" and "set
	powerpc soft-float".

	* gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
	Test "set powerpc vector-abi".  Skip auto-detection tests for old
	toolchains.
2007-10-30 19:35:35 +00:00
Pedro Alves 7020f05c27 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
with [string compare].
2007-10-30 19:23:18 +00:00
Pedro Alves 84bc3db95d * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
* gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
2007-10-30 19:16:44 +00:00
gdbadmin 87aa5fb9f3 *** empty log message *** 2007-10-30 00:00:33 +00:00
Carlos Eduardo Seo 06caf7d297 * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected
swapped offsets and VRSAVE offset.
	(ppc64_linux_reg_offsets): Corrected swapped offsets.
	(ppc32_linux_vrregset): Added.
	(ppc_linux_regset_from_core_section): Added support for
	.reg-ppc-vmx section.
	* ppc-tdep.h (ppc_altivec_support_p): Declare.
	(ppc_supply_vrregset): Declare.
	(ppc_collect_vrregset): Declare.
	* rs6000-tdep.c (ppc_altivec_support_p): Added.
	(ppc_supply_vrregset): Added.
	(ppc_collect_vrregset): Added.
	* corelow.c (get_core_registers): Added support for
	.reg-ppc-vmx section.
2007-10-29 20:26:42 +00:00
gdbadmin 72774a8439 GDB 6.7.1 released. 2007-10-29 19:15:27 +00:00
gdbadmin d62aa352e7 *** empty log message *** 2007-10-29 00:00:03 +00:00
gdbadmin be55061650 *** empty log message *** 2007-10-28 00:00:33 +00:00
Jim Blandy bfe10c0fae * ax-gdb.h (expr_to_address_and_size): Delete declaration for
deleted function.
2007-10-27 01:31:46 +00:00
Jim Blandy e3dd034fca * tracepoint.c (tracepoint_operation): Report the deletion event
after we have unlinked the tracepoint from the list, and use the
proper tracepoint number.
2007-10-27 00:34:48 +00:00
gdbadmin 4af13c269b *** empty log message *** 2007-10-27 00:00:34 +00:00
Jim Blandy 624d6fb77c * ax-gdb.c (expr_to_agent): Delete unused function.
(expr_to_address_and_size): Delete #if 0'd function.
* ax-gdb.h (expr_to_agent): Delete declaration.
2007-10-26 23:42:28 +00:00
Jim Blandy 74b35824fc * ax-gdb.c (gen_cast): Remove redundant assignment to
value->type.  Doc fix.
2007-10-26 23:07:26 +00:00
Jim Blandy 648027cceb * ax-general.c (gen_traced_pop, gen_int_literal)
(gen_usual_arithmetic): Check for typedefs.
2007-10-26 23:04:57 +00:00
Joel Brobecker df2a60d01d * parse.c (prefixify_expression): Minor reformatting. 2007-10-26 22:13:41 +00:00
gdbadmin 765f54e9fd *** empty log message *** 2007-10-26 00:00:34 +00:00
Daniel Jacobowitz d76526c6e1 * version.in: Use dot instead of dash. 2007-10-25 22:37:20 +00:00
Daniel Jacobowitz 8f13689556 * linux-thread-db.c (check_for_thread_db): Only print if info_verbose. 2007-10-25 22:09:34 +00:00
Pedro Alves f6071bfaa3 * memory-map.c (parse_memory_map): Don't use an empty struct
initializer.
2007-10-25 21:43:42 +00:00
Pedro Alves 7e2dbecf8f * signals/signals.c (signals): Update pointer to enum
target_signal declaration.
2007-10-25 21:16:57 +00:00
Carlos Eduardo Seo 68511cecac * dwarf2read.c (read_partial_die): check the value
of DW_AT_calling_convention in Fortran programs.
2007-10-25 20:54:27 +00:00